[Q] Background process limit setting resets to default after each reboot. - Nexus S Q&A, Help & Troubleshooting

I set the limit to 4 maximum processes but each time I reboot the phone it defaults to the standard value. Is this supposed to happen?

Even i experience this, And even though i set the no of background process to 4, I always find more than four background process running in the background.
Don't think that particular option works.

Are you on a Custom ROM or Stock?

saranyan said:
Even i experience this, And even though i set the no of background process to 4, I always find more than four background process running in the background.
Don't think that particular option works.
Click to expand...
Click to collapse
Those are Services and not processes if you click "Show cached processes" you'll notice that there should be only four .. or none if u select no background apps

irizwan said:
Those are Services and not processes if you click "Show cached processes" you'll notice that there should be only four .. or none if u select no background apps
Click to expand...
Click to collapse
Hmm don't think it works on stock, I have put at most 4 process and yet a lot of the process are still cached.

saranyan said:
Hmm don't think it works on stock, I have put at most 4 process and yet a lot of the process are still cached.
Click to expand...
Click to collapse
Hmm weird i selected no BG processes and didn't had any running :/

zgomot said:
I set the limit to 4 maximum processes but each time I reboot the phone it defaults to the standard value. Is this supposed to happen?
Click to expand...
Click to collapse
I read a lot about this option. It can't be set and keep at 4 upon reebot.

Limit of background processes reverts to "standard" after reboot
dancrow said:
I read a lot about this option. It can't be set and keep at 4 upon reebot.
Click to expand...
Click to collapse
Since when was "it can't be done" a satisfactory answer for the Android development community. Has anyone found a way to keep it limited after reboot?

So, after 2 years, there is still not an answer to this query?

GJT-UK said:
So, after 2 years, there is still not an answer to this query?
Click to expand...
Click to collapse
nope, it's been 7 more.

My God why does that reser!?

Related

Screen mode set to default after reboot

Hi, after reboot my screen works in default standard mode while I always have it set to different mode. What system app or process s responsible for keep screen on manually set mode? I confess that I turn off some system apps and processes but not one after another but periodically in groups.
I don't wanna see answers like "why did you do that?" because I wanted to on purpose, but serious answers about app or process.
blackfire74 said:
Hi, after reboot my screen works in default standard mode while I always have it set to different mode. What system app or process s responsible for keep screen on manually set mode? I confess that I turn off some system apps and processes but not one after another but periodically in groups.
I don't wanna see answers like "why did you do that?" because I wanted to on purpose, but serious answers about app or process.
Click to expand...
Click to collapse
We can't help you if you don't tell us what you disable.If these app you disable a critical for the UI then maybe thats your problem
I just wrote it is the problem. If I knew what cause this problem there will be no question.
blackfire74 said:
I just wrote it is the problem. If I knew what cause this problem there will be no question.
Click to expand...
Click to collapse
i mean tell as all the apps you have disable your self so we can fingure out what happen
stefanosapostolopoulos said:
i mean tell as all the apps you have disable your self so we can fingure out what happen
Click to expand...
Click to collapse
I disabled too many of them to write them all and also turned off some processes. This is why I asked, maybe someone know exactly which process or app is responsible for storing info about screen mode and restore it after reboot?

Background Services being killed in EMUI 5.0

I know this is a common problem, but there are so many discussions about different bugs and builds and so much misinformation, i had to start a new discussion. I'm using EMUI 5.0 Android 7.0 b389.
EMUI kills power consuming background apps by default after about 10 minutes. Doesnt matter if the screen is locked or not.
The setting 'Close excessively power-intensive apps' does nothing, it makes absolutely no difference. 'Power-intensive app history' and 'History of closed apps' are empty. But when I use the tool 'Battery -> Optimize' it still shows: 'x power consuming background apps closed', and the services gets killed. I suspect EMUI performs this optimization by default from time to time.
Could somebody with a similar behaviour try the Optimze feature and see, if you can replicate the results? I've tried every possible setting and by now I'm pretty sure, this is a bug.
Second question: Who solved a similar problem by rooting the device and either:
a) Putting the service (for me it is Whatsapp) in the system app folder
b) Disabling the Phone Manager. Here im wondering, if there are negative consequences doing this. Like settings disappearing (e.g in the Battery menu) or faulty RAM management or whatever.
Nobody has Problems with notifications or background processes anymore on EMUI 5.0? A response if everything works fine, like Whatsapp notifications, would be great too. Maybe I have a faulty device.
badabumbum said:
Nobody has Problems with notifications or background processes anymore on EMUI 5.0? A response if everything works fine, like Whatsapp notifications, would be great too. Maybe I have a faulty device.
Click to expand...
Click to collapse
I don't have any issue with WhatsApp at all or any notifications for that matter. Did u turn on lockscreen cleanup? Also it WhatsApp restored from a backup?
Sent from my Honor 8 using XDA Labs
ayush rao said:
I don't have any issue with WhatsApp at all or any notifications for that matter. Did u turn on lockscreen cleanup? Also it WhatsApp restored from a backup?
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
It's turned off, but the app is killed even when the screen stays on, so thats not the problem. Whatsapp is installed fresh. I even did a factory reset and just installed Whatsapp, but the problem remains.
Would you mind trying something for me, to go under:
settings -> battery -> optimize
And see if it says something like "1 power consuming background app closed.
If it doesnt say that, then you should see a green checkmark.
Also is your whatsapp power consumption high? Mine is at 28 mAh right now for the last hour, and EMUI seems to decide, thats too much.
badabumbum said:
It's turned off, but the app is killed even when the screen stays on, so thats not the problem. Whatsapp is installed fresh. I even did a factory reset and just installed Whatsapp, but the problem remains.
Would you mind trying something for me, to go under:
settings -> battery -> optimize
And see if it says something like "1 power consuming background app closed.
If it doesnt say that, then you should see a green checkmark.
Also is your whatsapp power consumption high? Mine is at 28 mAh right now for the last hour, and EMUI seems to decide, thats too much.
Click to expand...
Click to collapse
I'm not sure what u meant by optimize but the second I hit it, it killed all the apps on my phone including my services like LastPass and my live wallpaper.
Also I've added my WhatsApp consumption below. Doesn't seem like a lot to me.
Sent from my Honor 8 using XDA Labs
ayush rao said:
I'm not sure what u meant by optimize but the second I hit it, it killed all the apps on my phone including my services like LastPass and my live wallpaper.
Also I've added my WhatsApp consumption below. Doesn't seem like a lot to me.
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
Thanks for trying that. That means, your phone has also recognized these background apps as power-consuming. But the difference ist, thats what happens to my phone every 10 minutes. Maybe my device is faulty for real.
Ive tried every possible setting, factory resets and new installations. Ive even disabled Power Genie and Phone Manager over adb. Nothing works. Man, this just sucks.
badabumbum said:
Thanks for trying that. That means, your phone has also recognized these background apps as power-consuming. But the difference ist, thats what happens to my phone every 10 minutes. Maybe my device is faulty for real.
Ive tried every possible setting, factory resets and new installations. Ive even disabled Power Genie and Phone Manager over adb. Nothing works. Man, this just sucks.
Click to expand...
Click to collapse
So I was just snooping around the settings and I found that I have exempted WhatsApp from battery optimizations.....
Sent from my Honor 8 using XDA Labs
ayush rao said:
So I was just snooping around the settings and I found that I have exempted WhatsApp from battery optimizations.....
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
Yeah me too, but it did not help. I think this setting is about the doze feature from android. So strange that nobody else seems to have that problem since Android 7.
I had this problem, do you find the way to fix this?
I had this problem, do you find the way to fix this?
jackfan1111 said:
I had this problem, do you find the way to fix this?
Click to expand...
Click to collapse
Have you tried updating your phone to the latest fw? I don't have any problems atm.
Greenify
Jhayzt said:
Have you tried updating your phone to the latest fw? I don't have any problems atm.
Click to expand...
Click to collapse
yes, my phone is the latest version

Honor 6X automatically killing background services [Rooted]

Hey Guys,
I bought a brand new Honor 6x yesterday and rooted it ( I followed a thread from XDA). Unlocked bootloader, flashed twrp and then installed SuperSU. I want this device to use one and only one app which I have developed. Problem is that, after starting the app, one background service is started, but the Honor 6X is killing them randomly. Very frequent. Even the onDestroy method is not getting called in that scenario.
I know that when we remove the app from task manager, the services gets killed in the Honor 6X, but in my case, I just minimise the app and then also the services gets killed.
Is this something related to rooting? I tried rooting Nexus 5 and in that also, the services gets killed.
Any help will be helpful.
Try to whitelist the apps that you wouldn't want to be closed automatically by this voice in the battery menu
RedSkull23 said:
Try to whitelist the apps that you wouldn't want to be closed automatically by this voice in the battery menu
Click to expand...
Click to collapse
Can you tell me the name of the app? Couldn't find any app as "Batteria" with given screenshot.
driftking9987 said:
Can you tell me the name of the app? Couldn't find any app as "Batteria" with given screenshot.
Click to expand...
Click to collapse
It's not an app man it's EMUI settings menu, battery sub menu. "Batteria" stands for Battery in english. Just browse to settings -> battery and you'll find the same section of my screenshot.
RedSkull23 said:
It's not an app man it's EMUI settings menu, battery sub menu. "Batteria" stands for Battery in english. Just browse to settings -> battery and you'll find the same section of my screenshot.
Click to expand...
Click to collapse
Thanks, got it. Will try and update if it works.
driftking9987 said:
Thanks, got it. Will try and update if it works.
Click to expand...
Click to collapse
Ok let me know if you can solve that.
you can add the app in ignore optimization list also.
Hey. Actually I'm having the same problem.My phone is not rooted.. It kills the music streaming app i use 3 4 seconds after locking the device.. I have c
Kept that app in whitelist too..
Ssudeep123 said:
Hey. Actually I'm having the same problem.My phone is not rooted.. It kills the music streaming app i use 3 4 seconds after locking the device.. I have c
Kept that app in whitelist too..
Click to expand...
Click to collapse
Gaana app, music app all works fine. not sure what is causing this though for you
shashank1320 said:
Gaana app, music app all works fine. not sure what is causing this though for you
Click to expand...
Click to collapse
I use Wynk and it get kills...I've to set screen time to 10 minutes so that I can listen through Wynk
Ssudeep123 said:
I use Wynk and it get kills...I've to set screen time to 10 minutes so that I can listen through Wynk
Click to expand...
Click to collapse
One more user reported this few days back. Not sure what was provided for a fix.
shashank1320 said:
One more user reported this few days back. Not sure what was provided for a fix.
Click to expand...
Click to collapse
Ok No problem btw Thanks. I will try to ask wynk about it
RedSkull23 said:
Ok let me know if you can solve that.
Click to expand...
Click to collapse
No. Sadly it didn't work out as expected. After adding app in that list, now the services are not getting killed but at the same time, the services are not getting called correctly.
Like, I call a particular service every 1 minute, when the screen is turned on, it works perfectly. But as soon as the screen gets off/ or the app is minimized, the service starts randomly. Like sometime it will get fired after 2 min, sometime 4 min and rarely at a mentioned frequency i.e 1 min.
Any idea why this is happening. The frequency in which the service is called is very important for my application.
Thanks.
driftking9987 said:
Any idea why this is happening. The frequency in which the service is called is very important for my application.
Thanks.
Click to expand...
Click to collapse
No other ideas at the moment...
Go to settings>battery, go to settings icon on top right, make sure everything off in there. I only turn on keep mobile data on during sleep (keep whatsapp always online).
Then go to settings>memory & storage>storage cleaner, go to settings icon on top right and turn off auto clean.
Lastly go to settings>apps, choose the apps that u want always active, go to battery, make sure system wake up on, after that go to write system settting, make it yes.
Remember to restart phone after settings applied.
See if it works.
Sent from my Honor 8 Pro using XDA Labs

OxygenOS/Adroid Pie keeps autokilling or refreshing background apps

So ive been having this issue recently where the phone will turn off apps that i want to run in the background and i cant figure out a way to fix it. The biggest issue is with AdGuard. When im using it, the phone will randomly kill the background process and the vpn will turn off allowing all the adds to come pouring in. I've mentioned this issue on the oneplus forums and nobody there seems to know how to fix it. I'm considering moving to a custom rom once i find one that works well with my needs but first i want to make sure this isnt something that i can fix on the stock rom since i dont really need all the custom settings that come with custom roms. Im running the latest stable 9.0 pie/OOS.
Thanks for any help in advance
When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me
did you set it to not optimize in battery settings?
under battery optimization. disable advanced optimization.
MrSteelX said:
under battery optimization. disable advanced optimization.
Click to expand...
Click to collapse
ive disabled all battery optimization options including adaptive battery.
whizeguy said:
did you set it to not optimize in battery settings?
Click to expand...
Click to collapse
yes ive gone into the specific adguard app and disabled battery optimization in that app
noppoer2 said:
When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me
Click to expand...
Click to collapse
Ive enabled the lock and it still clears it and i have to reopen the app and re-enable the lock
Ive also set background process limit to be unlimited in the developer options. I cant think of anything else to do except maybe install adguard as a system app???? I've seen that this problem occured with the OP5 as well and people modified build.prop to increase the process limit, i've since found out that the option thats in the build.prop file is gone in the OP6 so i cant do that either. This is driving me crazy and i dont even know if its related to the os or the kernel.

Alarm App Killed

How do we prevent Samsung from killing alarm clock apps? Mine didn't go off today. I had specifically whitelisted it so that it couldn't be put to sleep. What else should I do? Any ideas? It's really frustrating... Samsung is so aggressive with that sometimes.
PsiPhiDan said:
How do we prevent Samsung from killing alarm clock apps? Mine didn't go off today. I had specifically whitelisted it so that it couldn't be put to sleep. What else should I do? Any ideas? It's really frustrating... Samsung is so aggressive with that sometimes.
Click to expand...
Click to collapse
Uncheck Put unused apps to sleep under Device Care -> Battery -> App power management
ram4ufriends said:
Uncheck Put unused apps to sleep under Device Care -> Battery -> App power management
Click to expand...
Click to collapse
I'll try that. I also FINALLY found a way to choose specific apps to NOT "optimize". It used to be way easier to find. I can't even remember how I found it now, haha. It was buried somewhere.
PsiPhiDan said:
I'll try that. I also FINALLY found a way to choose specific apps to NOT "optimize". It used to be way easier to find. I can't even remember how I found it now, haha. It was buried somewhere.
Click to expand...
Click to collapse
Not optimizing a app still doesn't stop it from being killed..You have select Not sleeping apps or select option to not sleep apps after 3 days of non use
ram4ufriends said:
Not optimizing a app still doesn't stop it from being killed..You have select Not sleeping apps or select option to not sleep apps after 3 days of non use
Click to expand...
Click to collapse
Really? Once I chose to not optimize it, it removed it from the list of apps that I had manually chosen to "never sleep" so I figured it just excluded that possibility entirely. That's... Weird!

Categories

Resources