Related
Hello everybody.
I have recently rooted my phone to try and identify the cause to my fast battery drain, which is primarily from the Android OS process.
I can't seem to find it. I see that the process "system" is working a lot and that the Android OS is awake for way to long.
Maybe you guys can point out something I'm missing here.
I would appreciate every help from you !
Thx
raied115 said:
Hello everybody.
I have recently rooted my phone to try and identify the cause to my fast battery drain, which is primarily from the Android OS process.
I can't seem to find it. I see that the process "system" is working a lot and that the Android OS is awake for way to long.
Maybe you guys can point out something I'm missing here.
I would appreciate every help from you !
Thx
Click to expand...
Click to collapse
This really could be anything. I recently had this and experimented for days whenever I took a break. For me, it turns out that it was my work's wifi hotspot making my phone stay awake to stay connected. I turned off wifi and it was fixed. But this isn't a solution. I ended up connecting to my own wireless repeater and problem was gone.
Bottom line is you'll have to figure out what's going on yourself.
htr5 said:
This really could be anything. I recently had this and experimented for days whenever I took a break. For me, it turns out that it was my work's wifi hotspot making my phone stay awake to stay connected. I turned off wifi and it was fixed. But this isn't a solution. I ended up connecting to my own wireless repeater and problem was gone.
Bottom line is you'll have to figure out what's going on yourself.
Click to expand...
Click to collapse
Thank you for your reply.
I couldn't find any cause to the problem, that's why I thought that maybe another pair of eyes (or more ) might help...
raied115 said:
Thank you for your reply.
I couldn't find any cause to the problem, that's why I thought that maybe another pair of eyes (or more ) might help...
Click to expand...
Click to collapse
I'll tell you what I've done for battery life on my phone and maybe on of those will fix your problem.
1. Uninstall stock bloat (only the stuff actually running in the background; no need to remove stock launcher ect.)
2. Disable Wi-Fi scanning when wifi off
3. Use Amplify to limit wakelocks and alarms
4. Freeze the apps you don't regularly use. I have a titanium backup widget on my homescreen that will unfreeze snapchat and launch it. It is the pressed again to freeze it after use.
5. Greenify apps you don't want running in the background for no good reason. If you get the donate version, you can still get GCM notifications so it's win win. For apps that don't have GCM notifications, it will coalesce the notifications so your phone doesn't wake up as often.
6. Make sure you have all logging turned off from the LG hidden menu.
7. If you're on a bad wi-fi network run by work/school, then get the auto disable IPv6 app on the play store.
8. Use the HEBF Optimzer app to prevent Google wakelocks and battery drains.
9. Use PNF Root app on the play store to custom choose how often your phone checks for GCM notifications.
With these changes, I finish the day with around 4 hours of screen on time doing regular things. Don't believe the posts about 7-8 hours SOT because you don't know what they were doing. I once used my phone as a timer while studying and had the screen on for 3 hours and only drained 12% battery.
absolutely the same issue here. No luck with factory reset, not using whatsapp or messenger, not using wifi, not using mobile data, no luck with any kind of debloating, uninstalling, installing greenify, amplify whatever. In the end, the Android OS will come back and drain the battery. I've spent a way too much time on this issue.
kakaovnik said:
absolutely the same issue here. No luck with factory reset, not using whatsapp or messenger, not using wifi, not using mobile data, no luck with any kind of debloating, uninstalling, installing greenify, amplify whatever. In the end, the Android OS will come back and drain the battery. I've spent a way too much time on this issue.
Click to expand...
Click to collapse
Try clearing the Google Play Services data, then removing all Google accounts and then adding them back. This time, make sure not to agree to any data collection.
When you turn GPS on, it should show as GPS only in the location settings. Disagree to any prompts.
If your location defaults to high energy GPS and networks, then try flicking the toggle on and off very quickly after you have cleared the play services data. This is how I got the prompt for data collection to come back. It's annoying and you have to always disagree but it fixed my mysterious battery drains from android os.
I got my Pixel XL (unbranded) earlier this month, and as much as I wanted to love the phone, two consistent issues keep happening which are making me despise it.
The first issue is my phone refuses to retrieve Push notifications while it's on standby. I will get no notifications from any app until I physically wake my phone. As soon as I pick the phone up and turn on the screen, BAM, a billion notifications. This is true even for Google apps like gmail and hangouts. I have seen lots of threads on this subject dating back years for various devices, and none of the 'solutions' fixes my situation. Battery Optimization isn't on, and even when I toggle it on and exempt all my apps, it still does it. IPv6 is disabled at my home network level. I disabled the Connectivity service. I enabled notification importances and set all apps to high. I turned off WiFi while on standby. I begrudgingly did a full reset. Nothing has worked.
The second issue is related to bluetooth. I cannot get it to stay on. It turns itself off whenever it feels like, so whenever I get into my truck and expect my GPM to start playing, all I get is "The bluetooth stereo device is not connected." I take pride in my attentive driving, which means if I forget to reconnect everything while still in my driveway, I now have to pull over just to get some tunes playing. Getting infuriating...
So, I'm at my last nerve. I turn to the Gods of XDA for your advice before I return this thing. Is there any fix to all this? I'm not opposed to rooting or using custom images. I just want my phone to work.
Thanks in advance for any info you can provide.
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
TonikJDK said:
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
Click to expand...
Click to collapse
It wasn't the Feb update. Bluetooth got bugged in the 7.1.1 update for me personally.
TonikJDK said:
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
Click to expand...
Click to collapse
No, the phone is pretty much stock. I have Skype and a couple games on it, but nothing that would interfere with network connectivity while on standby. Just to be sure, Doze is Battery Optimization in the settings, right? It's default to off, but after experiencing issues, I turned it on and exempted all apps. Didn't work, so I turned it off again.
I've never had this issue with GMail. The latest I have ever been notified of a new email from gmail is about 5 mins. Now, I go hours without them up until I wake my phone. And again, this is for all apps that have actual push notifications. I'll pick up my phone, then get a slew of new emails, skype messages, hangouts, etc...
Hi All
Disclaimer: I'm new to the forum so apologies if this is in the wrong discussion area etc!
I got my Galaxy S9 on Friday 9th, prior to that I had an LG G5 which is now gone. In the last few months of using my LG G5 the battery life was questionable - the phone would get hot (sometimes without even using it a lot) and the battery would drain by 30% an hour. I noticed, but didn't test fully, that Google Play Music seemed to really cane the battery and phone - i.e. was getting hot and draining quickly. As an example, I'd leave home at 7am taking it off charge at the last minute (100%) and get to my office at 9am and it'll be at 50% and very warm. Prior to that (can't exactly pinpoint when the drain started to really kick in) it would only drop to 85% - much more acceptable.
The G5 has a replaceable battery - 2800 if I recall . So I threw down £50 on an official LG site for a new slab of Lithium - slight improvement, but still terrible and warm. 55% instead of 50%.
"Right - time for a new phone" as I assumed that 2 years of app updates meant the CPU was lagging. Bagged a Galaxy S9 - today was my first commute into the office. Started on 100%, arrived at 55% with a 3000 battery! And it got super warm like the G5.
Most of that time I used Google Play Music, which according to AccuBattery the discharge speed was "33% per hour". Second was Google Chrome at 30% per hour (though I didn't use it much at all on the journey).
My question is - what logs can I check, or apps I can use, or something to find out what's going on? I need to test a few things of course to pinpoint the issue. If it helps - I restored from my G5 when I setup my S9.
seems like you might have have some options enabled in Google Play Music / chrome - that is keeping the phone awake
generally when you switch phones they apps and their settings get transferred automatically now - worth maybe uninstalling them for a day and see if you're still experiencing this issue
other than that it could be that your commute involves travelling thru areas of no signal where the phone keeps trying to find a signal - that can drain battery a lot
tim2london said:
seems like you might have have some options enabled in Google Play Music / chrome - that is keeping the phone awake
generally when you switch phones they apps and their settings get transferred automatically now - worth maybe uninstalling them for a day and see if you're still experiencing this issue
other than that it could be that your commute involves travelling thru areas of no signal where the phone keeps trying to find a signal - that can drain battery a lot
Click to expand...
Click to collapse
Thanks - I'll try that next time. Might also try a factory reset but not restore from the LG G5 backup to see what happens then.
how bright is your display? do you leave it on all your commute?
Got your wifi enabled which hunts for a signal even though you aren't using wifi? try turning it off. Same with location setting.
And how strong a signal do you have on your commute. Streaming lots of data on a really weak signal will kill battery, too.
Go into settings and see whats draining your battery.
Battery Drain Issue of S9 - Resolved
:laugh:Hi All,
I could resolve the Battery drain issue but not touching any other setting of the new phone by just disabling the backend data usage of all application expect few like Edge screen, Gmail, Flipboard etc... Now the android system power usage is back to 4-5%. Previously it was 21%-25%. So issue resolved. Need to find out the way to inform this to Samsung so they can identify which app is consuming full battery power.
dondit said:
:laugh:Hi All,
I could resolve the Battery drain issue but not touching any other setting of the new phone by just disabling the backend data usage of all application expect few like Edge screen, Gmail, Flipboard etc... Now the android system power usage is back to 4-5%. Previously it was 21%-25%. So issue resolved. Need to find out the way to inform this to Samsung so they can identify which app is consuming full battery power.
Click to expand...
Click to collapse
Hi, i'm facing ridiculous drains too and factory resetting hasn't seemed to help. I'm trying your resolution, but I don't entirely understand you. Could you kindly guide step by step? also, if you mean going to optimise battery usage, when i go there and select the 'apps not optimized' all the apps there are greyed out therefore not allowing me to select them.
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
I know this will be almost impossible to solve with suggestions, but some of my notifications don't come through until I unlock my phone. Most notably WhatsApp. I've turned off all battery optimisation options, removed it from the sleeping apps list, allowed background data and turned off data saver. Still have the same issue.
I have naptime installed so turned that off as well.
What's strange is that a few days ago all my notifications started coming through as normal for a few hours, and then stopped again.
I know the only way to solve this is probably a factory reset, but with loads of tweaks I've gotten it so my battery life is amazing. Leaving it overnight it drains around 3% and depending on how I use it I get around 8h of SOT with 50% battery left so I don't really want to factory reset.
What launcher are you using?
I feel your pain with factory resets.
There needs to be a backup settings to cloud so you can easily restore them after a reset or even a change of phone.
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
winol said:
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Click to expand...
Click to collapse
Thanks I have installed it and will see if that works.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
I've just installed a push notification tester app and my phone goes into doze immediately once I lock my phone and the screen turns off it seems.
If I request a notification, it comes through with the phone unlocked but if I set a delay of a few seconds and lock the phone before it comes through, nothing will happen until I wake my screen up.
Any ideas on how to solve this?
I worked out what the problem was!
I have a VPN that is set to disconnect when my screen turns off to save battery. At the same time I enabled the Android setting that blocks all connections without VPN. Of course when the screen turns off and the VPN disconnects, my phone was blocking all outside connections, hence me not getting any notifications.
Well, I am glad you figured it out