How to fix apps getting killed by the stock ROM - Honor 7X Questions & Answers

EMUI 8 has a misfeature in which it kills running services when it goes into sleep mode. This is why many apps misbehave under the stock ROM.
You can stop this from occurring by:
Settings / Battery / Launch
You want to turn off "Manage All Automatically". This might entail turning it on and then back off.
Then go into "Manage Batch Manually" and check the three checkboxes at the top of the screen labelled "All".
You can certainly enable this "feature" for some apps if you want the behavior of not having them auto-launched on bootup, not launched by other apps and/or allowing them to run in background, but this should probably be only very sparingly used as the app won't know that you want it to be killed and is likely to misbehave.
This will allow the battery to drain a bit more than it does with the aggressive app killing, so it's a trade-off.
I know of no other manufacturer that does this and I would imagine that Google would frown on what Huawei is doing.
Hope this helps.

Note: New apps added will have to repeat the process. Totally lame!

Related

[GUIDE] Battery Saving Steps/Mods/Roms | 7/6

Battery Save Like RandomKing​
I find myself regularly repeating many of these suggestions on many threads to many different people on how to extend your battery life. When not in use, my phone loses at most only 1-2% battery per hour! So I'm making one thread in the Epic forums dedicated to maximizing battery life while trying to explain why these steps will work. Some battery improvements come at the cost of performance or lack of certain services. This must be distinctly understood, or nothing wonderful can come of these steps.
Step 1: Brightness & Battery​
Let's face it. Our Android phone screens are huge. This feature is the largest, and completely unavoidable battery-drain. The only way to limit it is to not use the screen... ergo... not use your phone. But that clearly makes no sense, so how to limit that drain? Well, a good step is to turn down your screen's brightness to the lowest you can read clearly, don't hurt your eyes! For night-time use, there's an app that can turn the brightness down even lower called Screen Filter(Thanks to iModMM for the find!). Also, choose a nice dark background, something in the black color range. For all phones, the darker the color, the less brightness used, less power consumed! But for our Epic's Super Amoled screen, specifically, a black pixel is technically an "off" pixel. That's right, every black pixel on your screen is a part of your screen not being powered, since the Super Amoled does not need backlighting. Blackle is also a good alternative to the standard Google site for a black themed search engine, though it doesn't seem to be mobile optimized. Also, lock your screen with that nice little button on the top right side of your phone. Don't wait for it to lock itself! As far as the battery itself goes, charging to 100% can be tricky. The moment that led turns blue, your phone has generally reached 100%, but it will generally trickle charge between 97 and 100 after that. A good way to charge to 100 percent is to use an external charger, which generally come with 1 or 2 spare batteries for about $20. This way, the moment your battery dies, shut down, and pop a fresh one in.
Step 2: Using a Custom Rom​
At this point, there are many Epic 4G custom roms out, and if you're in this forum, you've likely rooted or are trying to root. Well I will not go into rooting directions here. Take a look at one and see how it fare's out-of-the-box for you. If you choose to use my customized rom, you will find a task manager with a preset ignore list, ready to use as a one-tap app-closing widget; as well as the service-freezing patch mentioned below in Step 8 ready for execution through a terminal, and my entire setup(among many other mods, apps, and tweaks tested for the greatest battery performance). These are just roms I've used myself to great results. Many others exist. Updated 7/6:
RandomKing's Customized Rom
2.2.1 EC05 v.1 Plus [Journaled w/Genocide 1.0] [Screenshots]
SyndicateFrozen Rom
2.2.1 EC05 v.1.2
Bonsai Rom
2.2.1 EC05 v.4.1.1 Not Supported on XDA. Sorry.
Midnight Rom
2.2.1 EC05 v.5.3
Step 3: Disable Unnecessary Services​
First and foremost, disable all location services, wifi and gps based. This will affect certain apps like weather apps, you'll simply have to deal with static locations. Next, disable data sync. Contacts will not synchronize with Gmail while this is off. You will have to enable it sporadically. The Gmail app also will not function while this is off, I recommend using the email app and simply adjusting the refresh interval. You can always manually check your own email . Likewise, you may put your phone into airplane mode altogether if you don't plan to use it for an extended period of time, such as school, work, swim meet, movies, or on an airplane.
Step 4: Task Killers and JuiceDefender​
First, let's get JuiceDefender out of the way. It's a neat app, and in certain ways, effective. However, it's own effectiveness comes with certain contradictions. It disables nearly all signals, which will include, for example, Google Voice. In my experience, this app hindered certain other services, and if anything may have drawn further on my battery. My recommendation is to stay away from it. Now onto Task Killers, they are good, and they are evil. Let me explain. Many of us may find issues closing all the apps we open, and sometimes forget we left something open. A task killer can easily ensure that you've closed all of your programs. Now onto the bad. Task killers can try to kill certain system services. This is generally BAD. Certain services shouldn't be killed, and others can't be killed, and the ongoing battle only further drains your battery while trying to kill services that AREN'T actually bad. So on that note, the worst part of task killers is AUTO-KILL. Disable it! Kill it! Kill it with FIRE! I use Advanced or Adao Task Killer, with no auto-kill. It is one of the only widgets I use, and I simply tap it before I lock my phone each time.
Step 5: Widgets​
If you don't need them, don't use them. Almost all widgets make continuous unnecessary calls to the Android system, and this can be a huge battery draw. Even simple widgets. Through all my testing, there's only 2 widgets I have approved thus far: Advanced Task Killer, Power Control. Other disapproved widgets: Pandora, Winamp, Weather(ALL OF THEM), etc.
Step 6: SetCpu, Voltage Control, and Over/Underclocking​
As with much of this thread, this is opinionated and empirical theories. Through my testing, Overclocking is unnecessary, and guaranteed to draw on the battery. Most of these roms come from fantastic devs and are, by default, blazingly fast. Overclocking is completely redundant in my opinion, and I'm generally all about speed. Underclocking/undervolting may preserve more battery, but my opinion on the matter is similar to my feeling on widgets. If you don't need it, don't do it. If you feel the need to use these apps, a generally accepted setting for battery preservation is to undervolt to 800 max. and 100 min. (if your phone can handle it, some may experience wake-locks, raise min. to 200) on conservative governor, adjusting your profiles for when the phone is locked, unlocked and etc.
Step 7: Unnecessary Apps​
Free apps are great, aren't they? But how many have you gathered, just because they're free? Now how many of those don't you use, but regularly draw on your phone regardless. There's an easy way to roughly check. Open your settings. Now go to Applications. Manage Applications. Take a look at which are running that you have not opened. Using a task killer prior, and waiting a couple minutes to see what re-opens may be a good way to check which apps are continuously running in the background and evaluate if they can be removed.
Facebook --- Notorious for running in the background. Disabling notifications may help.
Latitude --- Largest offender of location service usage. Neat app. Huge battery hog.
QIK/Fring --- Any video chatter really. If you don't use them, remove or disable them.
Browser --- Large ram usage. Try Dolphin Mini or Miren.​
Step 8: Freeze Services​
Using Titanium Backup Pro, MyBackup Pro, or Bloat Freezer (yes, non-free apps) freeze any of the following services:
sns --- (Will disable sns)
snsaccount --- (Will disable Facebook contact integration)
drm --- (May affect media programs like mediahub)
drmcontent --- (May affect media programs like mediahub)
systemupdater --- (Best disabled if on custom rom)​
Enter the following commands into the Android Terminal to manually freeze the above services:
Code:
su
pm disable com.sec.android.providers.drm
pm disable com.sec.android.app.sns
pm disable com.samsung
Simply enter the previous commands into the Android Terminal while substituting "enable" for "disable" to manually defrost these.
If you would like a shortcut for this method, check out the patch in This Thread Also Included In RandomKing's Rom..​
Step 9: Journaling​
Journaling... some love it, some hate it. The fact remains, journaling enables extra write cycles. While this will prevent data loss, it also means more cpu usage. It follows that battery should last longer with journaling disabled. You can use chris41g's mod HERE to turn Journaling on/off at will.
Step 10: Turn it Off and Spend Time With Loved Ones​
That's right. You're obsessing with your phone. Leave it be. Do something meaningful and memorable. Have fun with life! This is just a phone.
More coming as it comes to me! Including mods, apps, etc. aimed at improving battery life. Feel free to leave your own suggestions or questions! If this guide and it's features have helped you in anyway, leave THANKS so I know whether or not to keep up on it!​
Y is this in q&a?
Sent from my Nexus S 4G using XDA Premium App
Because its an answer to many questions posted here.
-Sent from my Random Epic.
many good suggestions here RandomKing.
this stuff is all so useful to us newer users out here, maybe this should be stickied (either here or in general).
jarcher1971 said:
many good suggestions here RandomKing.
this stuff is all so useful to us newer users out here, maybe this should be stickied (either here or in general).
Click to expand...
Click to collapse
Thanks! I have no control over where this belongs, I just know its an answer to many questions and would be noticed here.
-Sent from my Random Epic.
has anyone noticed an effect on the phone's ability to sleep when you manually reorder the apps alphabetically in the app drawer? I kept having problems and factory reset 2x. Now I did find 3 troublesome apps that although not apparently running in the background, kept my phone from sleeping simply by being installed. I also stopped ordering my apps, deleted the troublesome apps and now it seems my phone is working correctly. I wonder if that (editing the default order) could also prevent the phone from sleeping? Any thoughts?
rando991 said:
has anyone noticed an effect on the phone's ability to sleep when you manually reorder the apps alphabetically in the app drawer? I kept having problems and factory reset 2x. Now I did find 3 troublesome apps that although not apparently running in the background, kept my phone from sleeping simply by being installed. I also stopped ordering my apps, deleted the troublesome apps and now it seems my phone is working correctly. I wonder if that (editing the default order) could also prevent the phone from sleeping? Any thoughts?
Click to expand...
Click to collapse
Can't say I've noticed this, but I've been on launcherpro for quite some time now. Perhaps you could share more details on your setup?
-Sent from my Random Epic.
I'm non rooted stock EC05. I used to use EDIT in the app drawer to rearrange my apps in alphabetical order (they don't arrange themselves automatically this way after rebooting). I had noticed in spare parts that my phone was never sleeping and killing my battery. I did a factory reset and it worked as advertised. I slowly added apps back until I found two that seem to prevent my phone from sleeping so I uninstalled them. Phone worked fine for a while but then started acting up again. I repeated the procedure, leaving only the apps my wife's phone had (hers always sleeps like a baby), but then my phone started up again. Tried another reset but this time decided to leave the apps in the order they put themselves and so far so good...wondering if that was doing something or if it is an app update that goes bonkers?
rando991 said:
I'm non rooted stock EC05. I used to use EDIT in the app drawer to rearrange my apps in alphabetical order (they don't arrange themselves automatically this way after rebooting). I had noticed in spare parts that my phone was never sleeping and killing my battery. I did a factory reset and it worked as advertised. I slowly added apps back until I found two that seem to prevent my phone from sleeping so I uninstalled them. Phone worked fine for a while but then started acting up again. I repeated the procedure, leaving only the apps my wife's phone had (hers always sleeps like a baby), but then my phone started up again. Tried another reset but this time decided to leave the apps in the order they put themselves and so far so good...wondering if that was doing something or if it is an app update that goes bonkers?
Click to expand...
Click to collapse
Hmm. If you can't narrow it down to a certain app, I'm not totally sure what it could be. Have you tried clearing the data/cache of Twlauncher? You could try a launcher like LauncherPro, you don't have to be rooted to use a different one.
No but if the problem comes back up I will try some of those...these are the 3 apps that when loaded caused problems: NIV Bible, Document Scanner, [I now have relacement apps for each of these now] and most recently Espn Score Center, but my wife had all of thse but the doc scanner and had no problems
i would check in spare parts to see which apps may be holding a partial wake lock. for me the facebook app was not letting my phone sleep until i disable all of its notifications.
jarcher1971 said:
i would check in spare parts to see which apps may be holding a partial wake lock. for me the facebook app was not letting my phone sleep until i disable all of its notifications.
Click to expand...
Click to collapse
Likewise. This is why I removed facebook altogether. The new mobile site has proven to be pretty useful now.
-Sent from my Random Epic.
Yeah I found the same thing...but I would log out of Facebook too. Also the problem reappeared after a factory reset and I had not gone into Facebook. Are you saying that even if you don't log in, it can stop your phone from sleeping? My phone started doing it again a few days ago for no apparent reason, and I was able to stop that behavior by: finding and moving 2 apps from the phone to SD card (I thought I had gotten all of them), clearing any cache from different apps, and rebooting.
jarcher1971 said:
i would check in spare parts to see which apps may be holding a partial wake lock. for me the facebook app was not letting my phone sleep until i disable all of its notifications.
Click to expand...
Click to collapse
That wouldn't tell me anything when I had the problem. The only thing was Android System....and....the phone wouldn't sleep even if in airplane mode! Which meant it had to be a process or app doing it all the time. I had never thought to clear cache, but I wonder why doing that works? Also there's a menu option in Spare Parts about Button Behavior which leads you to believe you can make the phone sleep but the menu says "only available in Ver 1.5". I've checked the market and can't find a ver 1.5 Spare Parts...
rando991 said:
That wouldn't tell me anything when I had the problem. The only thing was Android System....and....the phone wouldn't sleep even if in airplane mode! Which meant it had to be a process or app doing it all the time. I had never thought to clear cache, but I wonder why doing that works? Also there's a menu option in Spare Parts about Button Behavior which leads you to believe you can make the phone sleep but the menu says "only available in Ver 1.5". I've checked the market and can't find a ver 1.5 Spare Parts...
Click to expand...
Click to collapse
I believe it means android 1.5, because that says "End Button Behavior", and no new phones have Call and End buttons on them. Because the "Fancy Screen Rotation" says 1.5 only also.
Sent from the only thing i need.
RandomKing said:
Step 6: Unnecessary Apps[/CENTER]
Free apps are great, aren't they? But how many have you gathered, just because they're free? Now how many of those don't you use, but regularly draw on your phone regardless. There's an easy way to roughly check. Open your settings. Now go to Applications. Manage Applications. Take a look at which are running that you have not opened. Using a task killer prior, and waiting a couple minutes to see what re-opens may be a good way to check which apps are continuously running in the background and evaluate if they can be removed.
Click to expand...
Click to collapse
I think you mean "Now go to Applications. Running Services." Going to Manage Applications will show all non-system applications and not tell you what is currently running, AFAICT.
Or am I mistaken?
Thanks for this thread.
prodigyplace said:
I think you mean "Now go to Applications. Running Services." Going to Manage Applications will show all non-system applications and not tell you what is currently running, AFAICT.
Or am I mistaken?
Thanks for this thread.
Click to expand...
Click to collapse
No, there is a "Running" tab inside Manage Applications. An app doesn't have to have a service to be running.
Sent from the only thing i need.
zanderman112 said:
No, there is a "Running" tab inside Manage Applications. An app doesn't have to have a service to be running.
Click to expand...
Click to collapse
Thanks for clarifying, Zanderman. Somehow I never noticed that tab before.
rando991 said:
That wouldn't tell me anything when I had the problem. The only thing was Android System....and....the phone wouldn't sleep even if in airplane mode! Which meant it had to be a process or app doing it all the time. I had never thought to clear cache, but I wonder why doing that works? Also there's a menu option in Spare Parts about Button Behavior which leads you to believe you can make the phone sleep but the menu says "only available in Ver 1.5". I've checked the market and can't find a ver 1.5 Spare Parts...
Click to expand...
Click to collapse
Sounds to me like a system process may be the cause rather than any particular application. For me also I had issues early on with the SNS service forcing itself to restart continually and being a battery drain. It usually takes a force stop on that service followed by clearing data in the sns app and rebooting to fix. Don't know if that will work for you, but hope it helps.
Sent from the communications console of the NX-01 using a universal translator
My tips you can add:
1. I always, no matter what, always have brightness on lowest setting! If you have a hard time seeing in sun, than do auto, but turn off when don't need to, I have on low 24/7. Then at night, I have this app called screen filter which lets you lower brightness then default setting(good on eyes).
2. I always have auto-sync off. If you want emails etc. configure with ur preferences. And most of the time background data. But with background data off, you don't have access to market and have to enable for use. Don't get notifications. Lately, haven't been getting WhatsApp messages. This is optional.
3. In wifi settings, network notification turned off. Haptic feedback and all vibration disabled. Sounds on key clicks or anything disabled. Auto rotate screen off. No window animations. Screen timeout, 15 seconds. Keyboard timeout, 3 seconds. In location, use wireless networks and gps satellites unchecked.
4. No live wallpaper! No bright colors! I use a black background for wallpaper!! Try to go a little dark, not bright, stay away from white! Id recommened, the full black wallpaper. Also on ur homescreen, avoid widgets! Especially ones that use live web feed like, facebook, scorecenter. These are battery suckers!
5. I delete all apps I do not use! Stock and user. Download titanium backup to fix this issue. I freeze, system updates, swype, drm content, drm content launcher, sns, snsaccount. I uninstall the stock browser, use dolphin!! I also uninstall, all sprint bloatware, my files, gmail, email, talk, news and weather. Uninstall all stock and user apps you don't use! Check spare parts to see what runs in the background that you don't use. Another thing to add, I uninstall swype and android keyboard and use better keyboard gingebread edition 8.
6. Disable refresh interval in facebook, do it manually when you are going to use it!
7. Use setcpu. Undervolt to 800max and 100min on conservative governor. Set profiles, when phone is locked and etc.
8. Now lets talk about juicedefender and task killers. Juice defender will work and is a good app! BUT: if ur a person like me, I text a lot in whatsapp and when u lock screen it disables data, so u wont get texts. Download it, take a look at it, try it out. I recommend using agressive mode. Now lets talk about task killers. Personally, I think they dont work at all, and actually waste battery then save it. I just would say don't use one, and use samsungs stock task killer(actually works!)
9. Use a custom rom and kernel. Always be up to date on updates. I usually use, SRF and midNight. All about preference.
10. Extended battery FTW!!! Buy a seidio extened battery! May cost some money, but will greatly increase battery!!! Or get a cheap asian knockoff on ebay.
11. Disable data and put phone into airplane mode when it wont be in use for a period of time. Like at school or work. I usually keep data off during school. You will see a difference with data on and off.
12. Always keep wifi, bluetooth, gps, 4g off when not in use. They will drain battery crazy!!! Wifi will search for networks constantly, same basic thing with gps and bluetooth.
13. Also do full charges!! At night shut off phone and let it charge for a good 8 hours. Then in morning, turn on still plugged in. The charging indicator will be red, leave it alone till its blue. Go get dressed and eat some breakfast lol. Then when you come back it should be blue. And when on boot, let it finish media scanning, don't interrupt it!!
I can guarentee if you follow my tips, you will see a significant increase in battery life!
These are my tips!! I will add more if I can remember some more!
Typed this all on my Epic!!

How to prevent apps from getting killed

Hi all,
I'm running several apps that should run all the time (AdGuard, Network Speed Meter) or for a long time (speed trap warner,...) but OxygenOS kills them after a certain period. Some of them restart automatically, some don't. Of course all of these apps are 'not battery optimized'. Is there any chance to prevent OxygenOS from killing them?
Are there custom ROMs that can overcome this problen?
I'm on the latest OxygenOS Pie Beta, but the behavior was similar on Android O...
Thanks a lot,
W
Did you try locking the app via recents menu?
Thank for the info, didn't know that.
Unfortunately it doesn't help, Adguard and the network monitor don't appear in recents. The speed trap warner automatically starts and stops when I'm in the car, i don't want to open recents manually every time.
Battery - Battery optimisation - Don't optimise
safwankatharudheen said:
Battery - Battery optimisation - Don't optimise
Click to expand...
Click to collapse
This is not changing anything,e ven with disable battery disabled, even with adaptative battery disabled.
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
M3drvr said:
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
Click to expand...
Click to collapse
My app is not killed when i lock it in the switch app menu
There's a whole website regarding that issue on several devices, maybe it helps: dontkillmyapp(dot)com/general#user-solution

The dreaded Samsung "Android System" Battery Drain

Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
louforgiveno said:
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
lbreak said:
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
Click to expand...
Click to collapse
That sucks, could it be due to social media apps syncing constantly? Sorry I'm out of ideas....
Sent from my [device_name] using XDA-Developers Legacy app
Ibreak, maybe the problem is caused by apps sending reports and analytics via google services, samsung related stuff always sends analytics, even if you do not facebook, the damned thing is always lurking and consuming resources, google app and chrome also are resources-hoarders, I use ccswe to disable all useless firebase, crash, analytics, ad listeners, campaign trackers, components and some boot listeners within many apps
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
Enable Developer option
then go Settings» Developer options» running services
Here you should see a bunch of services running. A number of them should fall under Android System, close all related to Android System (it is ok to do so)
Then under Google Play services close all (well two of those services are persistent so they will auto start back in a couple seconds, lockscreeen service and Google location service), nothing you can do about this other than to disable Google play services which would then cause a lot of apps to cry like pandora, samsung internet browser, play store, YouTube etc.
Then go settings» apps» 3 dots at upper-right hand corner» show system apps» android system» battery» disable background activity
On each restart Android system background activity will be automatically enabled so just disable it on each restart.
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, there it should show which app is accessing the memory through it the most. Disable that app or clean its cache/data.
lennie said:
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, a.
Click to expand...
Click to collapse
Thanks lennie,
How do I check this?
lbreak said:
Thanks lennie,
How do I check this?
Click to expand...
Click to collapse
It's in the same place you'd find background activity, but instead of going to battery, go to memory.
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» memory
At the top above average memory usage you should see the app.
I would recommend using a package disabler (ccswe from the play store or package disabler pro from their website)
You can disable a lot of things but DO NOT disable
boot agent (could lock your phone in bootloop)
Android system (could hand your phone on boot up)
One UI (unless you have a different launcher installed and enabled)
IMS is important too
There's one more I can't remember right now, but you get the idea.
If you're not too sure if something can get disabled with no harsh side effects then just post the question
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» mobile data
Shows a list of all the apps that have access to the network through Android system, disable the the ones you're sure you're not using or will use. That should shorten the list of potential battery drainer.
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Be careful with disabling OneUI, because it will also disable the task manager and you'll got a really ugly one instead.
lbreak said:
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Click to expand...
Click to collapse
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
lennie said:
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
Click to expand...
Click to collapse
I only use the fingerprint sensor, but it's still shows (only) Face there. Any idea?
There's really no fix to Android System drain, it's especially worse when you're on mobile data.

Apps won't stay in the background

Hi all,
Just converted from Huawei to this beauty which I already love dearly
Though, having big issues with two apps I really *need* to stay active in the background. Both apps do have the option "Run in background" which are activated. I've also made sure those two apps are not Battery Optimized. I've also made sure they have all needed Access Rights (Camera, Mic, etc etc). Still - when the lid are closed and a while after, the two apps stops receiving notifications. Also, the two apps stop sending information back to the systems telling that I have the apps active and are monitoring/on watch. Opening the lid are enough to wake the apps up enough to receive notifications. I can honestly not use this phone unless I find the cause of this whatever are killing the apps. The notifications are alarms from two different monitoring systems.
Are there any other places/settings I can look to find out why the apps stop responding?
Also, where are now the setting where I can tell that these two apps should autostart on boot?
In advance, thx.
Br,
Stigh
Maybe turning this on would help maintain a stable connection: settings>apps & notifications>Special app access>Unrestricted data
I also have a Huawei, unfortunately the option of AutoStart apps isn't available in this phone as far as I know.
Can I ask if you are also having background 'clicks' from the earpiece when talking on the phone?
My wife is having same issue with her lg stylo 6, I say it's ram issues since she's using 99% ram all the time. Hers will close apps even if recent button was hit and went right back to the same one. If you find a fix lmk, also check ram and usage.
Yoni160 said:
Maybe turning this on would help maintain a stable connection: settings>apps & notifications>Special app access>Unrestricted data
I also have a Huawei, unfortunately the option of AutoStart apps isn't available in this phone as far as I know.
Can I ask if you are also having background 'clicks' from the earpiece when talking on the phone?
Click to expand...
Click to collapse
Hi, thx for the feedback, I will test this setting and see - and report back Though, as it works as long as the phone do not fall into Deep Sleep, how can it be unrestricted data? To me, it seems Android go into some Deep Sleep state some time after you close the phone - I suspect this is a Motorola-thing, not Android 10.
No, I have no 'clicks' in the backround when using phone itsself or BT headset. Have not tested the original cabled earpiece though.

Question Prevent apps from being killed?

Is there a way to prevent an app from ever being killed? I have 2 examples:
1) Fitbit app (background sync service, specifically) - when this stops running, some features on my watch quit working until I launch the app and sync manually.
2) Battery monitor app - I've tried AccuBattery (my preferred app), GSam, and BBS, but they all get killed and restart, and therefore give inaccurate information. BBS doesn't die as often as the others, but I don't like it as well. All 3 have persistent notifications, so I can tell when they last restarted.
I've set Battery Optimization to "Don't Optimize" for all of these. I've tried turning off all 3 of the settings under Advanced Optimization (probably unnecessary, no noticeable difference). I've also Locked each of these from recent apps. Are there any other settings I'm missing that could prevent an app from being killed? Possibly something new to Android 11? Fitbit and AccuBattery worked fine on my previous OP7P with Android 10.
terlynn4 said:
Is there a way to prevent an app from ever being killed? I have 2 examples:
1) Fitbit app (background sync service, specifically) - when this stops running, some features on my watch quit working until I launch the app and sync manually.
2) Battery monitor app - I've tried AccuBattery (my preferred app), GSam, and BBS, but they all get killed and restart, and therefore give inaccurate information. BBS doesn't die as often as the others, but I don't like it as well. All 3 have persistent notifications, so I can tell when they last restarted.
I've set Battery Optimization to "Don't Optimize" for all of these. I've tried turning off all 3 of the settings under Advanced Optimization (probably unnecessary, no noticeable difference). I've also Locked each of these from recent apps. Are there any other settings I'm missing that could prevent an app from being killed? Possibly something new to Android 11? Fitbit and AccuBattery worked fine on my previous OP7P with Android 10.
Click to expand...
Click to collapse
I have try to to go to developer mode and go to standby application. go inside and set the app you want to always on to active and remember still set battery to don't Optimize and locked the app. Do not click the clear all button.
fifasax said:
I have try to to go to developer mode and go to standby application. go inside and set the app you want to always on to active and remember still set battery to don't Optimize and locked the app. Do not click the clear all button.
Click to expand...
Click to collapse
Interesting, I haven't seen that before. Thanks for introducing me to something new. All of the apps in question are currently grayed out and say Exempted, so they shouldn't ever be put into standby.
Disable all power management*, Android does fine without it. Address any remaining power hogs individually on a case by case basis.
Power management will cause erratic behavior and can even increase battery usage even after its lame "adjustment" period.
To check if it is fully disabled go to Developer options>Standby apps, all buckets should show to be in their active state (and can't be manually assigned), if not power management is enabled.
Make sure allow background usage isn't disabled on the apps you want to run.
*yeah turn all those optimizing toggles OFF.
Only fast charging should be toggled on if you use it.
blackhawk said:
Disable all power management*, Android does fine without it. Address any remaining power hogs individually on a case by case basis.
Power management will cause erratic behavior and can even increase battery usage even after its lame "adjustment" period.
To check if it is fully disabled go to Developer options>Standby apps, all buckets should show to be in their active state (and can't be manually assigned), if not power management is enabled.
Make sure allow background usage isn't disabled on the apps you want to run.
*yeah turn all those optimizing toggles OFF.
Only fast charging should be toggled on if you use it.
Click to expand...
Click to collapse
How does one disable all power management? I don't see any sort of global switch for that. Turning it off entirely seems drastic, but I agree that power management is generally more trouble than it's worth.
I did verify that the apps in question are allowed to run in the background and use unlimited data.
terlynn4 said:
How does one disable all power management? I don't see any sort of global switch for that. Turning it off entirely seems drastic, but I agree that power management is generally more trouble than it's worth.
I did verify that the apps in question are allowed to run in the background and use unlimited data.
Click to expand...
Click to collapse
It seems like you're setting up right. Check the Stand by apps status.
When you first load Accubattery it gives an option to disable task killing in settings, Pro version.
Uninstalling then reinstalling it sometimes works for me; clearing its data does not. I was getting the same error message until I just reinstalled it
Just don't take Accubattery too seriously... it's useful up to a point.
I'm on Pie. Google really screwed up 10 and especially 11... so yeah it could something new as Google insists on changing things even if they're already nearly perfect
If that fails check with Accubattery for guidance with 11. They are responsive to emails.
They may also be punching out an update.

Categories

Resources