Battery Drain in deep sleep always 2-5% per hour. WIFI related - OnePlus 7 Pro Questions & Answers

I've been googling this issue for 3 months now. The battery drain while the phone is asleep is outrageous from day 1 of owning it. Most nights Accubattery shows a loss of 2 to 5% per hour while screen is off, and usually like 93% of the screen off time is in deep sleep. The drain should be 0.5% at most.
I confirmed that battery saving mode cures the issue. I have now confirmed that simply turning off wifi cures the issue. I'm practically certain that Wifi is the cause. BUT WHY?
I have tried flashing the NoLimits xXx Magisk mod, and have tried other custom ROMs and this issue persists. I have even completely reflashed back to stock using the unbrick procedure with the MSMDownloadTool.exe. We can rule out all possible custom tweaks. This phone is stock and it's doing this.
I've tried a variety of settings people have mentioned like turning off printer service, and a couple settings in Dev Options like App Wifi Multi Broadcast Filter. I've enabled the same filter on my router. No luck.
My router is a Linksys EA7300. What can I do besides replace my router? Its a powerful router but is very locked down, settings wise, with no custom firmwares like WRT. I'm pretty much stuck with it. It has no advanced options to dig through...
Edit: Well I swapped routers entirely and I can already tell this is draining just as fast when connected to it. Its just the Wifi driver entirely to blame.
Here's last night.
https://i.imgur.com/gHNoyzv.jpg
https://i.imgur.com/OahPtJq.jpg

Mozgus said:
I've been googling this issue for 2 months now. The battery drain while the phone is asleep is outrageous from day 1 of owning it. Most nights Accubattery shows a loss of 2 to 5% per hour while screen is off, and usually like 93% of the screen off time is in deep sleep. The drain should be 0.5% at most.
I confirmed that battery saving mode cures the issue. I have now confirmed that simply turning off wifi cures the issue. I'm practically certain that Wifi is the cause. BUT WHY?
I have tried flashing the NoLimits xXx Magisk mod, and have tried other custom ROMs and this issue persists. I have even completely reflashed back to stock using the unbrick procedure with the MSMDownloadTool.exe. We can rule out all possible custom tweaks. This phone is stock and it's doing this.
I've tried a variety of settings people have mentioned like turning off printer service, and a couple settings in Dev Options like App Wifi Multi Broadcast Filter. I've enabled the same filter on my router. No luck.
My router is a Linksys EA7300. What can I do besides replace my router? Its a powerful router but is very locked down, settings wise, with no custom firmwares like WRT. I'm pretty much stuck with it. It has no advanced options to dig through...
Click to expand...
Click to collapse
Check if wifi and bluetooth scanning is on under location settings. If so, disable them at once

avid_droid said:
Do you have Google pay? I was on 10.3.1 and had Google pay activated so location history was always on to have it work. That totally killed my battery, I'm talking insane amounts of drain. I'm back to TMobile 10.0.2 and turned that off and have most of my apps optimized. Also I installed GMS doze through magisk and I'm getting decent battery life. My WiFi is on 24/7,data always enabled, allow location to some apps while using and everything is fine.
Click to expand...
Click to collapse
I never use Google Pay and I always disable that app. I cant even use it if I wanted because it requires a secured lockscreen, which I dont want. Do I need to do more than just disable the app? Also the NoLimits xXx Magisk mod included that GMS doze function and that didnt cure the issue.
amirage said:
Check if wifi and bluetooth scanning is on under location settings. If so, disable them at once
Click to expand...
Click to collapse
Those are always off. I see no use for them to be on. GPS always works fine without them.

Mozgus said:
I never use Google Pay and I always disable that app. I cant even use it if I wanted because it requires a secured lockscreen, which I dont want. Do I need to do more than just disable the app? Also the NoLimits xXx Magisk mod included that GMS doze function and that didnt cure the issue.
Those are always off. I see no use for them to be on. GPS always works fine without them.
Click to expand...
Click to collapse
If you are rooted, I'd suggest downloading betterbatterystats app. This would show the exact app that's the culprit.

amirage said:
If you are rooted, I'd suggest downloading betterbatterystats app. This would show the exact app that's the culprit.
Click to expand...
Click to collapse
Already did that for a couple nights. It did not. No apps were guilty of anything, just like every other battery monitor said. App usages were like 1 or 2% and in no way added up to 40% loss overnight.

Mozgus said:
Already did that for a couple nights. It did not. No apps were guilty of anything, just like every other battery monitor said. App usages were like 1 or 2% and in no way added up to 40% loss overnight.
Click to expand...
Click to collapse
Did you check partial wakelocks/ kernel wakelocks section in the app? It may not always be an app that may cause this...it could be a sensor or so. If everything is normal, I'd suggest installing a custom kernel of your choice and check for drains over 3 days..

amirage said:
Did you check partial wakelocks/ kernel wakelocks section in the app? It may not always be an app that may cause this...it could be a sensor or so. If everything is normal, I'd suggest installing a custom kernel of your choice and check for drains over 3 days..
Click to expand...
Click to collapse
Yes at the time I looked at every line of data it gave. Some wakelock entries had 400-1000 instances in 8 hours of sleeping, but I was googling them as keywords and was finding absolutely nothing useful. As usual, I was the only human being on earth with a technical issue. I always seem to be patient zero for this kind of crap.
I guess I need to wipe my phone yet again, abandon stock and abandon bootloader lock. That will take my whole weekend up again. I just want a damn device I paid $550 to actually work.
I truly miss my first android. Ran 2.0. Flashing roms was easy. Everything just worked.
Edit: I completely switched routers and the result is the same after an hour. 5% drained in an hour literally just doing nothing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Mozgus said:
Yes at the time I looked at every line of data it gave. Some wakelock entries had 400-1000 instances in 8 hours of sleeping, but I was googling them as keywords and was finding absolutely nothing useful. As usual, I was the only human being on earth with a technical issue. I always seem to be patient zero for this kind of crap.
I guess I need to wipe my phone yet again, abandon stock and abandon bootloader lock. That will take my whole weekend up again. I just want a damn device I paid $550 to actually work.
I truly miss my first android. Ran 2.0. Flashing roms was easy. Everything just worked.
Edit: I completely switched routers and the result is the same after an hour. 5% drained in an hour literally just doing nothing.
Click to expand...
Click to collapse
Dude Flash 9.5.13 for the time being! And See What Happens!

What OOS Version are you on?

aaryan45 said:
Dude Flash 9.5.13 for the time being! And See What Happens!
Click to expand...
Click to collapse
Any indication that this would be worth doing? I dunno about downgrading firmware. Can that also be done by just flashing with MSMDownloadTool?
Hirs_E_Fruit said:
What OOS Version are you on?
Click to expand...
Click to collapse
10.3.1. Newest Global/US
I added pictures to show what I am talking about. Here's last night.
https://i.imgur.com/gHNoyzv.jpg
https://i.imgur.com/OahPtJq.jpg

Mozgus said:
Yes at the time I looked at every line of data it gave. Some wakelock entries had 400-1000 instances in 8 hours of sleeping, but I was googling them as keywords and was finding absolutely nothing useful. As usual, I was the only human being on earth with a technical issue. I always seem to be patient zero for this kind of crap.
I guess I need to wipe my phone yet again, abandon stock and abandon bootloader lock. That will take my whole weekend up again. I just want a damn device I paid $550 to actually work.
I truly miss my first android. Ran 2.0. Flashing roms was easy. Everything just worked.
Edit: I completely switched routers and the result is the same after an hour. 5% drained in an hour literally just doing nothing.
Click to expand...
Click to collapse
It seems there's some sensor that's running rogue in your phone which is why your settings is the top draining app. Are you rooted? If aren't, I'd suggest rooting and then installing betterbatterystats (https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) and checking what app/ setting is screwing with your battery. For all you know, you may have a broken sensor/ hardware. If so, the best solution is to RMA your device
---------- Post added at 07:05 AM ---------- Previous post was at 07:02 AM ----------
Mozgus said:
Any indication that this would be worth doing? I dunno about downgrading firmware. Can that also be done by just flashing with MSMDownloadTool?
10.3.1. Newest Global/US
I added pictures to show what I am talking about. Here's last night.
https://i.imgur.com/gHNoyzv.jpg
https://i.imgur.com/OahPtJq.jpg
Click to expand...
Click to collapse
Can you stop VoWifi? I feel this is the issue

Mozgus said:
Any indication that this would be worth doing? I dunno about downgrading firmware. Can that also be done by just flashing with MSMDownloadTool?
10.3.1. Newest Global/US
I added pictures to show what I am talking about. Here's last night.
https://i.imgur.com/gHNoyzv.jpg
https://i.imgur.com/OahPtJq.jpg
Click to expand...
Click to collapse
I went back from the 10.3.1/10.0.4 Update because of to much drain and heating and it is so much better now with the 10.3.0/10.0.3 Update

Hirs_E_Fruit said:
I went back from the 10.3.1/10.0.4 Update because of to much drain and heating and it is so much better now with the 10.3.0/10.0.3 Update
Click to expand...
Click to collapse
Um, I've had this issue from day one of owning the phone on Android 9.0. So that answers that. I will not be downgrading.
amirage said:
Can you stop VoWifi? I feel this is the issue
Click to expand...
Click to collapse
Ok...I will try turning off voice over wifi. I cant imagine how that would be a drain when I'm not making calls while I sleep though...
Edit: Tried it. Still drained 2% per hour, which is about the best I've ever gotten with wifi on, so it probably didnt have an impact. I tend to have 1 night or so a week where it decides to drain 2%/h instead of 4%/h. This was likely another one of those nights.

Do you use Tasker?
In my case the Tasker's location triggered profile, caused the battery drain.

eyalsa said:
Do you use Tasker?
In my case the Tasker's location triggered profile, caused the battery drain.
Click to expand...
Click to collapse
I've never used Tasker. Also I have gone through all permissions for all apps and made sure nothing has access to such things that arent absolutely needed.

OnePlus support got back to me and had me try Safe Mode. Didn't know this existed. Hold your power button then hold Power Off selection until a safe mode popup shows. So I did that, turned off airplane mode, turned on wifi. Let it sit and it would seem it drained only 1% over 3 hours, which is great, so I am stumped once again. I wonder if there is some setting in my google account that is the culprit here. Maybe I should reset the phone again, get past the setup pages, but NOT log into a google account, and see how the battery does on wifi then.

Mozgus said:
OnePlus support got back to me and had me try Safe Mode. Didn't know this existed. Hold your power button then hold Power Off selection until a safe mode popup shows. So I did that, turned off airplane mode, turned on wifi. Let it sit and it would seem it drained only 1% over 3 hours, which is great, so I am stumped once again. I wonder if there is some setting in my google account that is the culprit here. Maybe I should reset the phone again, get past the setup pages, but NOT log into a google account, and see how the battery does on wifi then.
Click to expand...
Click to collapse
If it's something to do with your google account, you should google play services as the top draining app. I really think you need to betterbatterystats (BBS) to really see what's screwing with your battery. AccubatteryPro doesn't really give as detailed picture as BBS.

Mozgus said:
I've been googling this issue for 3 months now. The battery drain while the phone is asleep is outrageous from day 1 of owning it. Most nights Accubattery shows a loss of 2 to 5% per hour while screen is off, and usually like 93% of the screen off time is in deep sleep. The drain should be 0.5% at most.
I confirmed that battery saving mode cures the issue. I have now confirmed that simply turning off wifi cures the issue. I'm practically certain that Wifi is the cause. BUT WHY?
I have tried flashing the NoLimits xXx Magisk mod, and have tried other custom ROMs and this issue persists. I have even completely reflashed back to stock using the unbrick procedure with the MSMDownloadTool.exe. We can rule out all possible custom tweaks. This phone is stock and it's doing this.
I've tried a variety of settings people have mentioned like turning off printer service, and a couple settings in Dev Options like App Wifi Multi Broadcast Filter. I've enabled the same filter on my router. No luck.
My router is a Linksys EA7300. What can I do besides replace my router? Its a powerful router but is very locked down, settings wise, with no custom firmwares like WRT. I'm pretty much stuck with it. It has no advanced options to dig through...
Edit: Well I swapped routers entirely and I can already tell this is draining just as fast when connected to it. Its just the Wifi driver entirely to blame.
Here's last night.
https://i.imgur.com/gHNoyzv.jpg
https://i.imgur.com/OahPtJq.jpg
Click to expand...
Click to collapse
I have the exact issue I have tried all the things you have and what had been suggested and more but nothing seems to work

Take a look at this, after this tip my idle drain got a major improvement.just remember to restart after you apply the tip.Read the whole thread.
https://www.reddit.com/r/oneplus/co...with/?utm_medium=android_app&utm_source=share

reza6d said:
Take a look at this, after this tip my idle drain got a major improvement.just remember to restart after you apply the tip.Read the whole thread.
https://www.reddit.com/r/oneplus/co...with/?utm_medium=android_app&utm_source=share
Click to expand...
Click to collapse
Tried that weeks ago. Also enabled the same setting on my router itself. No difference.

Related

Tricky Idle battery drain problem

***********************
**** I have been performing controlled experiments to the best of my ability. See below for results. ****
Experiment #1: Isolate if this is due to Wifi
Methodology (one test per night)
1. Keep wifi off. Perform a set usage pattern, then keep phone on sleep all night.
2. Perform the set usage pattern using wifi, then keep phone on sleep all night with wifi turned on.
3. Perform the set usage pattern using wifi, then keep phone on sleep all night with wifi turned off.
Results:
http://forum.xda-developers.com/showpost.php?p=50548879&postcount=27
Experiment #2: Isolate if this is due to GPS/Location Services (Ongoing)
Methodology (one test per night)
1. Keep GPS off. Perform a set usage pattern, then keep phone on sleep all night. [This is identical to the WiFi experiment, so there is no need to replicate this]
2. Perform the set usage pattern using WIFI, then keep phone on sleep all night with GPS turned on.
3. Perform the set usage pattern using GPS, then keep phone on sleep all night with wifi turned off.
Results:
http://forum.xda-developers.com/showpost.php?p=50685378&postcount=69
***********************
So, I've been battling idle drain battery problems for a while now . I was unable to make much progress because I did not have visibility into partial wakelocks on the system . So I did what any inquisitive person would, I rooted my phone. Bye bye warranty.
Now that I have root, I am able to see the partial wakelocks in better battery stats. To my partial surprise , I do not see any substantial partial wakelocks that would explain the significant battery drain at night. I have good cellular signal, and wifi signal where the phone is placed.
Any clues?
Almost 25 percent in 9 hours. Also notice the lack of activity between successive awake blips, and the constant battery drain that occurs between them. Before I even got root and was able to look at the partial wakelocks, I had already suspected that there were no wakelocks going on but yet the battery was draining.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Below are screenshots from the stock battery app showing the top battery drainers and the details of the major ones.
By the way, I would attribute approximately 6 percent of the battery drain due to the screens. I have quite a bit of data that suggests at the brightness levels I was using the screen for those 30 minutes, the drain rate should have been around 12 percent per hour. That still leaves 18 to 20 percent of battery to be accounted for. According to better battery stats, the phone was only awake for around 30 minutes total when the screen was off. And looking at the CPU Lodge, it's clear that those 30 minutes or so were spent in the lowest frequency mode , and that the phone was in deep sleep at all other times.
Attached are the better battery stats logs that shows the partial wakelocks as well. I don't know why the CPU's states are not included in the file but I can assure you I took a look look at it and the 30 or so minutes of awake time were perfectly captured by the 300mhz state.
http://pastebin.com/j685pa5q
Sent from my XT1034 using Tapatalk
I turned airplane mode on, and left location services on. Battery drain was 2.8%/hr (measured over a 5% battery drain interval) with the phone only being awake for 7min 28sec when the screen was off. There were around 5min of NLP wakelocks, and some other miscelaneous ones. I don't think that explains the battery drain fully.
Then, I turned off location services, and the battery drain has been 1.7%/hr (measured over an 8% battery drain interval) with a total awake time of 5 mins, and of that only 1 min of awake time when the screen was off. Very few to no wakelocks.
What is wrong? Why is the battery draining at ~2%/hr with airplane mode on, location services off, and the phone being in deep sleep pretty much the whole time!?
Hey I'm trying to find if there of a pattern with the battery drain and the battery voltage (mv) .I slightly have the felling the battery is a bit wonky . Could you check the battery voltage while charging just before 100% and the voltage when it has fully charged ? .. Try the code *#*#4636#*#*
I feel the my peak battery voltage has dropped significantly over the last 2 weeks.
Sent from my XT1033 using Tapatalk
I have the same problem with mine, no clue what the problem is, I turned off location services and I dont use 3g at all, only wifi while at home or other places sometimes, but the drain persists, still dont know what to do
Sent from my Moto G :3
Try a Cache wipe in recovery - http://forum.xda-developers.com/showthread.php?t=2634361
neu - smurph said:
Try a Cache wipe in recovery - http://forum.xda-developers.com/showthread.php?t=2634361
Click to expand...
Click to collapse
I don't think a cache wipe is the solution. For example, see the updated battery settings screenshot below. The flat line at the end is the result of just rebooting the device (no cache wipe). The battery is no longer draining constantly, even though the same services are activated.
I'm the OP of the thread that I think first reported this issue. Note that I found that the drain is noticeable in airplane mode as you expect there to be almost zero drain, however it still happens when not in airplane mode as well, you just notice it less as the device is doing other stuff which all adds up to battery drain.
I think there is a driver bug, most likely a WiFi driver bug or possibly GPS driver bug. For example maybe GPS is somehow constantly active but the bug manifests itself in such a way that this is not reported to the OS itself which is why you do not see it active in the battery screen .
I had the exact same issue as reported above, no wakelocks over and above the normal amount but the drain was 3% hr or so. A reboot fixed it but it would reoccur when i connected to another WiFi network.
A factory reset fixed it completely until a few weeks ago when I was on the road and used GPS. That night I had the battery drain issue again.
So whether its WiFi or GPS that's the cause I don't know, and why, for me, did it stay fixed for so long. I also can't remember if I had GPS switched on when I first had the issue before the factory reset so makes it harder for me to determine the cause.
The above was all on 4.3. I've now upgraded to 4.4.2.
I think the only way to debug will to be to pull off all the various logs from android, you may even need to turn on various debugging/logs from the OS to capture more logs. I'm pretty sure you wont diagnose from just looking at wakelocks and battery screens.
If you can recreate this problem, and sounds like some of you have it a lot, then you are in a good position to get the logs.
BTW does anyone use the BBC weather app, I noticed this caused a LOT of NLP wakelocks so don't think its related but I did notice on 4.4.2 that it drained battery fast so I uninstalled. There is a thread in xda that I started about it.
A poster above says to clear cache, this is normally pointless as /cache will usually contain nothing except a few empty folders and a couple of log files. Also clearing cache means a reboot which temporarily fixes the issue anyway.
scott_doyland said:
I'm the OP of the thread that I think first reported this issue. Note that I found that the drain is noticeable in airplane mode as you expect there to be almost zero drain, however it still happens when not in airplane mode as well, you just notice it less as the device is doing other stuff which all adds up to battery drain.
I think there is a driver bug, most likely a WiFi driver bug or possibly GPS driver bug. For example maybe GPS is somehow constantly active but the bug manifests itself in such a way that this is not reported to the OS itself which is why you do not see it active in the battery screen .
I had the exact same issue as reported above, no wakelocks over and above the normal amount but the drain was 3% hr or so. A reboot fixed it but it would reoccur when i connected to another WiFi network.
A factory reset fixed it completely until a few weeks ago when I was on the road and used GPS. That night I had the battery drain issue again.
So whether its WiFi or GPS that's the cause I don't know, and why, for me, did it stay fixed for so long. I also can't remember if I had GPS switched on when I first had the issue before the factory reset so makes it harder for me to determine the cause.
The above was all on 4.3. I've now upgraded to 4.4.2.
I think the only way to debug will to be to pull off all the various logs from android, you may even need to turn on various debugging/logs from the OS to capture more logs. I'm pretty sure you wont diagnose from just looking at wakelocks and battery screens.
If you can recreate this problem, and sounds like some of you have it a lot, then you are in a good position to get the logs.
BTW does anyone use the BBC weather app, I noticed this caused a LOT of NLP wakelocks so don't think its related but I did notice on 4.4.2 that it drained battery fast so I uninstalled. There is a thread in xda that I started about it.
A poster above says to clear cache, this is normally pointless as /cache will usually contain nothing except a few empty folders and a couple of log files. Also clearing cache means a reboot which temporarily fixes the issue anyway.
Click to expand...
Click to collapse
Thanks you very much for your reply Scott.
As you can see in my troubleshooting, I eventually turned location services and wifi off, but still measured a considerable battery drain. Do you suppose that once you use wifi, or location services after bootup, the effect may remain afterward even if they are switched off? If so, do you agree that if I turn off location services and wifi, then reboot so that the phone boots up with neither - that should be able to verify your hypothesis?
I'll go ahead and try that for a few days and see how it goes. Will report back.
Others have mentioned something to do with the cellular radio power management, and how rebooting and clearing the cache helps with that (apparently this came from a motorola rep...). I've included a data point in this thread where I merely rebooted without a cache clear and the problem went away. So, perhaps the clearing of the cache really does nothing at all ...
If this is a software issue, why aren't all phone with the same software version effected? How are people getting 6-7 days of standby time consistently? Maybe they never use wifi or location services? Well, I intend to test the wifi/gps hypothesis soon .
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
twist3d0n3 said:
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
Click to expand...
Click to collapse
Do you need the donate version to hibernate them?
twist3d0n3 said:
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
Click to expand...
Click to collapse
So that´s exactly what I did, too. Turns out my Moto G is a battery monster, 2 days with average screen time without any problems.
tictac0566 said:
So that´s exactly what I did, too. Turns out my Moto G is a battery monster, 2 days with average screen time without any problems.
Click to expand...
Click to collapse
This thread is specifically about battery drain caused by something unknown, not an app or wakelock, I think we should try to keep it clean by not cluttering with app related issues as that can then be confusing for people who are reading through the thread. Thanks.
---------- Post added at 11:40 AM ---------- Previous post was at 11:16 AM ----------
if0rg0t said:
Thanks you very much for your reply Scott.
As you can see in my troubleshooting, I eventually turned location services and wifi off, but still measured a considerable battery drain. Do you suppose that once you use wifi, or location services after bootup, the effect may remain afterward even if they are switched off? If so, do you agree that if I turn off location services and wifi, then reboot so that the phone boots up with neither - that should be able to verify your hypothesis?
I'll go ahead and try that for a few days and see how it goes. Will report back.
Others have mentioned something to do with the cellular radio power management, and how rebooting and clearing the cache helps with that (apparently this came from a motorola rep...). I've included a data point in this thread where I merely rebooted without a cache clear and the problem went away. So, perhaps the clearing of the cache really does nothing at all ...
If this is a software issue, why aren't all phone with the same software version effected? How are people getting 6-7 days of standby time consistently? Maybe they never use wifi or location services? Well, I intend to test the wifi/gps hypothesis soon .
Click to expand...
Click to collapse
Well I cant answer all your questions but I will tell you about my test last night. I hardly use GPS at all (and my battery is normal) and last time I did use GPS I had the battery drain as per my post above, so last night I:
1. Drove 15mins from my house.
2. Switched on GPS (high accuracy).
3. Started google maps and drove for 2mins with GPS in use.
4. Shutdown maps app and drove home (GPS still on - ie high accuracy).
5. At home used phone for bit of XDA on wifi for a bit.
6. Switched on airplane mode but location service still on (note airplane mode does NOT switch off GPS), woke up at 02:00AM and noted I had the annoying battery drain - arghhh.
7. Switched off GPS - woke up 2 hrs later and drain still happening.
8. Switch off location altogether - woke up in morning and drain still happening.
9. Rebooted phone and now battery back to normal, Im back on wifi/mobile location (battery saving).
So to me it looks like its maybe related to GPS in some way but whether its purely GPS or a GPS/wigi/location combo I have no idea.
However I have in the past switced on GPS in my house just to play about and havent has the drain, so is it due to a larger change of location when GPS is on (ie 15mins drive from my house) that causes it to go bad.
So annoying, I took a CWM backup before I booted up my phone so I will pull that to my laptop and see if there are any obvious error logs to look at but I doubt it.
Im still leaning towards a driver issue or maybe some component, eg GPS chip, staying alive/awake even when not in use but m sure others have reported they have it with location/GPS off completely. Maybe its even a few different problems.
You said not everyone has the error, but I bet quite a few non-xda people do but do not realise. A lot of people will just charge their phones overnight so wont even realise, during the day they will think ~2% drop per hour is normal. Even if they do notice the drop in airplane mode they probably think thats normal and ignore it.
I think getting Motorola to accept there is an error is going to be almost impossible especially if its hardware related. Also as we have unlocked bootloader I doubt they will even accept a call once they know that.
I think it would be interesting to get a list of phones that are affected, ie model, serial no, location brought, ROM etc. maybe its a certain batch of phones, if we can determine that it would be some help, maybe we could buy one that isnt affected
So to start it off my phone is
XT1032 UK retail brought from Basildon, Essex, UK from phones4u.
Problem happens on 4.3 stock and 4.4.2 stock.
Baseband version is MSM8626BP_1032.340.63.00R.
Im tempted to flash GPE and/or new basenband radio but I bet the same thing happens.
I may see if there is a new GPS driver but no idea how to flash it etc.
Such a shame as this phone is excellent for me otherwise.
Just seen this thread as well, it blames GPS
http://forum.xda-developers.com/showthread.php?t=2607641
if0rg0t said:
Do you need the donate version to hibernate them?
Click to expand...
Click to collapse
if they're system apps, yeah. totally worth it tho cos you can do maps/fb etc too, also you can allow apps that get push messages to still give you notifications whilst greenified.
e: just to note, i have gps (high accuracy) enabled constantly and still manage 2 days.
twist3d0n3 said:
if they're system apps, yeah. totally worth it tho cos you can do maps/fb etc too, also you can allow apps that get push messages to still give you notifications whilst greenified.
e: just to note, i have gps (high accuracy) enabled constantly and still manage 2 days.
Click to expand...
Click to collapse
Maybe you can help test if you don't mind.
1. Use Google maps with high accuracy when you go out for 5mins or so.
2. Once home use phone as normal on WiFi for a bit, just 10mins will be enough.
3. Take note of battery percent.
4. Switch on airplane mode for 2hrs - DO NOT USE PHONE during this time.
5. After 2hrs take note of battery percent.
6. Report the battery percents recorded in this thread.
If you can do this we would be grateful.
Let us know your phone model, where purchased, ROM etc.
Thanks.
Hi,
Following this MotoG thread for some time I have to admit that my MotoG also has the same issue from time to time.
This is the reason now that I joined XDA because this issue is a real pain.
Having my MotoG for three weeks now I had to restart it four or five times to get rid of the excessive battery drain.
My MotoG (XT1032) is bought in the Netherlands, unlocked, rooted, CWM and stock ROM.
I did remove some Motorola apps and disabled some.
Because of the last remarks that it seems to be GPS related, I want to let you know that it also happened to me without using the GPS.
Yesterday it happened at school, at first the drain was not present but suddenly it started.
In the between the two situation I only checked my mail through Wifi and checked some news.
My MotoG has Wifi always on, bluetooth off, GPS off.
There must be something more than just GPS which causes this drain.
Hopefully we can find the root cause soon.
Mickeyvdb said:
Hi,
Following this MotoG thread for some time I have to admit that my MotoG also has the same issue from time to time.
This is the reason now that I joined XDA because this issue is a real pain.
Having my MotoG for three weeks now I had to restart it four or five times to get rid of the excessive battery drain.
My MotoG (XT1032) is bought in the Netherlands, unlocked, rooted, CWM and stock ROM.
I did remove some Motorola apps and disabled some.
Because of the last remarks that it seems to be GPS related, I want to let you know that it also happened to me without using the GPS.
Yesterday it happened at school, at first the drain was not present but suddenly it started.
In the between the two situation I only checked my mail through Wifi and checked some news.
My MotoG has Wifi always on, bluetooth off, GPS off.
There must be something more than just GPS which causes this drain.
Hopefully we can find the root cause soon.
Click to expand...
Click to collapse
Thanks for your reply, have you confirmed this drain happens when in airplane mode as well and that no wakelocks occur, no unusual statistics in battery screen etc. I ask as some people say they have the issue but then say they have greenified an app etc to stop it which basically means they dont have the issue at all. Im not saying I dont believe you, far from it, I just want to confirm its exactly the same issue as a few of us are seeing. Next time can you NOT reboot but leave phone in airplane mode for a few hours and DONT use it at all, then see if battery has gone down by 2-3% per hour.
Thanks.
Have not used airplane mode to check it, but will sure do this when it happens next time.
What I observed in battery stats was a high percentage of android-os.
I have not used greenify so far.
Sent from my GT-P3110 using xda app-developers app
Mickeyvdb said:
Have not used airplane mode to check it, but will sure do this when it happens next time.
What I observed in battery stats was a high percentage of android-os.
I have not used greenify so far.
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Doesn't sound like the same issue if android OS shows high in battery stats. That sounds more like a wakelock issue of some kind which still means you may get drain in airplane mode but for a different reason.
This thread is specifically for the problem of ALL battery stats looking normal, so android OS doesn't show up as high.
I think your best get is to root and install 'wakelock detector' app and you will probably see some high wakelock for android OS.
Thanks for your post on the Motorola forums Scott. It was well written, and to the point. I hope this issue gets the attention it deserves. I'll be reporting in the next few days with my experiments.
scott_doyland said:
Doesn't sound like the same issue if android OS shows high in battery stats. That sounds more like a wakelock issue of some kind which still means you may get drain in airplane mode but for a different reason.
This thread is specifically for the problem of ALL battery stats looking normal, so android OS doesn't show up as high.
I think your best get is to root and install 'wakelock detector' app and you will probably see some high wakelock for android OS.
Click to expand...
Click to collapse
Sorry to post this wrong condition.
I had the impression that I was suffering the same problem.
Will have a look with a 'wakelock detector' to see if I can tackle the high android-os consumption since I rooted my device already.
Although the issue seems different I will have a good look this morning since I have to use the GPS.
Will keep you informed if I notice something weird.

[Q] What is causing my fantastically strong battery drain?

UPDATE 2, NOT RESOLVED: After about a month, the battery drain returned. I currently do not know what is causing it.
UPDATE 1, RESOLVED: The problem was either related to bad router firmware (I believe this is the most likely), a bad computer running on the same network, or a combination of the two.
Something is draining my battery at an alarming rate when the screen is off.
Android's "Battery" screen shows "Android System" and "Android OS" are consuming a huge amount of battery.
Android's "Battery -> History details" screen shows something is continually waking the phone up to the point of absurdity.
My phone is running stock 4.4.2 with root. It also has the stock recovery installed.
My superuser app is Koush's Superuser.
Apps with superuser privileges are: AFWall+ (Donate), AdAway, DataSync, Helium, Titanium Backup, BetterBatteryStats, and Greenify
I also manually added busybox to /system/xbin (version: busybox1.22.1-Stericson)
This problem only started recently. At the beginning, it was an intermittent problem. It seems it is becoming more frequent.
I think it started with the last update to either superuser, or AFWall+, but I'm not positive.
The drain seems to happen regardless of whether WiFi is on or off. When WiFi is on, my phone is approximately 30 feet from the router.
I have attached the log from BetteryBatteryStats.
If anyone can help, I would be very grateful. My phone has become unusable.
I am sad
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
denshigomi said:
Something is draining my battery at an alarming rate when the screen is off.
Android's "Battery" screen shows "Android System" and "Android OS" are consuming a huge amount of battery.
Android's "Battery -> History details" screen shows something is continually waking the phone up to the point of absurdity.
My phone is running stock 4.4.2 with root. It also has the stock recovery installed.
My superuser app is Koush's Superuser.
Apps with superuser privileges are: AFWall+ (Donate), AdAway, DataSync, Helium, Titanium Backup, BetterBatteryStats, and Greenify
I also manually added busybox to /system/xbin (version: busybox1.22.1-Stericson)
This problem only started recently. At the beginning, it was an intermittent problem. It seems it is becoming more frequent.
I think it started with the last update to either superuser, or AFWall+, but I'm not positive.
The drain seems to happen regardless of whether WiFi is on or off. When WiFi is on, my phone is approximately 30 feet from the router.
I have attached the log from BetteryBatteryStats.
If anyone can help, I would be very grateful. My phone has become unusable.
I am sad
Click to expand...
Click to collapse
I'm sad too
Look at this! Every so often this happens. 11hrs!!! This is with location reporting and history off as well as auto-sync off.
You could try turning off location reporting (settings>location>Google location reporting) it made a HUGE difference for me.
Sent from my Nexus 5 using Tapatalk
My GPS was off all day and this isn't a fluke occurrence. It's happening to me almost every day. I didn't even touch my phone, and it drained from 100% to 34% in 9 hours 5 minutes. That's a loss of 7.3% per hour when it's not in use. And this was one of the better days.
My location reporting is already off. There is a plethora of users complaining that they want better battery life. This thread isn't as simple as that.
My phone won't stay in deep sleep. There is something wrong and I can't figure out what it is. Sometimes my phone gets hot (about as hot as it gets when I play Plants vs Zombies 2) when it's just sitting on my desk with the screen off. What is using that much CPU when it should be asleep?
Thank you for the suggestions. I truly appreciate them. I remain hopeful someone will solve this mystery.
Here is what a bad day looks like. 5% battery left after 6 hours 43 minutes without using the phone.
In this next picture, my phone managed to go to sleep for a while and we can see the battery drain was normal during that time.
Wow. I have nearly the same problem. But my problem is only, when I'm not connected to a Wi-Fi network. Then, my phone can't get to deep sleep half the time and battery runs down very quick.
But I have the problem with bam_dmux_wakelock all the time.
On your BBS logcat I only think, this problem is caused by an app.
What I've done: backup made with titanium backup.
Installed the stock image from google. Rooted this (for BBS ) with the superSU zip file found on his website.
Then started, logging in with my google account and let it sit to sync everything. I only installed whatsapp and BBS, no other app.
I would suggest you to do this, too. I think there is at least one app, that won't let your device sleep.
On my problem I can't help myself. The problem is still there. But the bam_dmux problem is really another as yours, but drains the battery, too.
Sent from my IPhone 7s
I systematically removed all my programs, checking my wakelock status to see if the problem was resolved.
I ended up uninstalling all programs, but the problem persisted.
I reversed all my root operations, but the problem persisted.
I unrooted and disabled all built-in applications, but the problem persisted.
I cleared the cache and data for all applications that couldn't be disabled, but the problem persisted.
My only option is to start from a fresh installation of Android.
I have no idea what caused this bug to appear, and I have no way of knowing if it will return.
I am very disappointed.
denshigomi said:
I am very disappointed.
Click to expand...
Click to collapse
Why? Something is pinning you're CPU at max for over two hours. Whatever is causing it is an app on your end. It's not the OS. Connectivity services is super high as well. Figure out what app is creating that and you solve the riddle.
theesotericone said:
Why? Something is pinning you're CPU at max for over two hours. Whatever is causing it is an app on your end. It's not the OS. Connectivity services is super high as well. Figure out what app is creating that and you solve the riddle.
Click to expand...
Click to collapse
Did you even read his post? He said he uninstalled all his apps and disabled location services. It's not an app. I would be disappointed too.
aooga said:
Did you even read his post? He said he uninstalled all his apps and disabled location services. It's not an app. I would be disappointed too.
Click to expand...
Click to collapse
Yep I read the whole thread. Just deleting the app won't remove any fragments left laying around. Did you read my post you quoted? Let me say it again just in case you missed it the first time. It's an app not the OS. The OP needs to start fresh than reintroduce one app at a time. The process takes days. It also works. Search some similar threads on the site and you'll see for yourself.
theesotericone said:
Yep I read the whole thread. Just deleting the app won't remove any fragments left laying around. Did you read my post you quoted? Let me say it again just in case you missed it the first time. It's an app not the OS. The OP needs to start fresh than reintroduce one app at a time. The process takes days. It also works. Search some similar threads on the site and you'll see for yourself.
Click to expand...
Click to collapse
What? If you uninstall an app, it's gone. The only thing left is the files stored on the internal sd card. Those files cannot cause the CPU to be running all the time. It isn't possible unless you're running some init.d scrips or something.
I'll say it again as well. It's not an app if he has no apps installed! It could have been an app that was keeping his phone awake when it was installed, but if it was uninstalled, it can't do that anymore.
System apps can, but he said he turned off Location reporting and the other google stuff, so there isn't much left other than some messed up OS files. I agree that flashing the factory image will most likely fix the problem (unless it's a bad battery/cpu that's stuck at 2300MHz), but it isn't an app that's causing it.
Please check in safe mode. Press the power button that power off menu appears. Hold down power off for a while. A popup appears that tell you to start in safe mode. Press okay.
Now let betterbatterystats look for a while.
On my side I have tried one and a half day and found out, that it was my twitter client robird. It's push service use abnormal high power.
If you have the Problem in safe mode too, call google service. They will send you a new device then.
Sent from my IPhone 7s
denshigomi said:
Something is draining my battery at an alarming rate when the screen is off.
Android's "Battery" screen shows "Android System" and "Android OS" are consuming a huge amount of battery.
Android's "Battery -> History details" screen shows something is continually waking the phone up to the point of absurdity.
My phone is running stock 4.4.2 with root. It also has the stock recovery installed.
My superuser app is Koush's Superuser.
Apps with superuser privileges are: AFWall+ (Donate), AdAway, DataSync, Helium, Titanium Backup, BetterBatteryStats, and Greenify
I also manually added busybox to /system/xbin (version: busybox1.22.1-Stericson)
This problem only started recently. At the beginning, it was an intermittent problem. It seems it is becoming more frequent.
I think it started with the last update to either superuser, or AFWall+, but I'm not positive.
The drain seems to happen regardless of whether WiFi is on or off. When WiFi is on, my phone is approximately 30 feet from the router.
I have attached the log from BetteryBatteryStats.
If anyone can help, I would be very grateful. My phone has become unusable.
I am sad
Click to expand...
Click to collapse
Leave location reporting off, but also turn location mode to Device only. That will curb the CheckIn wakelocks. If it is still going strong, wipe play services data and reboot.
You said that you disabled system apps. The problem with that, is sometimes those apps and services run anyhow. This problem reeks of Google Now. Make sure Google Now is off (opt out of the service).
You can Greenify it if you use Xposed, or you can install an AOSP ROM (SlimKat), and flash the minimal Gapps package from here: http://forum.xda-developers.com/showthread.php?t=2012857. This will allow you to install the other Google apps (Now, Chrome, Keep, Maps, etc.) from the Play Store, and you will be able to Greenify them.
I think you have an app problem. A system app problem, and that's why your extensive troubleshooting hasn't fixed it. You figured it was something you did wrong, when in fact, it isn't.
FormelLMS said:
Please check in safe mode.
...
On my side I have tried one and a half day and found out, that it was my twitter client robird.
Click to expand...
Click to collapse
Thank you very much for your advice. I did neglect to try safe mode before I reformatted my phone. I will be certain to try it if the wakelock bug appears again.
My only concern is that in normal boot mode, BBS doesn't show which app, if any, is responsible for the wakelocks. It would be very interesting to see if safe mode removes the wakelocks, but I wouldn't know what to do with that information. I had already uninstalled everything, so even if the wakelocks went away, I wouldn't know how to replicate that behavior in normal boot mode.
Aerowinder said:
Leave location reporting off, but also turn location mode to Device only. That will curb the CheckIn wakelocks. If it is still going strong, wipe play services data and reboot.
You said that you disabled system apps. The problem with that, is sometimes those apps and services run anyhow. This problem reeks of Google Now. Make sure Google Now is off (opt out of the service).
You can Greenify it if you use Xposed, or you can install an AOSP ROM (SlimKat), and flash the minimal Gapps package from here: http://forum.xda-developers.com/showthread.php?t=2012857. This will allow you to install the other Google apps (Now, Chrome, Keep, Maps, etc.) from the Play Store, and you will be able to Greenify them.
I think you have an app problem. A system app problem, and that's why your extensive troubleshooting hasn't fixed it. You figured it was something you did wrong, when in fact, it isn't.
Click to expand...
Click to collapse
Thank you very much for your advice.
I did have location reporting off, and location mode was set to device only.
I did wipe play services data and reboot.
I was opted out of Google Now (I have always been opted out of Google Now).
I didn't install Xposed, because I like to run as close to stock as possible. I only used root to limit internet access and backup apps. However, if the problem returns, I will consider using Xposed with Greenify.
Thank you again, everyone. I appreciate your input.
If safe mode works for you, you know it's not hardware related. Then flash the stock image and start from scratch step by step.
Sent from my IPhone 7s
I had similar battery drain problem. I'm rooted on latest stock Kit-Kat. And It looks like the problem was traced down to Google Keyboard!!!???
Yes, I know! Very strange. When there is a drainage - the only way to clear it is to reboot the phone. I saw nothing in BBS stats. Just loosing battery when phone is idle for no apparent reasons.
After I replaced it with other keyboard (swype in my case, but I don't think this is important) the drainage stops.
PS: I guess "big brother" wants to know what we are typing... Just for the test sake, install any alternative keyboard and switch to it and reboot your phone. Let's see what will happen.
denshigomi said:
Thank you very much for your advice. I did neglect to try safe mode before I reformatted my phone. I will be certain to try it if the wakelock bug appears again.
My only concern is that in normal boot mode, BBS doesn't show which app, if any, is responsible for the wakelocks. It would be very interesting to see if safe mode removes the wakelocks, but I wouldn't know what to do with that information. I had already uninstalled everything, so even if the wakelocks went away, I wouldn't know how to replicate that behavior in normal boot mode.
Thank you very much for your advice.
I did have location reporting off, and location mode was set to device only.
I did wipe play services data and reboot.
I was opted out of Google Now (I have always been opted out of Google Now).
I didn't install Xposed, because I like to run as close to stock as possible. I only used root to limit internet access and backup apps. However, if the problem returns, I will consider using Xposed with Greenify.
Thank you again, everyone. I appreciate your input.
Click to expand...
Click to collapse
Have you seen this page? https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/ConnectivityService
Try forcing 2g when on wifi.
Vlad_z said:
I had similar battery drain problem. I'm rooted on latest stock Kit-Kat. And It looks like the problem was traced down to Google Keyboard!!!???
Click to expand...
Click to collapse
Thank you for your advice.
When the problem appeared on my phone, I was already using Swype, so it's unlikely that the Google Keyboard is the culprit in this instance.
Also, rebooting didn't stop the wakelocks or battery drain, not even for a moment.
FormelLMS said:
If safe mode works for you, you know it's not hardware related. Then flash the stock image and start from scratch step by step.
Click to expand...
Click to collapse
Sounds reasonable. Thank you for that.
I flashed my phone to stock, and I haven't installed anything. I checked, and it still won't sleep properly. I'm testing safe mode right now.
Aerowinder said:
Have you seen this page? https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/ConnectivityService
Try forcing 2g when on wifi.
Click to expand...
Click to collapse
Thank you for the idea. Yes, I read that page. My understanding is that if my phone is on WiFi, my mobile data setting shouldn't matter, as that radio should be off. But I did try disabling mobile data entirely in case my phone was losing WiFi repeatedly (which would be strange in itself since my phone is sitting ~30 feet from my router and none of my other wireless devices have trouble staying connected). Unfortunately it didn't help.
Also, my phone demonstrates the same wakelock/battery drain behavior regardless of whether I have WiFi turned on or off.
Although factory reset is probably going to fix the problem you might try using alternate kernels (eg Bricked for AOSP) and follow this guide. Or use a rom that has wakelock blocker and app ops built in (eg Beanstalk) to prevent these sorts of problems - It's a lot more fun than trying to narrow down battery drain of that magnitude.
And remember that poor signal will kill your battery too. If the phone is constantly hunting for better signal it's bad bad bad for battery life.
go to terminal, run top command and post what you will see:
top -m 10 -n 5
I used groupon and this app make battery drains a lot.
Sent from my Nexus 5 using Tapatalk

Battery Drain during idle time

This problem only appeared for me when I upgraded to 4.4.3. 4.4.4 didn;t solve it too. I'm on stock ROM, rooted.
Basically instead of draining 2-3% over 8 hours of sleep time at overnight, it would drain about 16%. There are no wakelocks, and the battery monitor on Android doesn't reveal much... maybe Android System is draining more than usual but I can't be sure, and everything else looks normal. I really can't pinpoint the root of this.
What I do know is this - if I reboot the phone the problems goes away, for one or two days. And then for no apparent reason the phantom drain comes back. Only solution to it is to reboot every now and then. Very annoying. Anyone else has encountered this?
you gave us no screenshots, logs or anything.
how can we help you determine the issue if you give us nothing?
Zepius said:
you gave us no screenshots, logs or anything.
how can we help you determine the issue if you give us nothing?
Click to expand...
Click to collapse
Sorry about that. I'm attaching a few screenshots that hopefully give you a better idea of what's happening. Ignore the media player drain as that's just my Poweramp. As you can see it seems like all the Android processes (idle time, Android System, Mobile Standby) are just a bit higher for the high drain screenshot. They probably add up and result in a much higher overall drain.
Once I restart the phone the drain becomes normal again, but after one or two days the problem just inexplicably comes back.
high drain:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
normal drain:
Sent from my Nexus 5 using Tapatalk
Anyone?
Sent from my Nexus 5 using Tapatalk
i have found Wakelock Detector to be great tool for me to see what uses batt when this happens to me
download it and run it for a day or two and see what is causing the cpu wake ups
Quickfire said:
Anyone?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I don't see any wifi activity, but delete these directories anyway:
/data/misc/wifi
/data/misc/dhcp
Reboot.
chaco81 said:
i have found Wakelock Detector to be great tool for me to see what uses batt when this happens to me
download it and run it for a day or two and see what is causing the cpu wake ups
Click to expand...
Click to collapse
I have it and better battery stats, both show no significant wake locks. In fact its awake for about 2-4% only.
Aerowinder said:
I don't see any wifi activity, but delete these directories anyway:
/data/misc/wifi
/data/misc/dhcp
Reboot.
Click to expand...
Click to collapse
I don't have WiFi turned on. It's all on data...
Sent from my Nexus 5 using Tapatalk
I am having the same issue periodically. And the ONLY solution to fix it (temporary) is to reboot. As far as I remember it was happened to me on 4.4.2, 4.4.3 and now on 4.4.4.
BBS shows nothing major. There are no rouge processes in memory (checked in terminal), CPU deep sleep is fine (another fact saying that this cannot be a wake-lock). LTE/GSM signal is good and consistent (same place all the time). I have tried an airplane mode when drain has started but it does not matter.
If drain has started - phone would loose about 20% overnight (8-9 hours) when completely idle. Normally it should be 2-3%.
So, the source of such high drain is more likely somewhere in hardware/drivers etc.
I cannot determine which part of the hardware is draining current - baseband processor, digitizer, busmux, DAC or else...
PS: so much for all that google gimmicks about battery life improvement in every new Android OS.
Speaking of which I find out that Google Services in 4.4.4 are always trying to connect to "mother ship" even if Data Connection is turned down.
Some google developer explained algorithm they use for framework communications like this: if connection is failed then double wait time and repeat until it reached max wait time around 30min.
Well, last night (7 hours), with data connection explicitly turned off through Android Settings UI, Google Framework attempted to report to "central office" 246 times! - max wait time was about 1 minute and half.
Clearly, developers of framework know nothing about Android Settings API and continue "pinging" - well, but this is another problem.
100 cookies says its simply your poor signal.
Turn data off, not airplane mode, just data for awhile and i bet your drain is half what it is now.
Or get on WiFi.
You'll still get calls and texts with data off. During this test, toggle data on only when needed then off again.
See how that works.
---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------
(This advice is for the opening poster)
KJ said:
100 cookies says its simply your poor signal.
Turn data off, not airplane mode, just data for awhile and i bet your drain is half what it is now.
Or get on WiFi.
You'll still get calls and texts with data off. During this test, toggle data on only when needed then off again.
See how that works.
---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------
(This advice is for the opening poster)
Click to expand...
Click to collapse
^^ This.
Vlad_z said:
I am having the same issue periodically. And the ONLY solution to fix it (temporary) is to reboot. As far as I remember it was happened to me on 4.4.2, 4.4.3 and now on 4.4.4.
BBS shows nothing major. There are no rouge processes in memory (checked in terminal), CPU deep sleep is fine (another fact saying that this cannot be a wake-lock). LTE/GSM signal is good and consistent (same place all the time). I have tried an airplane mode when drain has started but it does not matter.
If drain has started - phone would loose about 20% overnight (8-9 hours) when completely idle. Normally it should be 2-3%.
So, the source of such high drain is more likely somewhere in hardware/drivers etc.
I cannot determine which part of the hardware is draining current - baseband processor, digitizer, busmux, DAC or else...
PS: so much for all that google gimmicks about battery life improvement in every new Android OS.
Speaking of which I find out that Google Services in 4.4.4 are always trying to connect to "mother ship" even if Data Connection is turned down.
Some google developer explained algorithm they use for framework communications like this: if connection is failed then double wait time and repeat until it reached max wait time around 30min.
Well, last night (7 hours), with data connection explicitly turned off through Android Settings UI, Google Framework attempted to report to "central office" 246 times! - max wait time was about 1 minute and half.
Clearly, developers of framework know nothing about Android Settings API and continue "pinging" - well, but this is another problem.
Click to expand...
Click to collapse
sounds like my issue, except mine happens every other night. Only started happening since 4.4.3.
KJ said:
100 cookies says its simply your poor signal.
Turn data off, not airplane mode, just data for awhile and i bet your drain is half what it is now.
Or get on WiFi.
You'll still get calls and texts with data off. During this test, toggle data on only when needed then off again.
See how that works.
---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------
(This advice is for the opening poster)
Click to expand...
Click to collapse
I tried that. Turned data off. It still happens. So you owe me 100 cookies!
Sent from my Nexus 5 using Tapatalk
what mods are you running on your phone?
Zepius said:
what mods are you running on your phone?
Click to expand...
Click to collapse
No mods, rooted on stock ROM. running on ART but I've tried dalvik and its the same.
Sent from my Nexus 5 using Tapatalk
Quickfire said:
No mods, rooted on stock ROM. running on ART but I've tried dalvik and its the same.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
no xposed or anything?
Zepius said:
no xposed or anything?
Click to expand...
Click to collapse
Nope. No Xposed (Xposed won't run under ART anyhow). Funnily I had Xposed when I was on 4.4.2 and I didn't have this problem.
Sent from my Nexus 5 using Tapatalk
Any news on this ?
Having the same annoying problem as well, normally it does not even drain 1% an hour while idle'ing and indeed sometimes (not always) a reboot does fix the problem.
Nothing to see with BBS or Wakelock detector
I am also getting this at the moment - I only noticed it since the 4.4.4 update. Overnight drainage is now in the region of 15% where it used to be around 5%.
I guess that isn't terrible but the idle time I got on this phone for the first few months was one of the great things. Hopefully a future update resolves it.
99.9 percent chance its location services. It seems to get worse every update. Try a night with it off.
If its already off. Try turning Google now, sync and put it in airplane mode.
If it is good....its one of the above. If its still bad.... Its a rogue app. A bit harder to track down.
---------- Post added at 11:13 AM ---------- Previous post was at 11:12 AM ----------
I'm on 4.4.4 with all that off, and my drain is about 0.5 percent per hour....not in airplane mode.
---------- Post added at 11:13 AM ---------- Previous post was at 11:13 AM ----------
Actually... I do have sync on for gmail, contacts and calendar.
We already tried all standard suggestions like the ones you're telling us again, the problem is there's a drain somewhere we cannot find.
4.4.3 had probs as well, in the beginning with 4.4.1 or 4.4.2 (don't know exactly) it was draining only <1%/hour (even with a lot of apps installed, I've greenified them)
tCC said:
We already tried all standard suggestions like the ones you're telling us again, the problem is there's a drain somewhere we cannot find.
4.4.3 had probs as well, in the beginning with 4.4.1 or 4.4.2 (don't know exactly) it was draining only <1%/hour (even with a lot of apps installed, I've greenified them)
Click to expand...
Click to collapse
Then its app related, or possibly carrier. Or I suppose the old "not all devices are equal.". And my reason for saying this is that many, many people still have perfectly good battery life and standby drain.
All those with the issue could have the same app or apps.
Whenever a battery issue seems unfixable....my advice is always do a complete wipe (except internal SD) and reflash firmware. Then go a day, or two and see how it is. If it seems OK....then start installing your apps...but only like 5 a day. So if your battery suddenly isn't good again, you know its one of the last group of apps you installed.
I'm sorry, but I just can't possibly imagine its just Android draining the phone. If it were like that, reports would be pouring in about this. And they aren't.
Yes, it can be work to track down a tough battery issue. But its do that work and practice patience.... Or go back to the last Nandroid version that was OK.... And stay on it. Or live with the drain. For me the first option seems most logical. Spend the effort and track down the issue until its solved.
But, to each their own. No one can force anyone to do anything.
Good luck!!! ?
---------- Post added at 12:28 PM ---------- Previous post was at 12:25 PM ----------
Oh....and after flashing firmware...turn off every feature. Go one day like that and no apps installed. Day 2....try services you like on. Day 3....start installing apps a few at a time each day.
Just wanted to be clear. When/if battery goes bad....you know its whatever you just did.

[Q] Moto G idle battery drain

Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
What kind of battery do you have?
fertchen said:
Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
Click to expand...
Click to collapse
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
mugenbatteriesOwner said:
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
Click to expand...
Click to collapse
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
fertchen said:
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
Click to expand...
Click to collapse
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
NextGenGTR said:
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
Click to expand...
Click to collapse
this is mine lol
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bublz654 said:
this is mine lol
Click to expand...
Click to collapse
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
NextGenGTR said:
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
Click to expand...
Click to collapse
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
bublz654 said:
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
Click to expand...
Click to collapse
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
NextGenGTR said:
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
Click to expand...
Click to collapse
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
bublz654 said:
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
Click to expand...
Click to collapse
lol if you are on your phone all the time then you will see somethinh like this xD 10 hours on time - 9 hours screen on time and 1 hour deep sleep. lol
https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector is this it ?
Hmm... No app like that (Skype etc.) is running on my phone. Could it be the camera app itself? Never had any issues with that before though.
My phone is not rooted. I just want to use it in place and not think about it too much. Researching which is the best path to root for Moto G was to mich for me back when I bought it and I have been happy with it or if the box - so far...
here was my stats after one night. kernel wakelock
CPU wake lock
in kitkat, wakelock policy was changed and you cant clearly see any system wakelock without root (i have tried many apps like wakelock detector and there is nothing to see in compare with Jelly Bean 4.3)
i had this annoying battery idle drain - it happened randomly, sometimes battery ran 7 days with light usage of phone but sometimes 30-40% was gone in 24 hours = 1-2%/h
i didnt have any apps installed like Skype, Facebook, or any other "keep awake" app - i also set up my gps, wifi settings, nothing helped
i also switched to ART runtime..again, didnt help
i decided to switch back to factory Jelly Bean 4.3 - you CAN flash stock ROM without unlocking bootloader (im locked without root) and now im running 4.3 with battery drain 0,1-0,4%/h in idle...battery life is now amazing - final battery drain is always ~0,6%/h (light usage)
im charging my phone from 30% to 80% and now it enough for 3 days ! for my 6h night it is only 1-3%
in background i have 3 apps running for battery monitoring (battery hd, batterydrain [analyser], gsam battery monitor) and few schedule apps...i disabled unnecessary apps like motocare and few other google/motorola apps
yes, im missing better alarm (kitkat), better RAM (now i have 60-100MB less...but if 380MB free or 460MB free...it doesnt matter for me) and some other little things that everything i can handle for MUCH MORE BETTER battery :good:
Mine drains 10% when it's in plane mode per hour...
But others days can last longer for at least 8-9 hours of screen time.
Is your phone running hot? I've had a problem with some custom kernels that caused my phone to run hot and drain fast without any visible signs.
this is after some time. im concerned by the second one on the list because it has Wheelock's at the end of name and it has x1441
I just rooted the thing and installed Greenify and GSam Battery Monitor. Now I'm down to 0,3-0,4%/h. That is fine for me.
It is a bit sad that it had to come to this but that is how the world works these days, I guess. Isn't it amazing how mch technology we can fit in these small packages?
0,3-0,4%/h is amazing !
im on 0,34%/h as final result now (BatteryDrain [Analyser])
yesterday i ended 5 days cycle on 53% battery i charged to 82% then with very light usage i need to charge after 5 full days (120 hours) on 29% (= no idle battery drain)
this idle battery drain is not hardware related, its issued by (stupid) KitKat - i really dont believe that it will be fixed in any next release (4.4.x or 5)
im enjoying JellyBean 4.3 much more than KitKat - all you need is flash stock system image WITHOUT unlocking bootloader/root/losing your warranty

Standby drain

When you sleep, does your phone sleep, or does it stay up all night and crunch 1s and 0s? Rate this thread to express how you deem the speed at which the Xiaomi Mi 5's battery drains under standby conditions. A higher rating indicates that when the phone is not in use, the battery drains minimally.
Then, drop a comment if you have anything to add!
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
This one is from mine:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's 20% over 9 hours, so it's around 2% per hour. Everything is still on: sync (3 email accounts, 7 social media apps), wifi, bluetooth, etc.
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Khazidhea87 said:
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Click to expand...
Click to collapse
Hi Khazidhea,
I can tell for sure that it is NOT NORMAL that your phone drains about 7 to 8% of battery life each hour !
Especially if you disconnect Wi-Fi and BT.
The only thing I can think of, is that you are in an area where the phone constantly switches from 3G to 4G to get on the network.
Of course, if you have 2 SIM cards in that phone, that may increase the drain significantly...
I think that if you are on Cyanogen, there is an option in Settings that is called "SIM Cards".
If you select that option, you should be able to have some access to settings for each SIM Card.
Try to select one and look for the option called "Preferred Network" and select something like "WCDMA" or "GSM" (that is 2G in the US and 2G in Europe).
See if that improves...
As far as I am concerned, I run my Xiaomi mi5 with a ROM called "Tipsy-OS" that I have compiled myself...
So far, I am unplugged since 2 hours, have used the phone with 4G, BT, Wi-Fi, automatic updates of apps, mail retrieving, applied themes via substratum... and lost 2%.
So no, 8%/hour without doing anything is NOT NORMAL !
Regards.
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Khazidhea87 said:
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Click to expand...
Click to collapse
If 4G coverage is bad in your area, it will trigger reconnection over and over again, causing battery drain. The protocol itself is indeed more battery consuming in general, but shouldn't have much gap with 3G under the same coverage quality.
% 5 full network bltooth
seems mine 1-2%per hour all sync on, wifi.
avatar_ro said:
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
Click to expand...
Click to collapse
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
eLdeRay Owner said:
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
Click to expand...
Click to collapse
I can confirm same here LOS airplane mode = 0am till 6am 100% to 98 or 97 % so at max decrease a 1/2% an hour.
In a non-airplane mode with WiFi connected I get a bit more than 1%/h with greenify activated.
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
mafish said:
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
Click to expand...
Click to collapse
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
georgekav33 said:
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
Click to expand...
Click to collapse
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
mafish said:
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
Click to expand...
Click to collapse
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
krotin said:
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
Click to expand...
Click to collapse
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
mafish said:
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
Click to expand...
Click to collapse
i could not find xda store.
inov said:
i could not find xda store.
Click to expand...
Click to collapse
It is actually XDA Labs
Here is the link to the page, also the page has the link to download the APK
https://www.xda-developers.com/xda-labs/
During the night (8h) I can lose 2-3% (without wifi, BT, LTE...). I'll try Battery Saver Ultra tonight ! Thanks

Categories

Resources