[Discussion] Specific 5.0 battery drain issues. - Nexus 5 Q&A, Help & Troubleshooting

Hi guys! I've created this as a thread to discuss the so far mysterious and specific to 5.0 battery issues many seem to have.
Here you can discuss it, test theories and try to track down causes.
I made this to keep the clutter out of the Battery Life Help Thread sticky. As this is muddying the waters there.
Same things apply... Screen shots are helpful, specifically app wakelock screens. (need root for that though)
Also, Chances are there will eventually be an update to fix this from Google. So when that happens, or the issues are solved by members, then this thread will be closed and info added to the Battery Life Help Thread.
Thanks!

I won't be active very much in this thread BTW. I'm very busy here on XDA. I've created it for community discussion. ?
By all means... If you are rooted, and have Gsam and Gsam root companion installed.... You can post your app wakelock screen shots here......
[Battery Life Help] Troubleshoot battery issues here!

Here we go. There's some proof about Wifi issue for ones who don't or want to believe and became angry to talking about this issue. As you can see No deep sleep wakelocks without Wifi. As clear as it should be.
And yes, everything is off. GNow, location, G+; any google services disabled. Also all notification or syncing options of 3rd party apps are closed. And it's a smartphone by the way.

kamajikaciya said:
Here we go. There's some proof about Wifi issue for ones who don't or want to believe and became angry to talking about this issue. As you can see No deep sleep wakelocks without Wifi. As clear as it should be.
And yes, everything is off. GNow, location, G+; any google services disabled. Also all notification or syncing options of 3rd party apps are closed. And it's a smartphone by the way.
Click to expand...
Click to collapse
It would be a good idea to change your language to english before you take a screen shot. Many people that have no idea what the text in your screen shot means. Just an idea

SYRE123 said:
It would be a good idea to change your language to english before you take a screen shot. Many people that have no idea what the text in your screen shot means. Just an idea
Click to expand...
Click to collapse
I don't think so. I saw too many french, spanish, german, portuegese screenshots and if you know the ordering you may tell which is which.

kamajikaciya said:
I don't think so. I saw too many french, spanish, german, portuegese screenshots and if you know the ordering you may tell which is which.
Click to expand...
Click to collapse
It's up to you ofc. I'm still on KitKat and don't know by default which is which, therefor my question. Just think you'll be able to get more help when Everyone can understand your screenshots, but that's me

SYRE123 said:
It's up to you ofc. I'm still on KitKat and don't know by default which is which, therefor my question. Just think you'll be able to get more help when Everyone can understand your screenshots, but that's me
Click to expand...
Click to collapse
Thanks but I'm not sure that I'll get some help though. Turkish or english, this issue will take much battery in these days.

For what it's worth, people who need to theorise / suggest / confirm 'issues' must do so LOGICALLY, and preferably with numbers and specific setup.
- The laws of physics apply in all cases, regardless of ROM / kernel. Work out WHAT is using your battery instead of just complaining of drain. This helps no one....similarly only quoting SOT is USELESS. It is how you use your device.....
- Any initial 'testing' needs to be done first on full stock factory images, with no additional apps installed. If there really is a WiFi bug....test standby drain with WiFi on / off over a long period of time. Only then can you actually compare logically. Any difference in your actual day-to-day setup can then be narrowed down to an app issue, with in 99% of cases is the real cause.

Well i narrowed it down tot google now. I did a clean install. I did my setup as i usually do. But first without google now. Because i don't use it. My SOT was then about 4 hrs. Then i was thinking. Hmmz lollipop is beter then KitKat. And maybe its fun tot use google now. So i setup google now. My SOT drops instantly to 2 hrs SOT. So i disabled google now. But my SOT stays at 2 hrs. I did again a clean install. Without touching google now and my SOT is beter then ever. 5 hrs. And i came tot understand that if you don't setup google now. The SOT became normal but if you setup google now SOT drops. And i think there a program from google now that keeps beeing active. Even with shutting google now off. Or google now keeps active even while you shut if off

Anyone know of an app that can control individual apps permissions, similar to the xposed module app settings? Fighting privacy/battery issues.

App ops? Can be found in the store

I have no 3rd party apps installed and also tested in safe mode. If wifi is on the battery drains with wakelocks. If wifi is off the battery drain goes away and wakelocks stop. That's not a theory or something. I'm testing this issue till I bought my Nexus 5. I'm lucky because I bought my Nexus 5 1 week ago and I flashed Lollipop images clearly. Also I relfashed 2 times more . There's a wifi issue in this version in Nexus 5 and it must be fixed immediately. That's the result. No need physics laws or something. There's to many person lives it and cannot use their smartphone properly. If I must close the wifi manually to save battery life and block wakelocks why I'm calling that thing a "smartphone"? By the way it's not the phone's fault. The OS is faulty for Nexus 5. The worst part is the fact that Google said this issue has been fixed. But it's not true. At least for most users. We saw some users doesn't have this issue but more of them has been rooted their phone or flashed custom ROMs and kernels etc... Personally I don't want to root my phone or use a custom ROM and kernel. I think it's my right as a Google Nexus 5 and Android final consumer. And also it's my right to sound off this issue. I cannot understand why some people are huffing to users like me?

kamajikaciya said:
I have no 3rd party apps installed and also tested in safe mode. If wifi is on the battery drains with wakelocks. If wifi is off the battery drain goes away and wakelocks stop. That's not a theory or something. I'm testing this issue till I bought my Nexus 5. I'm lucky because I bought my Nexus 5 1 week ago and I flashed Lollipop images clearly. Also I relfashed 2 times more . There's a wifi issue in this version in Nexus 5 and it must be fixed immediately. That's the result. No need physics laws or something. There's to many person lives it and cannot use their smartphone properly. If I must close the wifi manually to save battery life and block wakelocks why I'm calling that thing a "smartphone"? By the way it's not the phone's fault. The OS is faulty for Nexus 5. The worst part is the fact that Google said this issue has been fixed. But it's not true. At least for most users. We saw some users doesn't have this issue but more of them has been rooted their phone or flashed custom ROMs and kernels etc... Personally I don't want to root my phone or use a custom ROM and kernel. I think it's my right as a Google Nexus 5 and Android final consumer. And also it's my right to sound off this issue. I cannot understand why some people are huffing to users like me?
Click to expand...
Click to collapse
Apologies my post wasn't actually directed at you, more at those who post without any detail and just conclude that it must be drain, I've seen many...
You have tested logically[emoji106], and you're absolutely right that full stock factory image should work without issue and without the need for root to fix anything.
Can you confirm also that the same drain happens on any Wi-Fi network? It shouldn't be a solution but with investigating. Can you determine which built in app is keeping your device awake?

eddiehk6 said:
Apologies my post wasn't actually directed at you, more at those who post without any detail and just conclude that it must be drain, I've seen many...
You have tested logically[emoji106], and you're absolutely right that full stock factory image should work without issue and without the need for root to fix anything.
Can you confirm also that the same drain happens on any Wi-Fi network? It shouldn't be a solution but with investigating. Can you determine which built in app is keeping your device awake?
Click to expand...
Click to collapse
No need for apologies or something. We're all here to solve some issues and make things better.
By the way my wifi issue happens if the wifi is on. There's no need to be connected to any network. If the wifi is on there's massive wakelocks in sleep mode and battery drains quickly. I tried anything but root or customizing ROM or kernel. Even I flashed 4.4.2 radio image with 5.0 stock ROM. I'M using it that way now. Same results.
And my tests are not only logical but I also have some quantitative clues. When I open the wifi I can see the wakelocks in stock battery graphic when the screen is off. If ı close the wifi wakelocks decrease and incomprehensible battery drains stops.

I agree. I'm getting an extra hour SOT without WiFi.
Sent from my Nexus 5 using XDA Free mobile app

SOT is not a main parameter. Especially in this issue.
For this wifi battery drain issue our main parameter is wakelock intensity when wifi is on and screen is off (standby) therefore battery drain in deep sleep mode. So you must check your off screen battery drain.

Any idea why Google play services is keeping my phone awake almost continuously? My location is set to battery saver. I've left it exactly the way it was on KK, Play services used to be around 2% on KK. Now on L, it's always in the top of the charts at ~20%. It says that mobile radio is continuously on. Does it have anything to do with the radio version?
Location History: On
Location Tracking: On
Gmail sync: on
Contact sync: On
Everything else is always off.

kamajikaciya said:
SOT is not a main parameter. Especially in this issue.
For this wifi battery drain issue our main parameter is wakelock intensity when wifi is on and screen is off (standby) therefore battery drain in deep sleep mode. So you must check your off screen battery drain.
Click to expand...
Click to collapse
Oh I see. Well I think Wi-Fi is just more of a drain overall. I got more SOT yesterday and idle time it seemed like.

blueren said:
Any idea why Google play services is keeping my phone awake almost continuously? My location is set to battery saver. I've left it exactly the way it was on KK, Play services used to be around 2% on KK. Now on L, it's always in the top of the charts at ~20%. It says that mobile radio is continuously on. Does it have anything to do with the radio version?
Location History: On
Location Tracking: On
Gmail sync: on
Contact sync: On
Everything else is always off.
Click to expand...
Click to collapse
Tracking and history have always been drains. Maybe not as bad as on 5.0...but still.
Try with those off to compare. ?

Darth said:
Tracking and history have always been drains. Maybe not as bad as on 5.0...but still.
Try with those off to compare. ?
Click to expand...
Click to collapse
That is true, but KK never had that big of a drain solely based on location and tracking.

Related

Is Google Location Reporting the hidden battery Vampire?

Hi Guys,
I'm a casual user and usually get 2 days out of my battery with roughly 1-2 hours of screen time. I manage my wifi/data and have, "battery saver," mode set in my location settings.
A few days ago, my battery was on 70% when I went to bed. I awoke in the middle of the day and realised that my alarm had not gone off. The phone had turned off and when I turned it on, the battery was down at 3% and Google Search had consumed the battery.
Having a look around to find any possible reason, I stubbled on the, "Location Reporting," settings which were both on. I've now turned these both off and my battery life seems to loose 25% per day rather than the usual 50% per day.
What are your experiences with Location Reporting Settings and Battery Life?
Thanks.
Edit: just done another cycle and I am certainly 10 to 20 better battery wise than with location reporting on.
I'd say no, as it doesn't affect me and I have mine on high accuracy. I am 100% stock (not even unlocked bootloader) and haven't changed any settings away from default in any app I have installed (which isn't many)
Mine has always been on high accuracy. I've used 18% of my battery in the last 10 hours. I would check your navigation isn't running.
Sent from my Nexus 5
I don't think OP is referring to the high accuracy setting, but the google location reporting menu below.
I have them both off from the beginning, frankly I don't know if it makes any impact to the batttery life.
I think it does make somewhat of a difference. If I turn it off I can squeeze out maybe 20-30mins of extra screen on time. Mind you, I am a heavy user and sometimes I run into deadspots so take that for what its worth.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 11:47 AM ---------- Previous post was at 11:46 AM ----------
xdviper said:
I think it does make somewhat of a difference. If I turn it off I can squeeze out maybe 20-30mins of extra screen on time. Mind you, I am a heavy user, and charge my phone sometimes twice a day. sometimes I will run into deadspots, and that will also cause the battery to die quicker, so take that for what its worth.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sent from my Nexus 5 using Tapatalk
bloot said:
I don't think OP is referring to the high accuracy setting, but the google location reporting menu below.
I have them both off from the beginning, frankly I don't know if it makes any impact to the batttery life.
Click to expand...
Click to collapse
That's correct :good:, I'm referring to the reporting menu below.
Ever since I updated to the latest google play services (4.5.1 I think) battery drain issued have been solved.
Sent from my Nexus 5 using Tapatalk
YES. I turned off both Location History and Location Reporting and my phone has way less wakelocks and battery usage. But just leave the regular location setting on High Accuracy...
Your phone will last forever!
I've run my phone with Location History and Reporting and Google Now on. What I noticed was many more wakelocks at the end of the day but with surprisingly little difference in actual battery usage. It has gotten much much better IME as far as actual battery toll.
Tw1tchy said:
Ever since I updated to the latest google play services (4.5.1 I think) battery drain issued have been solved.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm on 4.2.39. The play store is not asking me to update the services app so I presume I'm on the latest version?
Masteryates said:
I'm on 4.2.39. The play store is not asking me to update the services app so I presume I'm on the latest version?
Click to expand...
Click to collapse
That's weird I'm on 4.1.32 (just checked). Maybe try installing latest gapps package? I had problems with cataclysm ROM in December. Then a new play services update came out and no more wake locks.
Sent from my Nexus 5 using Tapatalk
Tw1tchy said:
That's weird I'm on 4.1.32 (just checked). Maybe try installing latest gapps package? I had problems with cataclysm ROM in December. Then a new play services update came out and no more wake locks.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for looking, I'm on stock 4.4.2. What prompted me to look at my settings was just the random chronic battery drain. Google keep saying they have fixed things and they appear to be right. Then out of nowhere, I get a random drain. It's happened 3 times now meaning I get to work hours late....
Google collects anonymous location data from your phone even when location reporting and history are turned off (also did it when on device only mode).
It caused a lot of wake locks for me. I've found a way to still be able to use the GPS without all the wake locks. Simply switch off location totally, then reenable but disagree to the Google terms. Phone sleeps all the time now.
However I'm not quite sure how much battery these wake locks consume and if it's worth losing the instant location access and Google Now features. That's why I'm running my phone this way for a couple of days to test the battery life both with ART and Dalvik to see, if it makes a difference and how big that difference is.
Btw, I also only have Play Services 4.1.32. Does that depend on which region we live in? I would also like to see, if 4.5 would make the battery life better...
cawith said:
Google collects anonymous location data from your phone even when location reporting and history are turned off (also did it when on device only mode).
It caused a lot of wake locks for me. I've found a way to still be able to use the GPS without all the wake locks. Simply switch off location totally, then reenable but disagree to the Google terms. Phone sleeps all the time now.
However I'm not quite sure how much battery these wake locks consume and if it's worth losing the instant location access and Google Now features. That's why I'm running my phone this way for a couple of days to test the battery life both with ART and Dalvik to see, if it makes a difference and how big that difference is.
Btw, I also only have Play Services 4.1.32. Does that depend on which region we live in? I would also like to see, if 4.5 would make the battery life better...
Click to expand...
Click to collapse
Services went to 4.2.40 last night. I'm still going to run without the location reporting on to see if I can get longer than my usual 2 days.
Would be nice to get hear from another nexus 4/5 user who in the past has had location reporting on and has now turned it off.
Masteryates said:
Services went to 4.2.40 last night. I'm still going to run without the location reporting on to see if I can get longer than my usual 2 days.
Would be nice to get hear from another nexus 4/5 user who in the past has had location reporting on and has now turned it off.
Click to expand...
Click to collapse
Hm, I still have the same old version. Would it be dangerous to sideload an updated version of Play Services? Is that even possible?
cawith said:
Hm, I still have the same old version. Would it be dangerous to sideload an updated version of Play Services? Is that even possible?
Click to expand...
Click to collapse
My updated version came via an update of the search or maps app. I don't know about side loading or how you would get hold of the apk.
So does the update improve the battery life or not? It's really a placebo at best during the big update.
ickoicko said:
So does the update improve the battery life or not? It's really a placebo at best during the big update.
Click to expand...
Click to collapse
I'd say I've seen no difference. However, consistent battery life is important to me even if not that good. The real killer is when something like Google search decides to eat my battery in the course of a night.
I've read in other threads that if you don't have quality LTE in your area, the phone uses up mucho battery, trying to maintain/improve the LTE connection (searching for better LTE service). But those with quality LTE service don't have such issues.
whizper said:
I've read in other threads that if you don't have quality LTE in your area, the phone uses up mucho battery, trying to maintain/improve the LTE connection (searching for better LTE service). But those with quality LTE service don't have such issues.
Click to expand...
Click to collapse
Doesn't seem to matter what network you are on, 3g/4g, if your phone is searching for the signal all of the time, your battery will take a real hammering.

[BIG] Battery drain

hi everybody, since one or two weeks i see i have a big battery drain when my phone is "inactive"... how to resolve this please?
Your screenshot doesn't tell us anything. Further debugging can be found using BetterBatteryStats / Gsam / Wakelock Detector, root is required.
A app is preventing your phone from deep sleeping.
The only thing your screenshot does show us is that Play Services is there, http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525
View that to fix that but theres definitely more to it than Play Services.
zephiK said:
Your screenshot doesn't tell us anything. Further debugging can be found using BetterBatteryStats / Gsam / Wakelock Detector, root is required.
A app is preventing your phone from deep sleeping.
The only thing your screenshot does show us is that Play Services is there, http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525
View that to fix that but theres definitely more to it than Play Services.
Click to expand...
Click to collapse
thanks for your rapid answer Zephik, but i have just reflashed
my stock calkulin's cm11... but i have a question: is it possible the battery drain come since i changed kernels..? (without touching their settings)
brunsman6229 said:
thanks for your rapid answer Zephik, but i have just reflashed
my stock calkulin's cm11... but i have a question: is it possible the battery drain come since i changed kernels..? (without touching their settings)
Click to expand...
Click to collapse
I don't understand your question. In actuality, it takes a couple days for your phone to settle in the new kernel if thats what you're asking.
As long as your phone is properly deep sleeping, you shouldn't be worrying.
You can find out by using 1 of the 3 apps I mentioned previously.
zephiK said:
I don't understand your question. In actuality, it takes a couple days for your phone to settle in the new kernel if thats what you're asking.
As long as your phone is properly deep sleeping, you shouldn't be worrying.
You can find out by using 1 of the 3 apps I mentioned previously.
Click to expand...
Click to collapse
i say, is it possible that the battery drain comes from new kernel?(AK)
also thanks for your help dude, and i modified googleplay services as you've told me with my fresh install of cm11...
I have 2 days of battery life almost and still have 20% left. I use this phone heavily and haven't recharged.
I had the same problem where 60% drain overnight.
Now 2 says.
All I did was turn off Facebook Location services.
That's it.
Facebook was draining so much. I have Wifi on, GPS with High Accuracy.
Facebook always drains a significant amount of battery, I prefer using the mobile website but if you must need the app then greenify it.

Unsolve battery drain

Hi everyone,
I need some advice from the community. I've had my XT925 for almost 2 years now, and in the last 6-8 moths I've been having weird battery drain that I couldn't solve. It started back on JB a while ago, and I thought "oh hell, KK is around the corner, it'll go away when I wipe everything". I was mistaken: I first tried the soak test leaked KK, and had the same erratic behaviour. And when the final release became available, I reflashed a full stock JB then flashed the zip OTA posted in general. I'm now on 4.4.2 stock moto kitkat.
I hardly last a full day, without a heavy usage. Many SMS (10-50), maybe 1-2 MMS, wifi ON most of the time at work, phone forced to 3G (4G cover is sporadic and when I turn it on I have a lot of 3g/4g switches). In the last week, I've frozen nearly every app I had with TB, to (hopefully) isolate the ones that drain too much battery. No luck so far.
Today I've decided to take a series of screenshot so maybe someone can help me troubleshoot what's wrong. They are attached to this post. I don't see anything out of the ordinary, but I'm no expert, so maybe someone can elighten me on any abnormality. I had roughly 40 min of vocal call today, which is a lot compared to my usual usage (average, maybe 3-5 min a day of voice call). This may have contributed to drain slightly more today, but there is not so much difference at the end of the day.
Basically, I recall lasting easily 1..5 days with the phone stock out of the box. Now, it's hard to reach >12h. I thought maybe the battery was dying (although *#*#4636#*#* said it was in good shape) so i replaced the battery by a brand new Moto one last week. There was absolutely no change at all.
So... here you go: any idea on what could be causing the drain ? Obviously I've cleared cache and wiped data many times already, and I'd like to avoid doing it again and again and again. Note that on the screenshot, there is many apparent time with bad signal. I have no idea why it shows like this since I'm always 3-4 bars at work. This is weird, and came with KK (JB sowed green signal at the same place).
Thanks for your help!
edit: just swa my thread title is missing a "d"... but cannot edit.
CoinCoin88 said:
Hi everyone,
I need some advice from the community. I've had my XT925 for almost 2 years now, and in the last 6-8 moths I've been having weird battery drain that I couldn't solve. It started back on JB a while ago, and I thought "oh hell, KK is around the corner, it'll go away when I wipe everything". I was mistaken: I first tried the soak test leaked KK, and had the same erratic behaviour. And when the final release became available, I reflashed a full stock JB then flashed the zip OTA posted in general. I'm now on 4.4.2 stock moto kitkat.
I hardly last a full day, without a heavy usage. Many SMS (10-50), maybe 1-2 MMS, wifi ON most of the time at work, phone forced to 3G (4G cover is sporadic and when I turn it on I have a lot of 3g/4g switches). In the last week, I've frozen nearly every app I had with TB, to (hopefully) isolate the ones that drain too much battery. No luck so far.
Today I've decided to take a series of screenshot so maybe someone can help me troubleshoot what's wrong. They are attached to this post. I don't see anything out of the ordinary, but I'm no expert, so maybe someone can elighten me on any abnormality. I had roughly 40 min of vocal call today, which is a lot compared to my usual usage (average, maybe 3-5 min a day of voice call). This may have contributed to drain slightly more today, but there is not so much difference at the end of the day.
Basically, I recall lasting easily 1..5 days with the phone stock out of the box. Now, it's hard to reach >12h. I thought maybe the battery was dying (although *#*#4636#*#* said it was in good shape) so i replaced the battery by a brand new Moto one last week. There was absolutely no change at all.
So... here you go: any idea on what could be causing the drain ? Obviously I've cleared cache and wiped data many times already, and I'd like to avoid doing it again and again and again. Note that on the screenshot, there is many apparent time with bad signal. I have no idea why it shows like this since I'm always 3-4 bars at work. This is weird, and came with KK (JB sowed green signal at the same place).
Thanks for your help!
edit: just swa my thread title is missing a "d"... but cannot edit.
Click to expand...
Click to collapse
i would get gsam battery monitor with the root companion (second app) so you can get a better idea of whats going on. some shots of the app view screen, then change the view to view time held awake, then a couple shots of the details on the highest ones.
you can then get an app called unbounce that can limit the wakelocks, but it requires some reading so you dont break anything.
if you could take shots in English that would be great, otherwise i wont be able to help much with the diagnosis.
I was trying not to rely on wakelock limiting apps, as there's no reason for the drop from 1.5 (2) days to 12 h, with all custom apps frozen. I didn't know unbounce but the same goes for Greenify. I'll try the widget you mentioned and report back.
edit: yup i'll switch to english for the shots next time.
Oh and I forgot to mention this: from time to time, the drain won't be so apparent (e.g. 40% remaining after 12-15 h) and in a matter of minutes, the phone will drop to 10-12%. However it hasn't happened sicne I last turned off 4G, so maybe it was due to constant 3g/4g switches.
CoinCoin88 said:
Oh and I forgot to mention this: from time to time, the drain won't be so apparent (e.g. 40% remaining after 12-15 h) and in a matter of minutes, the phone will drop to 10-12%. However it hasn't happened sicne I last turned off 4G, so maybe it was due to constant 3g/4g switches.
Click to expand...
Click to collapse
no doubt, in weak and especially no signal areas, it will burn through battery like crazy.
Here it as, after a nearly complete discharge. Phone unplugged around 10am, 12h15 later I'm at 10% remaining, with not so much usage. Screenshots are attached. What's weird is that in the last 1h30 the phone has been off wifi (slider "Wi-Fi" is off in settings) but battery status still shows a connected wifi. However you can clearly see a huge drain due to wifi being off and 3g being on (it's the only part of the day it's been using cellular data: I was at the restaurant therefore no wifi). Possibly locatin services using the wifi even though it was disabled ? Anyway I'm not sure this could cause such a quick drain...
edit: as far as the signal bar color in battery status, I've found that grey-yellow stands for "signal 3/4", so it's rather good (solid green is signal 4/4). So it's probbaly not that either...
Ooops forgot the "time held awake" shots. It's definitely Google services messing around, but what... (details of Google services in previous post)
CoinCoin88 said:
Ooops forgot the "time held awake" shots. It's definitely Google services messing around, but what... (details of Google services in previous post)
Click to expand...
Click to collapse
some of those push the limits of what i would like to see personally, but none appear out of control to me.
im really not sure how you would go about taming some of that down though, without using a couple apps you dont want to use.
imo, you would need to control some of the wakelocks, and/or disable some of the receivers you done use.
the couple "nlp" wakelocks from google are going to account for a good bit of its waking. nlp is nothing more than google using your location information to build a database from it.
here is whats known about some of the more common offenders, and the testing results from limiting them.
That's what I feared... I'm usually not that bad with messing with the phone, and couldn't see anything obvious either. I've disabled "using wifi to locate" in wifi settings, I'll see how this drops the nlp wakelocks, for starters.
If anyone has a better idea, please don't hesitate
Sent from my RAZR HD using XDA Free mobile app
CoinCoin88 said:
That's what I feared... I'm usually not that bad with messing with the phone, and couldn't see anything obvious either. I've disabled "using wifi to locate" in wifi settings, I'll see how this drops the nlp wakelocks, for starters.
If anyone has a better idea, please don't hesitate
Sent from my RAZR HD using XDA Free mobile app
Click to expand...
Click to collapse
i have use quite a few of the more popular battery saving apps over the years. i just came across this one yesterday. its shaping up to be the best i have used to date. i wasnt using my phone except for a few minutes this morning, and it went 5 1/2 hours and was still @ 100%.
i also use greenify with root + exposed.
did you disable FAST DORMANCY? I have done it while on JB ? IT did not cause any prob.
Haven't disabled it, mostly because I've never been able to determine if it was being used by carriers in France or not. I've read somewhere that it wasn't, but the source was hardly documented. I've tried to disable it in JB however, and did not see any improvement.
Right now I've disabled Google Now and location history things. I'm trying to reduce the wakelocks as much as I can using settings available from stock rom (and understand at the same time what was causing them). Battery drain is still high, but I'm testing things every 10 min or so, so it's not really representative. I'll update here when I have a better idea of what's going on.
Another thing of interest is xposed with new module called Unbounce. There is a thread for it. All about minimizing wake locks
A few thoughts so far. I haven't tried Greenify or Unbounce yet, this will be the "final stage". For now I'm trying to minimize wakelocks as much as possible without installing third-party apps.
Here are a quick review of what I've found (NB: in the following I translated the menu names myself from french to english and didn't check their actual name... but it shouldn't be too hard to figure out which ones I'm referring to if the name is not exactly right):
1) Disabled Google Now and all "Google Location settings" (i.e. "Update location" and "Location history", found within "Google settings" in the drawer).
2) Set location settings to "minimize battery", that is with network and wi-fi.
3) In wi-fi advanced settings, disabled "search always available"
4) Locked the phone to 2G/3G only, because 4G coverage from my carrier (Free Mobile for the frenchies here ) is erratic at best, and caused many 3G/4G switches
5) Some "light" de-bloat (froze all Google apps I'm not using). At first I froze all my apps to mimick a fresh stock system, but there were really not that much difference.
Note that all the tests were ran (mostly) in the same location, on different days, so signal quality should be rather constant (and good) and therefore is not acting as a confounding factor in my tests.
Whats happening when 3G and Wi-Fi are both off ?
Obviously, disabling 3G and wifi gives a very good battery life. I'm talking about something like 2h screen-on and probably 30-40% after a full day (9am to midnight, roughly). I'll double check the exact values for this and update this post with a screenshot asap (= in the upcoming days). With this setting, wakelocks actually correspond to screen-on time. So it's probably the best one can achieve.
edit: 1h of voice communication, 1h15 of screen-on time, 10-15 sms, 1 received MMS (had to enable 3G a few seconds for that of course) => see Screenshot_2014-10-27-23-22-14.png
The decrease at the end corresponds to wifi+3G when I got back home and started using the phone "heavily". Roughly, 40% decrease in 12h. That is what I call a good battery life. Notice how the wakelocks closely match the screen on periods.
Whats happening when 3G is ON and Wi-Fi is OFF
We've discussed a bit the "fastdormancy" thing earlier here. Spending a whole day on 3G made the "modem fastdormancy" process drain a high share of battery (10-20% ? Can't remember exactly, but it was in the top-5 list of draining apps, and had a big wakelock time). Further proof that my carrier doesn't support it. I've therefore edited my build.prop to set
ro.mot.ds.fastdormancy.disable=true
Click to expand...
Click to collapse
After that, the process was not found anymore in high-draining apps, and battery life was a little better (again, no values here, I'll update in a few days after I run the tests again and double-check everything).
Can't say much about Google location, but I'd say most requests were not executed.
Whats happening when 3G is OFF and Wi-Fi is ON
Wi-Fi at work did not cause any interesting drain. The phone sat there and was connected all day-long. There were probably a few Google requests to determine its location, with some nlpwakelock, but not really interesting.
What was really interesting was the behaviour outside my workplce (e.g. on the street). I have in my "known networks" some wi-fi hotspots (FreeWifi) that are enabled with my DSL provider: they provide me with codes from my contract that I can use in the street if any other of their customer has a wi-fi enabled on their modem (their is a dedicated SSID broadcasted from their modem). The phone connected automatically whenever it detected this SSID (which was... really often), but the captive portal (to enter credentials) was not filled, because the phone was in my pocket. This caused HUGE wakelocks and drained the battery incredibly fast. I'm talking about draining 50% in an hour or so. I could even feel the phone warming up in my pocket.
So, conclusion here: I think Wi-Fi could be a major cause of battery drain if you have some fav SSID that require credentials through a captive portal.
I'll update in a few days if I find anything else, and to add values to what i've stated here.
Hope that helps!

Huge battery drain problem after Lilipop update

After updating my Z3's firmware to Lilipop, I'm facing huge battery drain. In kitkat, when returning home battery remained 55%. After update, I found it 30-35%. Note that my usage pattern didn't change.
How can I get rid of it?
sameee781 said:
After updating my Z3's firmware to Lilipop, I'm facing huge battery drain. In kitkat, when returning home battery remained 55%. After update, I found it 30-35%. Note that my usage pattern didn't change.
How can I get rid of it?
Click to expand...
Click to collapse
There is another thread for this issue.
Does there have the solution? Please share the link.
Many users reported that a factory reset fixed their problems. Only downside is that you have to reconfigure your phone
done factory reset manytimes but the drain remains..
seems like radio being active by apps is the problem
i'd love to post screenshots but since i am new here you know i am unable
Have you tried using BBS (better battery stats) to isolate the drain? And also try setting "keep wifi in sleepmode" to never or only when connected. Have heard of that working wonders for some.
And the screenshot thing can be overcome by uploading it to a different site and posting only the links
Preper yourself for NO notifications, if you put WI-FI to sleep.
I have wifi asleep and still get notifications. Maybe a little less frequent, but that's because stamina mode is working better (in my opinion) and only checks once in a while for new notifications
crazymister said:
I have wifi asleep and still get notifications. Maybe a little less frequent, but that's because stamina mode is working better (in my opinion) and only checks once in a while for new notifications
Click to expand...
Click to collapse
That' s the Queue background data option that is doing that.
So there ARE notifications Vs what you said that there would be none. I rest my case here
MOD EDIT @gregbradley
@ OP, I also ticked the option that other apps may not use wifi for location even when wifi is off. I believe that may also cost you some juice
Thread closed until Senior Moderators have had their say.
Thread re-opened. Please refrain from causing or continuing arguments
crazymister said:
Have you tried using BBS (better battery stats) to isolate the drain? And also try setting "keep wifi in sleepmode" to never or only when connected. Have heard of that working wonders for some.
And the screenshot thing can be overcome by uploading it to a different site and posting only the links
Click to expand...
Click to collapse
thanks for suggestions ..
It's funny how my phone ran normal for the first week now the phone is being drained by Facebook and feedly, I have made no changes in any settings and its happening now. Haven't looked into the problem yet but don't even know is it third party issues lol.
One thing I found out is that the battery tend to drain at a lesser rate if you leave the phone charged for an extra 20 mins or more after hitting 100%. Just a speculation
LitoNi said:
It's funny how my phone ran normal for the first week now the phone is being drained by Facebook and feedly, I have made no changes in any settings and its happening now. Haven't looked into the problem yet but don't even know is it third party issues lol.
One thing I found out is that the battery tend to drain at a lesser rate if you leave the phone charged for an extra 20 mins or more after hitting 100%. Just a speculation
Click to expand...
Click to collapse
So, blame facebook for the battery drain.
There is an option where you can make the phone play a sound when is fully charged.
.
Just clean flash stock ftf.. Ota just sucks. I did it and my battery returned to prime life again.
.
I doubt that the reason we have the same problem is the same, but since I know how to post a screen cap, here's mine:
.

Battery Drain (Pixel 4a Global)

I reformatted to factory settings, and even reinstalled all factory images. I still get a lot of battery drain daily. the battery details screenshot indicates that Google is always on and Suspend Wakelock is always on. what can I do to fix this issue? I am unable to keep this phone otherwise. I always have battery drain issues on Android yet seems as though Google has not provided a stable fix...
I cant get even one hour of screentime on Android until it hits 80%.
I just need to know how to fix the Wakelock issue because I think that's what it is. I tried Wakelock apps but they don't do anything.
EDIT: resolved. just reflashed using Android Flash Tool and that corrected it.
aohus said:
I reformatted to factory settings, and even reinstalled all factory images. I still get a lot of battery drain daily. the battery details screenshot indicates that Google is always on and Suspend Wakelock is always on. what can I do to fix this issue? I am unable to keep this phone otherwise. I always have battery drain issues on Android yet seems as though Google has not provided a stable fix...
I cant get even one hour of screentime on Android until it hits 80%.
I just need to know how to fix the Wakelock issue because I think that's what it is. I tried Wakelock apps but they don't do anything.
Click to expand...
Click to collapse
use bbs to get more detail of usage. Otherwise nobody could help you.
aohus said:
I reformatted to factory settings, and even reinstalled all factory images. I still get a lot of battery drain daily. the battery details screenshot indicates that Google is always on and Suspend Wakelock is always on. what can I do to fix this issue? I am unable to keep this phone otherwise. I always have battery drain issues on Android yet seems as though Google has not provided a stable fix...
I cant get even one hour of screentime on Android until it hits 80%.
I just need to know how to fix the Wakelock issue because I think that's what it is. I tried Wakelock apps but they don't do anything.
Click to expand...
Click to collapse
Oy Vey. Battery life (power consumption) is outstanding on this device right out of the box. No rogue wakelocks here. Misbehaving apps and panel brightness are the two biggest drainers. Adjust your life and so called "SOT" will improve. Note the battery is 'only' ~3140 mAh. Don't expect all day longevity if gaming or in constant use. That's not what this phone is about.
I was able to resolve the issue by reflashing. I had used BBS hence why the suspendlockout at 100%.
Steps to resolve. (aware that this may not be the most ideal option for some)
- Reflash using the Android Flash Tool (don't manually update, just use the flash tool provided by Google)
- Start from scratch. Do not restore from backup. Install most needed apps.
- Observe battery drain over the course of the day
The issue was that Google app (not sure which app that is) did not run in background properly hence the high drain.
I was able to get 6 hours of SOT once I reflashed. Here is to hoping 7 hours of SOT with a modified kernel.
aohus said:
I was able to resolve the issue by reflashing. I had used BBS hence why the suspendlockout at 100%.
Steps to resolve. (aware that this may not be the most ideal option for some)
- Reflash using the Android Flash Tool (don't manually update, just use the flash tool provided by Google)
- Start from scratch. Do not restore from backup. Install most needed apps.
- Observe battery drain over the course of the day
The issue was that Google app (not sure which app that is) did not run in background properly hence the high drain.
I was able to get 6 hours of SOT once I reflashed. Here is to hoping 7 hours of SOT with a modified kernel.
Click to expand...
Click to collapse
Kernel appears well optimized on this device; doubt you will see significant power utilization improvements with custom varients. More likely to score headaches w/o a corresponding benefit.
I'm on my second cycle. Got close to 9 hrs sot on first. Here's my 2nd after useing it for an hour this morning. Even better than my OP5T! I use wifi almost all the time since I don't get any cell bars at home.
tcat007 said:
I'm on my second cycle. Got close to 9 hrs sot on first. Here's my 2nd after useing it for an hour this morning. Even better than my OP5T! I use wifi almost all the time since I don't get any cell bars at home.
Click to expand...
Click to collapse
I'm getting low numbers like op, 4-5 sot but I'm only on cell data (no wifi in this apartment for now). Could wifi vs cell account for such a big difference? Thanks!
suda space said:
I'm getting low numbers like op, 4-5 sot but I'm only on cell data (no wifi in this apartment for now). Could wifi vs cell account for such a big difference? Thanks!
Click to expand...
Click to collapse
Yep - especially if signal is weak/marginal forcing the mobile radio to maintain a higher power level. Same thing can happen on WiFi although have more options to cycle WiFi on/off during screen off operations. In contrast, mobile radio is on 7x24 unless you tell it otherwise.
DB126 said:
Yep - especially if signal is weak/marginal forcing the mobile radio to maintain a higher power level. Same thing can happen on WiFi although have more options to cycle WiFi on/off during screen off operations. In contrast, mobile radio is on 7x24 unless you tell it otherwise.
Click to expand...
Click to collapse
Ok thanks. I’ll test it out soon on wifi and see what happens.
I saw that the Pixel 5 is about the same form size as the 4a but with the larger battery. Out of curiosity, anyone know if it’s possible to jam that 4,000mah battery inside the 4a? I haven’t seen the internals so don’t know if there’s enough room.
keaheng said:
use bbs to get more detail of usage. Otherwise nobody could help you.
Click to expand...
Click to collapse
May I know what bbs is ?
[email protected] said:
May I know what bbs is ?
Click to expand...
Click to collapse
It's the app "BetterBatteryStats"
[APP][2.2+][11 Dec. 2022 - V3.1] BetterBatteryStats
I started BetterBatteryStats because I was missing the great battery history that Spare Parts allowed to call on Froyo. It has been a long journey since the first version. BetterBatteryStats provides an insight in following categories: - General...
forum.xda-developers.com
BetterBatteryStats – Apps bei Google Play
Ein hoher Batterieverbrauch ist ein limitierender Faktor für eine positive Nutzererfahrung.
play.google.com
Can be very helpful to find the app/service which effects the battery drain.

Categories

Resources