Terrible battery life probably caused by wakelocks - Nexus 5X Q&A, Help & Troubleshooting

My battery will completely drain after <10 hours while the screen is off!
However I was able to find out thatquickgooglesearchbar is always the top app.
Those screenshots are a bit old but it's still the same thing, I did manage to root it today, and I was testing Greenify which did nothing even with the Xposed modules, service disabler apps just did not show that specific service for some reason. I was able to remove the widget with Xposed GEL settings but it was still running even though the widget wasn't there.
So can someone please help me out here, maybe the search bar isn't the problem but I just want some battery life.
h ttp://imgur.com/a/gdXKW
(I still can't post links sorry If this is against your forum rules but this is urgent)

Eidoss said:
My battery will completely drain after <10 hours while the screen is off!
However I was able to find out thatquickgooglesearchbar is always the top app.
Those screenshots are a bit old but it's still the same thing, I did manage to root it today, and I was testing Greenify which did nothing even with the Xposed modules, service disabler apps just did not show that specific service for some reason. I was able to remove the widget with Xposed GEL settings but it was still running even though the widget wasn't there.
So can someone please help me out here, maybe the search bar isn't the problem but I just want some battery life.
h ttp://imgur.com/a/gdXKW
(I still can't post links sorry If this is against your forum rules but this is urgent)
Click to expand...
Click to collapse
search and install betterbatterystats (read the whole first post) and it will tell you if its wakelocks etc.
Service disabler apps will need a setting to show system apps (or something similar) ticked or switched to etc.
greenify system apps in greenify also needs to be selected. You may also need to cut wake up paths to get it to stay greenified.
You could alternatively delete the apk of hibernate it (byfar the easiest option of all this).

Darke5tShad0w said:
search and install betterbatterystats (read the whole first post) and it will tell you if its wakelocks etc.
Service disabler apps will need a setting to show system apps (or something similar) ticked or switched to etc.
greenify system apps in greenify also needs to be selected. You may also need to cut wake up paths to get it to stay greenified.
You could alternatively delete the apk of hibernate it (byfar the easiest option of all this).
Click to expand...
Click to collapse
I don't need betterbatterystats, I have battery Battery Historian, check the screenshots, It's clearly the search bar, on my other phone It isn't shown as a top app.
Also I went in the system folder /apps and there was no googlesearchbar, or in any other system apk remover tool, perhaps it was removed by another app, but it's still for some reason running.

Eidoss said:
I don't need betterbatterystats, I have battery Battery Historian, check the screenshots, It's clearly the search bar, on my other phone It isn't shown as a top app.
Also I went in the system folder /apps and there was no googlesearchbar, or in any other system apk remover tool, perhaps it was removed by another app, but it's still for some reason running.
Click to expand...
Click to collapse
Your 3rd image shows googlequicksearchbox had 370ms (milliseconds) of wakelocks over a 9hr period. I really doubt that is your issue.
If it is your top app, then it is probably because of Google Now launcher listening for OK Google spoken keyword.
I seriously doubt that is your battery drain problem as almost 90% of people probably have OK Google turned on and are using Google Now launcher and only a very few have serious battery drain.
BTW wakelocks aren't the issue usually. In the past it has been "partial wakelocks" which means an app locked the device from sleeping, but never released the lock, so the device never goes to full sleep. If you see some app with partial wakelocks or if you see some app with hours of regular wakelocks then that might be an issue. Minutes or microseconds of wakelocks are inconsequential.
I suggest you flash factory image and install your battery tester only. Turn off wifi, bluetooth, nfc, cell radio. Test the drain overnight. That is a baseline for the minimum drain your device can have. Then enable what wireless stuff you normally have turned on. See what that drain is. Then start installing apps and see what that drain is.
If you have reasonable/expected battery drain with stock and everything turned off, then it is just a process of elimination to see what is causing your battery drain.
If you can't get reasonable/expected battery drain with stock and everything turned off, then you probably have a bad battery.
For the record, my overnight battery drain with everything turned off is 0-1% With wifi turned on about 1-2%. With wifi+cell about 2-3%.
IMO the biggest drains for standby are wifi and/or cell signal related. Either bad signals or apps sending data in background or apps that are polling all the time.

sfhub said:
Your 3rd image shows googlequicksearchbox had 370ms (milliseconds) of wakelocks over a 9hr period. I really doubt that is your issue.
If it is your top app, then it is probably because of Google Now launcher listening for OK Google spoken keyword.
I seriously doubt that is your battery drain problem as almost 90% of people probably have OK Google turned on and are using Google Now launcher and only a very few have serious battery drain.
BTW wakelocks aren't the issue usually. In the past it has been "partial wakelocks" which means an app locked the device from sleeping, but never released the lock, so the device never goes to full sleep. If you see some app with partial wakelocks or if you see some app with hours of regular wakelocks then that might be an issue. Minutes or microseconds of wakelocks are inconsequential.
I suggest you flash factory image and install your battery tester only. Turn off wifi, bluetooth, nfc, cell radio. Test the drain overnight. That is a baseline for the minimum drain your device can have. Then enable what wireless stuff you normally have turned on. See what that drain is. Then start installing apps and see what that drain is.
If you have reasonable/expected battery drain with stock and everything turned off, then it is just a process of elimination to see what is causing your battery drain.
If you can't get reasonable/expected battery drain with stock and everything turned off, then you probably have a bad battery.
For the record, my overnight battery drain with everything turned off is 0-1% With wifi turned on about 1-2%. With wifi+cell about 2-3%.
IMO the biggest drains for standby are wifi and/or cell signal related. Either bad signals or apps sending data in background or apps that are polling all the time.
Click to expand...
Click to collapse
Factory reset didn't do anything a few days ago, the results were exactly the same that was when my phone wasn't rooted, so I guess I should return the phone, and get a new one?

Eidoss said:
Factory reset didn't do anything a few days ago, the results were exactly the same that was when my phone wasn't rooted, so I guess I should return the phone, and get a new one?
Click to expand...
Click to collapse
What is your battery drain per hour with nothing installed and all wireless turned off and everything stock?
I'd only return it if that is significantly more than 0-.2% or 1% every 5 hours.
Otherwise it is something you have installed or something to do with the signal and how it interacts with your phone.
Once you start installing stuff or turning on wireless (wifi/bt/cell) then it is no longer purely about the battery and there are more factors that need to be isolated independently.
You really need to establish a baseline to see what the minimum battery drain is. Then you can determine if the battery is the problem or something else.
If you just install everything and turn everything on, there are too many moving parts.

sfhub said:
What is your battery drain per hour with nothing installed and all wireless turned off and everything stock?
I'd only return it if that is significantly more than 0-.2% or 1% every 5 hours.
Otherwise it is something you have installed or something to do with the signal and how it interacts with your phone.
Once you start installing stuff or turning on wireless (wifi/bt/cell) then it is no longer purely about the battery and there are more factors that need to be isolated independently.
You really need to establish a baseline to see what the minimum battery drain is. Then you can determine if the battery is the problem or something else.
If you just install everything and turn everything on, there are too many moving parts.
Click to expand...
Click to collapse
Okay, I now have android N, and my battery life seems to be better, I will leave mobile data off. I will see tomorrow if my battery life has changed.
Do you think I should use Adaptive brightness for more battery life?

Eidoss said:
Okay, I now have android N, and my battery life seems to be better, I will leave mobile data off. I will see tomorrow if my battery life has changed.
Do you think I should use Adaptive brightness for more battery life?
Click to expand...
Click to collapse
Which battery life was the one you think you have a problem with, standby or in use? IMO for in use battery time this phone is about average. Your title of "wakelock" made it seem like you were concerned about standby battery time as it doesn't matter if there is a wakelock if the device is already turned on and in active use.
When turned on, the screen is probably the number one thing eating power, so adaptive brightness could help, but if you are in a bright area, it might be worse than if you fixed the brightness below max.
Even if you have adaptive brightness turned on, the slider scale still is useful as you give the adaptive brigthness mechanism some idea what level of brightness you feel comfortable when the mechanism detects dark, med, bright situations.
One of the worse things for eating power is for the cell radio to be turned on but have no signal, like inside office building or just a bad signal area in general. The reason is the cell radio is power efficient once it establishes signal, but when it is searching for (or loses) signal it uses a lot of power.
If you are doing a lot of disk activity like taking video or hdr pictures, it would probably help to have your userdata unencrypted as this device does software (kernel) encryption and doesn't use the fast/more power efficient co-processor.

sfhub said:
Which battery life was the one you think you have a problem with, standby or in use? IMO for in use battery time this phone is about average. Your title of "wakelock" made it seem like you were concerned about standby battery time as it doesn't matter if there is a wakelock if the device is already turned on and in active use.
When turned on, the screen is probably the number one thing eating power, so adaptive brightness could help, but if you are in a bright area, it might be worse than if you fixed the brightness below max.
Even if you have adaptive brightness turned on, the slider scale still is useful as you give the adaptive brigthness mechanism some idea what level of brightness you feel comfortable when the mechanism detects dark, med, bright situations.
One of the worse things for eating power is for the cell radio to be turned on but have no signal, like inside office building or just a bad signal area in general. The reason is the cell radio is power efficient once it establishes signal, but when it is searching for (or loses) signal it uses a lot of power.
If you are doing a lot of disk activity like taking video or hdr pictures, it would probably help to have your userdata unencrypted as this device does software (kernel) encryption and doesn't use the fast/more power efficient co-processor.
Click to expand...
Click to collapse
Standby is the problem, on screen times are good enough.
Anyway, I don't even know what to do at this point. Android N didn't help enough (cell data is off), I guess I can flash Android 6.0 again and then try to fix it using apps...
What do you suggest I should do, I'm out of ideas at this point.

Eidoss said:
Standby is the problem, on screen times are good enough.
Anyway, I don't even know what to do at this point. Android N didn't help enough (cell data is off), I guess I can flash Android 6.0 again and then try to fix it using apps...
What do you suggest I should do, I'm out of ideas at this point.
Click to expand...
Click to collapse
What is the power drain over a couple of hours with *no apps installed* completely stock, and wifi/cell turned off? What is the change when wifi is turned on?

Eidoss said:
What do you suggest I should do, I'm out of ideas at this point.
Click to expand...
Click to collapse
Have you set "WiFi on during sleep" to "Never"? in the Advanced WiFi settings?
In the original release, there was a bug where WiFi would stay on even if you had set it to "Never" draining battery in standby.
Somewhere between MDA89E and MHC19Q they fixed it and WiFi will go to deep sleep after being in standby for a while, but they introduced another (or exposed existing) bug where WiFi will not resume after coming out of sleep, unless you cycle WiFi off/on. So you're standby battery should be better with this setting, but it'll be a little more annoying when turning on your device.

Related

[Q] High "Awake" vs "Screen On" time

Let me preface this by saying I'm not complaning about battery life as 36h is very good. That said, I feel like my phone is awake much longer that it should be. Anyone have any ideas why my Awake time is so much higher than my Screen-on time?
Once again, I'm not complaining but considering my phone was awake almost 5x longer than the screen was on, I feel like I could squeeze some more life out of the phone. I had 1 exchange account @ 15min, 1 gmail on push, no talk/g+, ~2-3 hours off wifi (4g), gps on, bluetooth off, 4.0.4, leanKernel.
When analyzing the wakelocks, I don't see anything that would explain almost 6 hours of extra awake time:
Considering most of this charge I was on wifi, I think I should have been able to achieve more than 1.5h screen-on time. Especially when I see people getting 4-5+ hours on theirs. What could be causing this seemingly excess awake time?
Since those screen shots, I've done another full cycle and here are my results. Same settings as before. It looks as if I did a bit better with the ratio of awake vs screen on, but I still only got ~20 hours. I'll admit, this had much more 4g time and heavier usage.
As you can see it's better, as it was only awake about 3x as much as the screen. You can see where I was at home in the second screenshot (The long bar of wi-fi) and that included me sleeping yet it shows that the phone was consistantly waking up overnight without any usage. Short of "email", I'm not sure what could be causing it. I got MAYBE 3 e-mails overnight.
Signed out of talk/g+/latitude
Location services was NOT disabled in either set of screenshots. Disabled it and charging now. Maybe that will help?
Have you checked out your wakelocks using BetterBatteryStats (found here on XDA)? Also, download CPU Spy from the market and check how long your phone is in what state. If it isn't in deep sleep too often, you might have an app or service keeping your phone awake. Background Data of any kind usually does that. Also, the first culprit I would investigate is Google Maps. Uninstall that bad boy and test your phone out. I am betting you that 60% of the time, the problem with your phone being awake too often is with Maps running unnecessarily in the background. And to be clear, Maps self-restarts itself even after logging out of Latitude and closing the app completely
armanatz said:
Have you checked out your wakelocks using BetterBatteryStats (found here on XDA)? Also, download CPU Spy from the market and check how long your phone is in what state. If it isn't in deep sleep too often, you might have an app or service keeping your phone awake. Background Data of any kind usually does that. Also, the first culprit I would investigate is Google Maps. Uninstall that bad boy and test your phone out. I am betting you that 60% of the time, the problem with your phone being awake too often is with Maps running unnecessarily in the background. And to be clear, Maps self-restarts itself even after logging out of Latitude and closing the app completely
Click to expand...
Click to collapse
I have attached all the wakelocks to the previous two posts. I didn't attach CPU spy but I did check it every time. Usually it's between 60-80% but most often it's >70% in deep sleep.
Just did a fresh wipe with a app restore using the market. Location services have been disabled. I have uninstalled all gMaps updates and disabled the app. Is this good enough? Should I convert to user and uninstall using TB?
Just wanted to chime in and say I'm seeing a very similar profile to what you posted. And I'm not entirely sure, but I think this started when I flashed this ROM. What I feel like I'm seeing is that active use of the phone seems to be more of a drain than it used to, but I'm not sure how much of that would be placebo (i.e. remembering when I first got the phone around the holidays and there were a lot of relaxed days at home with constant wifi).
But right now I'm seeing 5.5 hours of awake time and 1 hour of screen on time, with 27% remaining. Total time is 42 hours, which seems to round everything out to a decent battery life, but again, 1 hour of use for 70% of the battery seems lower than what I remember. Not sure if a vote for seeing the same behavior is one for this being normal or us both having the problem, but I can try to post screenshots/more detailed info later if it would help.
This is on the above linked rom with stock kernel, 4.0.4 radios.
That's the same ROM I'm using and I agree, 70% usage for 1h screen time seems too much. I've seen people get over 2.5h screen on time on pure 3/4g
I'm going to see if disabling maps and location services help. Will report back.
I would be interested to see any SS you have, might help.
Sent from my Galaxy Nexus using XDA App
This is after a fresh wipe, fresh kernel install, no maps, no g+, no gTalk, no GPS, no location services, just gmail and 1 exchange @ 15 minutes
Any advice as to what's going on would be very helpful. Thanks in advance.
I also have a problem with wake-locks.
Since phone is relatively new ~2weeks its still stock 4.0.2 GSM. After some time my battery life fell and thanks to XDA i think i found the problem Google backup.
I disabled Google backup to see if i get the same awake time tomorrow.
If the problem doesn't go away, is it possible to resolve this problem without factory reset of the phone?
Here are some screenshots I made the other day, taken a bit into a charge but immediately prior the phone was down to <6%. Didn't get a capture of the kernel wakelocks but as you reported, the screen on time falls far below the wake time, and the wakelocks don't seem to come anywhere near to explaining the difference.
I just installed the 6.3.0 google maps, which claims to increase battery performance for location and latitude services. I'll try to make a comparison next time my battery is drained.
I've signed out of latitude before but generally don't redo this upon rebooting the phone. Does it sign in by default on every reboot?
Well after disabling backup thing im still getting 90% wake time from backup service so i will try to do a factory reset over weekend and hope it goes away... Will post resoults in case some 1 else gets this problem.
JoeSyr said:
Here are some screenshots I made the other day, taken a bit into a charge but immediately prior the phone was down to <6%. Didn't get a capture of the kernel wakelocks but as you reported, the screen on time falls far below the wake time, and the wakelocks don't seem to come anywhere near to explaining the difference.
I just installed the 6.3.0 google maps, which claims to increase battery performance for location and latitude services. I'll try to make a comparison next time my battery is drained.
I've signed out of latitude before but generally don't redo this upon rebooting the phone. Does it sign in by default on every reboot?
Click to expand...
Click to collapse
This looks to me like some sort of Maps issue. Try to uninstall/disable maps and see if it goes away. Looks like it's stuck trying to locate you with maps somehow based on those wakelock names.
Catoss said:
Well after disabling backup thing im still getting 90% wake time from backup service so i will try to do a factory reset over weekend and hope it goes away... Will post resoults in case some 1 else gets this problem.
Click to expand...
Click to collapse
Hopefully the factory reset will fix it, that is an odd problem.
It seems to me like my problem was the version of leankernel I was using. I went from 10.0exp2 to 2.01exp2 and it's much much better
Actually, the kernel upgrade did not fix my problem. I did seem to figure out what was happening though.
This entire time I've noticed that my phone would standby and sleep very well on Wi-Fi but when I switched to data it seemed as if I would bleed juice. I discovered that my "Keep Wi-Fi on during sleep" was set to "always" and I believe that was causing my excess wakes.
I've changed it to "Never" and I'm doing some tests. I'll be sure to report back if anyone is watching this thread.
Timdor said:
Actually, the kernel upgrade did not fix my problem. I did seem to figure out what was happening though.
This entire time I've noticed that my phone would standby and sleep very well on Wi-Fi but when I switched to data it seemed as if I would bleed juice. I discovered that my "Keep Wi-Fi on during sleep" was set to "always" and I believe that was causing my excess wakes.
I've changed it to "Never" and I'm doing some tests. I'll be sure to report back if anyone is watching this thread.
Click to expand...
Click to collapse
mine is opposite of that, i standby fine on data but terribly on wifi. im guessing that is background syncing. i just have to figure out what is doing it
i have my wifi set to never too for better battery life. It seems counter intuitive, but wifi is better on power than 3g/4g. So preventing the phone from leaving wifi back to cellular is better for battery. All my phones have been like this.
yeah thats what i thought it does but mine drains faster on wifi...i leave it on cause i barely get signal in my room an if i sit on 3g it just takes a long time to do anything
What type of drain do you get over 3g vs wifi?
Yesterday I was playing around on 3g all day and I was seeing an average of 6%/hr. My phone is consistantly awake 20-25% of the time according to betterbatterstats. Screen on will always be far less than half of my awake time. Wifi drains around 1%/hr
I did a wipe of my 4.0.4 install and flashed a fresh kernel download. I'm not logging into exchange because, for some reason, I think that's my problem.
Also, changing to Never didn't really fix my issue.

battery draining too fast new or old

im on a stock rom not rooted and new battery and old battery both discharge really fast. Totally dead in 5-6hrs light use. Im guessing there is a hardware issue with the phone as this isnt normal. Any ideas?
lets see I did a factory reset after Jellybean update
changed the battery for a new one
biggest power drain is showing up as screen 33-39%
I have the thing on power saving mode and mobile data I turn off when not in use.
only thing I can think of that I didnt try is flashing another radio. But I doubt thats it because ive put it in airplane mode and it still looses power fast.
craig198 said:
im on a stock rom not rooted and new battery and old battery both discharge really fast. Totally dead in 5-6hrs light use. Im guessing there is a hardware issue with the phone as this isnt normal. Any ideas?
lets see I did a factory reset after Jellybean update
changed the battery for a new one
biggest power drain is showing up as screen 33-39%
I have the thing on power saving mode and mobile data I turn off when not in use.
only thing I can think of that I didnt try is flashing another radio. But I doubt thats it because ive put it in airplane mode and it still looses power fast.
Click to expand...
Click to collapse
Get Better Battery Stats and check your wake locks. A lot of information in that thread. Might have a rogue app draining you.
Edit: also screen on is always going to be your biggest drain. Keep brightness down as much as you can. App called screen filter is good for achieving lower brightness than system allows. You could try the ktoonsz kernel, undervolted as well. Turning off sounds in settings (key press, vibrate, etc as well). Toggle data and WiFi when not using. These are just some basic suggestions.
Sent from my cracked out SGS3
This is my second s3 and the first one never had a problem going 10-12 hrs normal use. Im thinking it is a hardware issue as I did a factory reset and it still persists on fast draining.
Edit.. I just disable google talk maybe that was causing it?
It's not Google Talk. Check your battery and it'll show you what's drainage ng it the most. Also check screen brightness
Sent from my GT-I9300 using xda premium
Benconquerer said:
It's not Google Talk. Check your battery and it'll show you what's drainage ng it the most. Also check screen brightness
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
well after the screen 40% we have android OS @ lower 30%
Do you have an SD-Card in?
I was getting the same battery life, took out my SD-Card, and I'm getting 7 hours on screen time with stock battery.
andybones said:
Do you have an SD-Card in?
I was getting the same battery life, took out my SD-Card, and I'm getting 7 hours on screen time with stock battery.
Click to expand...
Click to collapse
lol sd card?? well I tried it anyway and no, it still drains like a pissing racehorse. Ive noticed this phone gets pretty warm sometimes even with light use. Im not sure what is causing this but must be a factor in why the battery life is so poor. When I talk on phone, not very often, the ear piece actually gets hot. Im gonna send this puppy to samsung and see what they can do.
GSam Battery Monitor can offer better details about your battery usage, including wakelocks, cpu usage, etc.. It's more detailed than what Android offers.
I'd also recommend using an AOSP based rom as they include out any carrier/Samsung services that may adversely affect your battery life, particularly in a fringe coverage area or with many sync and push items. I'd also stay away from powersave mode for the time being.
If you want to know for sure, I'd do something like this:
- update PRL on current rom
- wipe and format everything in CWM
- flash rom as per developer suggestions
- wipe battery stats
- boot and do not sign in with your Google account (very important!)
- do not install or restore any apps
- turn off auto-sync and leave data on
- enable auto brightness
- confirm that phone signal is somewhere between -50 and -90dbm
- turn off phone and charge overnight
- turn on in the morning and use normally for the day
- install GSAM if issues persist
Please post back with updates.
It could be a hardware problem also you know.... if something ground off in the phone then the battery will drain faster than anything....I had a n96 with a grounded problem and it use to dead in 4 hrs....

question about battery drain when I think the phone should be dozing

Apologies if this has been covered before...I searched and didn't really find anything. If it has been covered, if you could please link me.
I am stock rooted on the latest oreo update and I have only had this phone for a few weeks, but the battery life seems pretty good when using it heavily during the day.
My complaint is that it will drain the battery overnight and shutoff. If I go to bed with it at 20%, battery save is set to turn on at 15, and sync is turned off...but when I wake up in the morning the phone is off and the battery is at 0. It doesn't look like one particular app is doing it either...so it feels like maybe it's not just dozing properly? Any ideas?
Goto settings, battery, tap the three dots, battery optimizations, and report back with a list of (if any) apps that report "not optimized"
noidea24 said:
Goto settings, battery, tap the three dots, battery optimizations, and report back with a list of (if any) apps that report "not optimized"
Click to expand...
Click to collapse
All of the apps in there say battery optimization unavailable...
well I think I found the source of my drain. the other day it said I had 15% use from bluetooth over night when the bluetooth shouldn't be connected to anything, and I don't know why it's trying. so I turned it off completely before bed and no battery drain. i'm confused though, shouldn't I be able to leave the bluetooth on? I found a setting in location to disable bluetooth scanning, my next experiment is to turn that off and leave bluetooth on and see if the battery drain returns...

Horrible Battery life on Pixel 2 XL (Pie) (6%/H Drain)

I'm a really light user. I lost a little less than 2% every hour. Basically I use it as a purely communication device. Mostly check facebook messenger, my emails, and occasionally, browse facebook, reddit, 9gag or watch a short youtube video. I stay up about 16 hours on average and at the end of the day, I was regularly around 80%. If I left the phone unplugged overnight while I slept, I only lose about 6% over 8 hours. I was really happy with the battery life. I could very easily see 3 full days out of my phone off a single charge. This was before the Pie update. I tried both the Beta and the Stable once it released, and my battery life has suffered severely. I'm losing 6% every hour, even with the screen off the entire time. At the end of the day, my phone is in the red and has already turned on power saving mode. Android Pie has killed my Pixel 2 XL's battery. I gave it 2 weeks to "learn" my usage habits, but ultimately, I factory reset and even went back to 8.1, but I still suffer from battery issues. Battery usage gives no hint to the culprit. My phone has been unplugged for 7 hours, with 45 minutes of screen on time, and at 54% remaining battery life. Screen On time is the highest battery drain according to the system battery stats. I didn't have this issue until I installed Android Pie Stable.
I have no idea what could be going on, but could really use some help with this.
TL;DR: From 2% to 6% per hour battery drain on Pie. Reverted to Oreo and FR but still an issue. Advice?
Did you check if the WiFi scanning is turned ON? Settings --> Location --> Scanning
I feel its the only issue, nothing should drain your P2XL crazy if apps remaining constant factory reset.
-- personal experience.
I also use it very similarly to you and easily get 2 days with a single charge on Pie. During night my device drains 1 or 2 % only (wi-fi, bluetooth and 4g on), but I have wi-fi scanning off. Google location services are on (including Location Accuracy on). "At a Glance" is turned off but still using stock Pixel Launcher. No hacks/mods installed.
Same except I have at a glance enabled. I disable it 6 hours ago to test and didn't affect battery drain at all. Still losing 6% every hour. Location and scanning settings default except connect to open WiFi is enabled. Right now testing if connect to open WiFi and Bluetooth WiFi location improvement affecting battery drain.
Testing that now. Will report in a day. Heading to bed now. Gn
Does the phone charge all the way to 100%? Does the phone ever turn off by itself when low on battery ~10%? Install and run Accubattery. After a few charging cycles you will get a very close approximation of your battery's remaining capacity as compared with new in mAh. Battery capacity will be located under the health tab. The more charge cycles you monitor, the more accurate it gets, but it will zero in on a number pretty quickly after the first 2-3 charges. Could be the battery... stranger things have happened. This also assumes the user has fully wiped the phone several times going between DP's, Pie and reverting to Oreo.
Does the phone charge all the way to 100%?
- Yes
Does the phone ever turn off by itself when low on battery ~10%?
- Honestly, I don't know. I never let my battery get that low.
Install and run Accubattery. After a few charging cycles you will get a very close approximation of your battery's remaining capacity as compared with new in mAh. Battery capacity will be located under the health tab. The more charge cycles you monitor, the more accurate it gets, but it will zero in on a number pretty quickly after the first 2-3 charges. Could be the battery... stranger things have happened.
- Will do
This also assumes the user has fully wiped the phone several times going between DP's, Pie and reverting to Oreo.
- You assume correctly.
Didn't seem to help.
Didn't seem to help at all.
Video of battery stats and settings.
https://drive.google.com/open?id=164lujTgzt6hihESdFlkb0AdQdOFGiYtX
I changed some settings and now I'm getting 17mAh drain. Fixed.
The biggest battery sucker for me was having Auto-connect to open wifi enabled and fixing stuck sync tasks. It was preventing my phone from sleeping.
Great to know you were able to stop the draining, I think it might be of great help to other P2XL owners to know what were the settings you changed that fixed the issue.
What settings did you change?
I am having the same issue. I would be interested in hearing your changes as well. Thank you
Download and install Accubattery to monitor your mAh usage. Make sure you check your deep sleep percentage. By the sound of things, your phone is running hot when idle, so it's not sleeping like it should be. You can install Wakelock Detector Lite to see which apps are keeping your phone awake. Once you find out what apps are draining your battery, use the System battery manager in Settings to restrict battery usage for those apps. If that doesn't help, then uninstall the app (unless it is necessary to you). If an app isn't keeping your phone awake, then it may be your system settings. Turn off location scanning for wifi and bluetooth (in the GPS section). Turn off Wifi auto-connect to open wifi. Where I live I have pretty weak cellular connection. I opted to disable Mobile data always active in developer options (Go to about phone, and tap the build number 7 times, then enter your device password). While you are here, you can check Running services in developer options and see what you have running. Also, make sure your accounts aren't stuck trying to sync. If they are, cancel the sync and restart it. Depending on how far you are backlogged, this can take a while. If the sync still gets stuck, try removing and re-adding the account that is getting stuck.
After I restricted/uninstalled the misbehaving applications and tuned the device settings, I'm getting great standby time on my Pixel 2 XL. If I close all my apps before putting the phone back in my pocket, according to accubattery, I'm losing 15mA/h or about 0.4%/h. If I charged my phone to 100%, then unplugged it without using it at all, it would take 10 days for the battery to run out. It's pretty good. As someone who primarily uses their phone as a communication device and research tool, I'm a pretty lightweight user.
+1 What settings did you change?
Yes, please, don't keep us in suspense!
Just got a used one so trying to learn all about getting optimum performance.

Question Abnormal battery consumption when idle?

My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
WiFi and Bluetooth are turned off. I don't have a SIM card installed yet, but even with a "Aeroplane mode" activated, I get the same consumption.
Is that consumption normal?
What irritates me is that in the beginning I saw horizontal lines in the "Battery usage" chart, indicating close to zero battery consumption when the phone was turned off. I don't get these horizontal segments anymore.
I installed GSam Battery Monitor and it shows 100% time spent in Deep sleep (but shows a "5% / 5%" for "Discharge Screen Off"). In the "OTHERS" chart, "Doze" is a continuous line but "Active" shows a lot of interrupted small blocks ("Screen" is obviously completely absent). "Wifi" is shown as always on, but I believe that is a bug because I turned off the location-based features that turn on Wifi automatically, turned on Aeroplane mode, etc. After a restart, the "Wifi" bar was correctly absent for a while but briefly turning Wifi on, got it back to "always on". I'm 99.9% sure this is a GSam bug.
I have double confirmed with "DevCheck" that the CPU goes to "Deep sleep" and spends pretty much all the time in that state.
I get about "5m" combined App Wakelocks in 48h.
The biggest battery consumer is "Kernel (Android OS) 7.5%", followed by "System (*wakelock*) 2.3%", "Google Play services 1.6%". These figures are from a 14 day period in which I used the phone for 3h to play a game (6.7% consumption) and otherwise only turned it on to check the battery. I currently don't have access to the percentage figures during pure sleeping since I plugged in the phone for charging.
Using GSam Battery Monitor, I don't see any app wasting battery life in the background. It's the kernel that consumes the vast majority of the battery life, if the phone is idle. The Android/Asus Battery usage stats show "Phone idle" with 54.7% for that 14 day period. The next one is the game with 3.8% (played for 3h) and then there is "Screen" with 1.9%.
I'd understand this kind of idle figure if the phone had a SIM card installed and bad reception but as I said before there is no card in the phone yet and the consumption is the same if I put it in Aeroplane mode.
I'm running Android 12, build 32.2810.2212.241.
The battery "system mode" is "Dynamic". The refresh rate is set to "60Hz" (not that it should matter with the screen turned off all the time). "Battery Saver" in the "Developer options" is turned "on".
I'd be grateful if someone could comment on the 5% battery life loss within 24h. I realize that many will not be able to compare this with their figures, as they'll have a cell phone service running, but perhaps those who turns on Aeroplane mode, should have comparable figures, for an 8h period, or so.
My Huawei Mate 20 (running Android 10) shows pretty much no consumption at all over night via the battery stats, when I turn on Aeroplane mode. Perhaps it loses 1% or at most 2%, I'll check again. Should the ROG Phone 6 behave the same, or is this difference to be expected?
Again, I'm irritated that I definitely saw multiple horizontal (no usage) periods in the battery usage chart in the beginning. I'm pretty sure these appeared before I had given the phone a full charge yet, so perhaps they weren't really indicative of close to zero consumption due to a lack of battery capacity calibration.
TomKay said:
My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
(...)
Click to expand...
Click to collapse
Congratulations. 0.2%/h is a very good result.
TomKay said:
My Asus ROG Phone 6 loses 5% battery life in 24h while just idling.
WiFi and Bluetooth are turned off. I don't have a SIM card installed yet, but even with a "Aeroplane mode" activated, I get the same consumption.
Is that consumption normal?
What irritates me is that in the beginning I saw horizontal lines in the "Battery usage" chart, indicating close to zero battery consumption when the phone was turned off. I don't get these horizontal segments anymore.
I installed GSam Battery Monitor and it shows 100% time spent in Deep sleep (but shows a "5% / 5%" for "Discharge Screen Off"). In the "OTHERS" chart, "Doze" is a continuous line but "Active" shows a lot of interrupted small blocks ("Screen" is obviously completely absent). "Wifi" is shown as always on, but I believe that is a bug because I turned off the location-based features that turn on Wifi automatically, turned on Aeroplane mode, etc. After a restart, the "Wifi" bar was correctly absent for a while but briefly turning Wifi on, got it back to "always on". I'm 99.9% sure this is a GSam bug.
I have double confirmed with "DevCheck" that the CPU goes to "Deep sleep" and spends pretty much all the time in that state.
I get about "5m" combined App Wakelocks in 48h.
The biggest battery consumer is "Kernel (Android OS) 7.5%", followed by "System (*wakelock*) 2.3%", "Google Play services 1.6%". These figures are from a 14 day period in which I used the phone for 3h to play a game (6.7% consumption) and otherwise only turned it on to check the battery. I currently don't have access to the percentage figures during pure sleeping since I plugged in the phone for charging.
Using GSam Battery Monitor, I don't see any app wasting battery life in the background. It's the kernel that consumes the vast majority of the battery life, if the phone is idle. The Android/Asus Battery usage stats show "Phone idle" with 54.7% for that 14 day period. The next one is the game with 3.8% (played for 3h) and then there is "Screen" with 1.9%.
I'd understand this kind of idle figure if the phone had a SIM card installed and bad reception but as I said before there is no card in the phone yet and the consumption is the same if I put it in Aeroplane mode.
I'm running Android 12, build 32.2810.2212.241.
The battery "system mode" is "Dynamic". The refresh rate is set to "60Hz" (not that it should matter with the screen turned off all the time). "Battery Saver" in the "Developer options" is turned "on".
I'd be grateful if someone could comment on the 5% battery life loss within 24h. I realize that many will not be able to compare this with their figures, as they'll have a cell phone service running, but perhaps those who turns on Aeroplane mode, should have comparable figures, for an 8h period, or so.
My Huawei Mate 20 (running Android 10) shows pretty much no consumption at all over night via the battery stats, when I turn on Aeroplane mode. Perhaps it loses 1% or at most 2%, I'll check again. Should the ROG Phone 6 behave the same, or is this difference to be expected?
Again, I'm irritated that I definitely saw multiple horizontal (no usage) periods in the battery usage chart in the beginning. I'm pretty sure these appeared before I had given the phone a full charge yet, so perhaps they weren't really indicative of close to zero consumption due to a lack of battery capacity calibration.
Click to expand...
Click to collapse
I lose 0% on 10 hours standby in flight mode
Thanos88 said:
I lose 0% on 10 hours standby in flight mode
Click to expand...
Click to collapse
That's great!
What build number of Android OS are you running?
I'd be grateful, if you could check it and post it here.
Have you done anything to get this performance or is it "out of the box"?
ze7zez said:
0.2%/h is a very good result.
Click to expand...
Click to collapse
I'm not so sure.
First, remember that this figure is without any cell phone service drawing current.
Second, I initially saw segments of the battery consumption graph that were horizontal, but no longer do.
Third, look at what Thanos88 reported.
I've seen other posts about unusually high idle consumption of the ROG Phone 6. I believe most users will not even notice because they don't shut down their phones fully and the idle consumption disappears as noise under the all the higher normal consumption. Perhaps other users don't complain, because they don't suffer from the issue I seem to be having. I don't know.
TomKay said:
That's great!
What build number of Android OS are you running?
I'd be grateful, if you could check it and post it here.
Have you done anything to get this performance or is it "out of the box"?
Click to expand...
Click to collapse
android 12
.197 firmware
Done plenty of app debloating
Thanos88 said:
android 12
.197 firmware
Done plenty of app debloating
Click to expand...
Click to collapse
Thanks!
I note that you are not on the latest version (.241). That could explain the difference. Perhaps I saw the near to zero consumption before I accepted the update to .241? That is quite possible.
I've done a lot of app debloating as well, removing Facebook, etc., but as I mentioned before, there are no apps that cause any noteworthy battery consumption. Did you do anything out of the ordinary? I first just uninstalled and/or disabled some apps/services that I did not need and later even uninstalled some via ADB. The latter made no difference regarding battery consumption.
My 5%/24h figure comes from
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
3.5% com.android.systemui:screenshot
3.1% Google Play services
2.0% com.google.uid.shared:.....
1.9% GSam Battery Monitor
0.9% ASUS Launcher
There are some more (e.g., 0.4% Gmail) but they don't use much at all.
Time Held Awake (over a 37h period):
Kernel (Android OS) 10m 53s
Android System 4m 1s
Google Play services 16s
com.google.uid.shared:..... 2s
com.android.systemui:screenshot 1s
That's all, no other apps/services are reported to keep the phone awake (while it was idling).
Number of times Waking Device
Google Play services 48
Android System 34
Calendar Storage 8
android.uid.calendar:..... 7
com.android.systemui:screenshot 6
com.google.android.partnersetup 5
There are a few more, but the next one has a figure of 3 and the rest are all lower.
No network data used (no SIM card, Wifi turned off) and no location used either.
I note that further battery consumers were sensors used by
Dirac Control Service 13m 5s
Android System 1m 17s
I do not know whether this is normal.
Is it possible to revert to the .197 firmware (or whatever firmware version my phone originally had) by performing a factory reset?
Or does the latter just clear all user data but leaves the current firmware in place?
In the latter case I would have to flash the .197 firmware manually, correct?
Would the latter be safe regarding warranty, etc.?
I don't want to root the phone or anything like that, I just would like to avoid unnecessary battery consumption.
TomKay said:
Thanks!
I note that you are not on the latest version (.241). That could explain the difference. Perhaps I saw the near to zero consumption before I accepted the update to .241? That is quite possible.
I've done a lot of app debloating as well, removing Facebook, etc., but as I mentioned before, there are no apps that cause any noteworthy battery consumption. Did you do anything out of the ordinary? I first just uninstalled and/or disabled some apps/services that I did not need and later even uninstalled some via ADB. The latter made no difference regarding battery consumption.
My 5%/24h figure comes from
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
3.5% com.android.systemui:screenshot
3.1% Google Play services
2.0% com.google.uid.shared:.....
1.9% GSam Battery Monitor
0.9% ASUS Launcher
There are some more (e.g., 0.4% Gmail) but they don't use much at all.
Time Held Awake (over a 37h period):
Kernel (Android OS) 10m 53s
Android System 4m 1s
Google Play services 16s
com.google.uid.shared:..... 2s
com.android.systemui:screenshot 1s
That's all, no other apps/services are reported to keep the phone awake (while it was idling).
Number of times Waking Device
Google Play services 48
Android System 34
Calendar Storage 8
android.uid.calendar:..... 7
com.android.systemui:screenshot 6
com.google.android.partnersetup 5
There are a few more, but the next one has a figure of 3 and the rest are all lower.
No network data used (no SIM card, Wifi turned off) and no location used either.
I note that further battery consumers were sensors used by
Dirac Control Service 13m 5s
Android System 1m 17s
I do not know whether this is normal.
Is it possible to revert to the .197 firmware (or whatever firmware version my phone originally had) by performing a factory reset?
Or does the latter just clear all user data but leaves the current firmware in place?
In the latter case I would have to flash the .197 firmware manually, correct?
Would the latter be safe regarding warranty, etc.?
I don't want to root the phone or anything like that, I just would like to avoid unnecessary battery consumption.
Click to expand...
Click to collapse
Try to force stop and clear data & clear cache of Google play services , then reboot your device , charge to full and then see what happens
Thanos88 said:
Try to force stop and clear data & clear cache of Google play services , then reboot your device , charge to full and then see what happens
Click to expand...
Click to collapse
Thanks for the tip! I've done that before, without the "charge to full". I can try the exact sequence you have described.
Given the usage figures, Google play services are not using much:
Just
3.1% Google Play services
compared to
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
Are you saying that either Google Play services are using battery in a way that GSam does not catch, or that Google Play services somehow responsible for the high system consumption?
I would say Google play services is causing the issue. Also I forgot to mention, make sure you force stop, then click "uninstall updates" on Google play services, then clear cache , then Clear data then reboot your phone.
If that doesn't help, I highly recommend you dow load BBS (Better battery stats) , give it adb permissions, and monitor your battery life/wakelocks with that app
TomKay said:
Thanks for the tip! I've done that before, without the "charge to full". I can try the exact sequence you have described.
Given the usage figures, Google play services are not using much:
Just
3.1% Google Play services
compared to
41.3% Android System
15.2% Kernel (Android OS)
4.4% Phone Services
Are you saying that either Google Play services are using battery in a way that GSam does not catch, or that Google Play services somehow responsible for the high system consumption?
Click to expand...
Click to collapse
Thanos88 said:
I would say Google play services is causing the issue. Also I forgot to mention, make sure you force stop, then click "uninstall updates" on Google play services, then clear cache , then Clear data then reboot your phone.
If that doesn't help, I highly recommend you dow load BBS (Better battery stats) , give it adb permissions, and monitor your battery life/wakelocks with that app
Click to expand...
Click to collapse
I followed the steps you described (including the "uninstall updates") and will report results, once the phone has fully charged and has idled for 24h. If there is no change, I'll uninstall GSam and install BBS.
Thanks a lot for your help.
Sadly, clearing the data&cache of Google Play services and downgrading it, did not help, at least it does not look like it helped right now.
This time, the battery lost 6% in 30h (went from 100% to 94%).
The last few hours showed very little battery consumption, though. Perhaps there was some book keeping to do after reboot which caused some consumption up until very recently.
I'll let the phone idle for another 24h and see whether the flat period continues. It would be awesome if it did.
I let the phone idle for another 24h and even though I restricted battery usage for more apps/services, the idle consumption did not change.
I'll try Better Battery Stats now.
T
TomKay said:
I let the phone idle for another 24h and even though I restricted battery usage for more apps/services, the idle consumption did not change.
I'll try Better Battery Stats now.
Click to expand...
Click to collapse
That's odd. What's your software number?
Thanos88 said:
T
That's odd. What's your software number?
Click to expand...
Click to collapse
Android 12, build 32.2810.2212.241
Three updates more current than your .197 version.
I would have thought that if Google Play services were at fault, GSam Battery Monitor would have showed that. But perhaps not. I'll see whether BBS will provide any better clues. I could also try to disable Google Play services (just for diagnosing purposes), but I'm not sure that would result in any useful data, as many apps complain, if one disables Google Play services completely.
I suspect the difference between your idle consumption and mine is the firmware version. I've disabled/restricted so many apps/services, I doubt the phone would run normally now. So far, no culprit has been identified.
TomKay said:
Android 12, build 32.2810.2212.241
Three updates more current than your .197 version.
I would have thought that if Google Play services were at fault, GSam Battery Monitor would have showed that. But perhaps not. I'll see whether BBS will provide any better clues. I could also try to disable Google Play services (just for diagnosing purposes), but I'm not sure that would result in any useful data, as many apps complain, if one disables Google Play services completely.
I suspect the difference between your idle consumption and mine is the firmware version. I've disabled/restricted so many apps/services, I doubt the phone would run normally now. So far, no culprit has been identified.
Click to expand...
Click to collapse
It's going to be the firmware then, or maybe even an app you've installed. I'm currently on 44% battery, with 9 hours 41 mins SOT, 1 days 2 hours off charge
Thanos88 said:
It's going to be the firmware then, or maybe even an app you've installed. I'm currently on 44% battery, with 9 hours 41 mins SOT, 1 days 2 hours off charge
Click to expand...
Click to collapse
I think I can exclude any user apps, since,
1. The issue is the same if I start the phone in "Safe mode" (disables all user apps).
2. GSam Battery Monitor would have reported high usage by an app.
The battery consumers are the OS and motion sensors.
I turned off "Lift phone to check" (or similar) and the phone indeed does not activate the lock screen when I move it while the screen is dark. The phone stills faintly shows the fingerprint area if I move it, so some motion detection must be going on. I don't think this behaviour can be disabled, or can it?
TomKay said:
I think I can exclude any user apps, since,
1. The issue is the same if I start the phone in "Safe mode" (disables all user apps).
2. GSam Battery Monitor would have reported high usage by an app.
The battery consumers are the OS and motion sensors.
I turned off "Lift phone to check" (or similar) and the phone indeed does not activate the lock screen when I move it while the screen is dark. The phone stills faintly shows the fingerprint area if I move it, so some motion detection must be going on. I don't think this behaviour can be disabled, or can it?
Click to expand...
Click to collapse
The fingerprint motion can be switched off in the settings however, it's probably the firmware that's causing the main issue imo
Thanos88 said:
The fingerprint motion can be switched off in the settings however, it's probably the firmware that's causing the main issue imo
Click to expand...
Click to collapse
where in the settings can be turned off fingerprint motion ?
luki2411 said:
where in the settings can be turned off fingerprint motion ?
Click to expand...
Click to collapse
Not sure if it's just me or they've removed that option looks like it can't be removed but I surely that motion can't be the battery culprit. It has to be the firmware

Categories

Resources