New, weird battery drain during sleep fixed. - Verizon HTC One (M8)

For about 2-3 weeks now, I've been getting weird battery drain during sleep (running original stock rooted rom) - Wakelock Detector would report 20-40% awake time without any usage, as opposed to the normal 5% or so. The only changes to the rom were Play Store updates, so something must have changed with the Google apps updates.
I did the following changes to fix the drain, and it's back down to 5% wakelocks. Don't know which part helped, or if it's even a combination of things.
1) Disabled location reporting under Location settings - this was turned off before, but was somehow enabled again after Play Store updates.
2) Disabled Power/Sleep Mode option - this is something new I did, and it was probably nothing.
3) Disabled Wifi/Advanced/Auto-switch to mobile network - this is something new I did, and it was probably nothing.
4) Enabled Wifi/Advanced/Wifi-optimization - this is something new I did, and it was probably nothing.
5) Cleared Cache and Dalvik Cache and rebooted.
The phone is sleeping like a champ again. Just this morning - 1% battery drain in 3+ hours on wifi and maybe 5 minutes of screen-on time. 4% wakelocks in Wakelock Detector.

I had the same problem running CleanROM. I disabled location, cleared the cache of all Google apps, and then cleared cache and dalvik in TWRP for good measure. So far, battery is excellent now.
I see there is a new update rolling out for Play Services. Maybe there will be a fix in that to prevent this from happening in the future.

Nlpwakelock can be the culprit probably. I used the app ops menu to keep things from getting my location that don't need to do so, and from keeping my device awake. The deep sleep battery every app is also amazing.
My phone has been on for eight hours now, half of which I had Bluetooth streaming with play music. It's also had moderate usage in other regards, file transfers to an otg, etc. I'm at 67%
Sent from my HTC6525LVW using Tapatalk

Clearing cache and data is the only thing I read that would be of a help, not the settings, but what do I know? Glad to hear things are running smooth.

andybones said:
Clearing cache and data is the only thing I read that would be of a help, not the settings, but what do I know? Glad to hear things are running smooth.
Click to expand...
Click to collapse
I tried all steps individually, and the only thing that helped goto deep sleep while on wifi was wifi optimization enabled

edlee said:
I tried all steps individually, and the only thing that helped goto deep sleep while on wifi was wifi optimization enabled
Click to expand...
Click to collapse
do you run many 3rd party applications?

Check this out
http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874

I'm using it as a GSM phone abroad, and if i put in GSM only mode. battery life is great however, if i put on WCDMA it drains battery during sleep.
I think the phone is searching signals constantly in WCDMA, yet to find a solution. Maybe will flash a different radio n see if it helps.

Related

[Q] Please Help ! Android System Battery Drain on Nexus 5 after KitKat 4.4.2 update

Hi,
The battery life of my Nexus 5 has taken a dramatic hit since the 4.4.2 update. I think the culprit is Android System but the GSAM battery graph seems to suggest that the culprit is Android OS kernel. My Nexus 5 is on 4.4.2, unrooted, stock ROM and the build no. is KOT49H.
In short, my phone does not seem to have a wakelock issue but I can't verify because 4.4 does not allow wakelock access without root. It sleeps fine at night and in daytime when it is not in use. I only lose around 5% or less overnight with 2x battery turning off the data connection and only turning on data connection once every night. The problem is the Android System which drains at least 17% (sometimes 25%) of battery everyday and routinely sits on top my of battery usage chart with or without me actually using the phone. My usage per charge is typically around 6-7 hours with around 1 hour 45 minutes screen on time. I had extraordinary battery life before the update to 4.4.2 (lasting more than 1 day with over 3 or 4 hours screen on time). Now my battery life is completely shot. The battery graphs attached already represent one of the better days. Some days the Android system will drain at 25% or more. You will note my phone relatively slept fine without draining at night in the first 7 or 8 hours and then the battery drain started to take a nose dive after I woke up. I feel that whenever I start using the phone (with the screen being turned on), the battery drain will occur. My observations are as follows:
1. I use LTE but the reception at my home and work for LTE is not good so the radio jumps between LTE and H+ from time to time however I do not think the radio jumping contributes that much to the drain. The drain stays the same even when I am at a place with good LTE reception. I use wifi at home but i cannot connect to wifi at work (which sadly is another issue). The wifi is always off unless i use it at home. I do NOT have wifi scanning in the settings. I have wifi battery optimization on. I never use bluetooth.
2. My google now is off. My location setting is completely off with no location reporting etc..
3. My Google + auto back up is off. I do not use Facebook, Facebook messenger, Instagram, snapchat etc. I mostly use Feedly, Whatsapp, Gmails and look at stock quotes every day. I seldom take pictures, videos or listen to music.
4. I only have one widget dashclock widget. I have removed feedly and stock quote widgets from the home screen but they don't seem to affect my battery usage that much.
5. I use Automateit but only have a few rules such as setting vibrate on weekdays etc.. I do not have any profiles which are related to GPS or location which i understand would drain battery. I also use Dynamic Notification, Light Flow, Lux, Nova Launcher, Notification Toggle and the memory in general is always below 65% in the background. I also use 2x battery to save battery which is set at switching off data after I turn off the screen and it will only turn data in the background every 10 minutes.
6. I have tried safe mode and 9 out of 10 times the Android system drain remains the same. The only way to lower the Android system drain (albeit temporary) is when I turn off the phone and plug it in for a charge, then turn it on when it is full and still plugged in. After I unplug it, the Android System drain will lower to say 7 or 8 % but it will slowly creep back up to 20% within an hour or so.
7. The CPU usage overlay routinely has 9 + readings on the top when the screen is turned on (but with no app running). I think it means very high CPU usage.
8. I do not think Feedly is causing any problems. I deleted the app and the drain remains. I also do not think GSAM is that useful as pointed out by another member here. It points to one app. You delete that app and then the drain remains it will point to something else.
9. I have been using Greenify (non-root) but it does not seem to help with my battery drain as the drain might be caused by system apps or processes within the OS.
I don't know what else to do and this problem has been troubling me for more than 1 month now. Please help !
Update on 24/2/2014:
I have given up and factory reset my phone. After I reset my phone, the apps were installed via Google Play automatically. I also switched to ART. It was fine initially for at least one day. The apps were there but I did not use or enable most of them as I wanted to transfer all my data and tweaked the settings in one goal. I mostly just used Feedly, Whatsapp and Maps for navigation. Even with Maps and high accuracy GPS on, the Android System would go below 10% even though it would temporarily increase to say above 20% during navigation. This morning, I thought the battery seemed ok so I enabled Lux, Dynamic Notifications, Lightflow, Automateit, Nova Launcher and restore the settings to most of the apps.
The Android System drain came back within 2 hours and hit 25% of the total battery drain. My phone's battery dropped from 100% to 40 % in less than 5 hours and the screen on time was only around 1 hour! I never did any battery intensive actions. The most was turning on the phone to check my battery and whatsapped less than 10 messages back and forth ! Since the drain re-appeared, I have turned off completely the location setting, Google Now, sync for Google Plus, auto-backup for Google Plus. I have removed all widgets and disabled Dynamic Notifications, Nova Launcher, Light Flow, Lux. The drain still remains the same at 23% or more.
This is driving me absolutely crazy and I am sick and tired of spending so much time and energy on sorting out the cause for drain (and to no avail!) I spent a lot more time on trying to fix the phone than really utilizing the phone for my benefit !! I just sent an email to the Google tech support and hope they will help instead of sending me generic self-help sheet. Thanks all for listening and trying to help. I am just really disappointed with Google this time.
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
rootSU said:
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for your reply. My N5 is not rooted so I do not have access to wakelock stats anymore.
I have removed Feedly but the android system drain persists.
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
My missus' LG-P880 has exactly the same problem. Just started happening one day. It seems to be wakelock locator alarms according to bbs but there doesn't appear to be any reason for it. Its been driving me mad too. Luckily tho she's rooted so using app opps i disabled Google services location and it's kinda helped
Sent from my Nexus 5 using Tapatalk
Did you try another kernel ? When I changed to franco kernel, my battery life is better.
having weak LTE signal kills the battery but it should not be this bad.
Maybe you should try a factory reset and see if the problem still persist, if not then you have an rogue app somewhere.
You can use the process of elimination.
Start with disabling Dynamic notifications and Light flow as those have high potential for battery drain.
Sent from my Nexus 5 using Tapatalk
Elias_grodin said:
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
Click to expand...
Click to collapse
Restart your phone in safe mode, and see the battery drainage...maybe it can help you.
It seems good for me
Sent from my Nexus 5 using Tapatalk
I had this same problem the other night. Get app ops starter from the play store. In there turn location off in Google play services and android system. Note, this may impact other apps. I don't use any that I need location for so it works for me.
Sent from my Nexus 5
I had a similar issue as well. For me I turned off a couple things and it really helped:
1. Turned off Cerberus, I believe checking location too often or incorrectly or something.
2. Turned off Account sync for Play Newstand. Noticed when a sync would occur, it would hang on Newstand for much too long which I think was waking device and keeping device awake during it's long syncs. Everything else would only take a min or two total.
3. Set G+ photo sync to only sync when on wifi and charging.
4. Removed Yahoo Weather app. Noticed yahoo weather app staying alive a lot too.
5. Removed Whatsapp. Probably unnecessary really, but any of those messaging/weather/location apps that I don't use often (if ever) I removed to make sure they weren't checking location in the background.
So far, I'm at 78% battery today when I would have been at around 30-40% usually, so that combo has made a huge difference.
It's going to be different for everyone I think, but basically just make sure you don't have any excess apps checking location in the background. And at least for me there seems to be something wrong with Play Newsstand sync hanging for long periods of time.
Yea... Even i had the same issues... Latest version killes ma deep sleep mode nd also some of a rules disappeared....
I was having similar issues and was able to narrow it down to syncing Google Services...
I found that often times Google Drive would get hung up when syncing in the background and chew up my battery.
What Google Services do you have set to auto-sync? I would narrow it down to the ones you only really need to have synced in the background and have the others sync up for you when you open them.
Also, in regards to your LTE/H+ signal, have you tried to flash another radio to see if there is any improvement? A poor signal can have a pretty significant impact on battery life as well.
Lastly, as mentioned by another user, Better Battery Stats, though requiring root, will make it a lot easier to track down the culprit of the issue if it indeed a rogue app somewhere.
Try different keyboard. I've a suspicion that latest Google Keyboard is the culprit.
I was having some unexplainable with BBS (no locks, etc.) battery drain. Which can only be resolved (though temporarily) with reboot.
So, I installed alternative keyboard (Swype in my case) and using it. So far, second day I don't have battery drain.
Update
Please refer to the OP for update. Thanks all.
battery after reset
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Replacement offer by Google
Elias_grodin said:
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Click to expand...
Click to collapse
I have reset the phone three times. After the third attempt, the battery drain for Android System would go back up to 20% plus. By the test of elimination, I thought I narrowed down the possible culprit to Light Flow and Dynamic Notifications. I uninstalled both of them but the battery drain remained 20% plus.
Google was willing to replace my device. I asked them whether the battery drain is likely a hardware or a software issue or a combination of both. They said (to my surprise) it is hardware issue. It seems they have come across quite a number of similar cases. I always thought it was a bug within 4.4.2 or in the google apps such as Google Play Services etc. and could be fixed by a patch or something. The phone also means a lot to me as it was a gift from my gf. I just don't want to go through the hassle of replacing the device if it is a software problem but I guess I am running out of choices unless I decide to wait for the update. What do you guys think?
It's definitely not a hardware issue. If you Google it there's threads all over the place with all different makes and models of phones having the same problem and no one can figure out why, apart from it definitely seems something to do with Google services (GmsCore.apk)
Your best option is to root your phone and use app ops and turn location access off for every app that doesn't need it. (pretty much everything apart from maps and weather apps)
Sent from my Nexus 5 using Tapatalk

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.

Wifi battery usage

Hi, dumb question here and I know the answer is mostly dependent on several factors but I'm hoping for a simple answer. My phone goes through 2% battery overnight (8 hours) with everything turned off including Wi-Fi, Turning on Wi-Fi the phone goes through 2% per hour. I'm fairly certain this in not normal. I have had this problem since I install the ICS update back in 2012. Resetting the phone, installing new roms and disabling any and all features/settings have no effect. I discovered in Network Log that the kernel is using the network all the time. I tried blocking the kernel in Droidwall and AFWall+ but the kernel still has access to net. Below is a list of things I have tried which had no effect. I thought maybe flashing a kernel but since Slimkat, which I'm using now, has a custom kernel I doubt if that would fix the issue? If 2% per hour is normal then please let me know or please help me fix the issue if possible,
Fom the beginning
Put in new battery in case the old one is bad
Erased all files on internal storage
Installed recommended recovery is philz_touch_6.41.6-skyrocket.zip
Wiped Cache
Wipe Data/Factory Reset
Wiped Cache again
Installed Slimkat 4.4.4 and mini gapps then rebooted
Unmounted SD card
Did initial setup and went through the settings
Installed Greenify
Settings Enabled
Enabled Airplane Mode
Settings Disabled
Auto-Sync
Vibrate
Bluetooth
Mobile Data
Location and GPS
NFC
Android Beam
Rotation
Tethering
Hotspots
Heads up notification
Shake Events
Printing
Pie Controls
Wifi always available scanning
Extra Slimkat animations
Auto Backup to Google in Backup and Reset setting
App Data and People Details backup under Google account so they don't sync at all ever
Security Settings in Google settings
Disabled/Paused Account History in Google Settings
Disabled Phone Search settings in Google Settings
Removed Connected Apps from Google Settings
Settings Changed
Google Now/Search not installed
Wifi set to USA region
No widgets on homescreen
Using Slimkats simple and dark background
Display Timeout set to 1 minute
Display set to Low brightness (about 10% to 25%)
Only installed 5 apps: Wakelock Detector, Better Battery Stats, AFDroid+, Network Log, Greenify
I have since installed my all my apps believing this can’t be fixed or it’s normal but it was not like this when I got the phone and it had GB on it.
Simple answer, 2% over night is very good. You're not going to be able to do any better than that.
Sent from my Nexus 9 using XDA Free mobile app
You misread the post. 2% overnight when wifi is off. 2% per hour when wifi is on. so I lose 16% overnight with the wifi on.
But it looks like I may have fixed of at the very least improved the situation. As I said I have already installed all my apps. I have 3 running in the background (sound profile, Halo, and Greenify). I also change some of the settings back as well (enabled sync, extra Slimkat graphics, Slimpie, Heads up, OK Google and a couple others.) I then flashed the Wild Kernel and installed the companion app, Tame. I set the CPU to Intellidemand/SIO. For the last 4 hours I haven't touched the phone and only 3% battery has been used. That's a much better battery drain then before. For overnight that would be 6% vs 16%. But from what I read that's still to much since the only difference is the wifi being on. I can live with it though. I did notice the kernel is still hitting the internet a lot for some reason. I can live with this though.

[Fixed] Standby battery drain

Hello everyone!
So this thread is for those guys that are still having the standby drain even after trying everything and got no help.
My Device Is not Rooted​Since last 2 weeks my device was having super standby drain and I couldn't help that.
First I thought that it was due to the battery wearing out. But I had this phone(exynos version) for around eight months and that is not enough time for the battery to drain out fast. So I started looking for the fixes in the xda threads but none of them had a mass effect on what i was suffering from.
Then I read about that app named the "Better Battery Stats".
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats&hl=en
I used this app to monitor the usage that was being done by different apps.
Most of the battery i.e 61% was being consumed by the apps that were running in the background. And the second big consumer was the android system. So as was mentioned in most of the posts what I tried.
1) Settings> Display> Resolution> Fhd to hd
2)Settings> Device Maintenance> Battery> Save Power and All apps put into always sleeping apps.
3)Setting> Connections> Location> Google Locaation History and disabled it.
4)AOD Disabled.
5)Sync Disabled.
6)Wifi> Advenced> Keep wifi turned on while sleep and set it to never.
7) Reset> Reset network settings
8) Boot into recovery and wipe cache patition
9) Reset factory data(Wipe everything).
And after doing all these steps nothing much changed my battery life since when i after resetting my phone again updated all apps from play store and resetting battery got an SOT of around 3 hours.
Then I again started searching for the problem.
I installed the accuBattery app from play store.
https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en
And saw that phone was not entering deep sleep for hours that was causing the standby drain!
The major reasons for the drain were.
1) TOUCHWIZ HOME!
2) Google Chrome.
3) Facebook app.
To fix that I applied Lawnchair as my default launcher.
set the theme to dark. Disabled the location permission in the facebook app. And disabled google chrome.
Other settings that also helped were
Change the resolution to hd. Disable google location history.
And boom.... It worked Like a Charm....
Now to add an extra something to the battery life i switch to MID Power Saving mode. That Also helps alot when phone is not being used as it stops background data usage by apps.
Now the average sot that i get from my phone is around 6 to 7 hours.
And the phone sleeps like a baby. 5% Drain in 10h and wifi was on for the whole night. Deep sleep for 9h 41m.
PS: I use most of the time my phone for gaming and heavy usage.
Hope this will work for you guys too.
Screenshots Are attached for the proof!!
Thanks for this man
How are your notifications? I'm having a lot of trouble with delayed notifications, emails/messenger/etc just wake up when I take the phone and I don't even have to wait more than 5-10mins for what seems to be doze to kill everything.
I get whatsapp calls that I miss because the phone never receives it.
And STILL my battery life is far from great.. borderline bad I'd say. So sad
In settings go to device maintenance and hit battery you'll see an option for "always sleeping apps" enter any apps you don't want to run in the bsckground, which will probably be most of them. Saves a lot of data and a lot of battery.

[Fixed] Battery issues with 5.1.9

I've got the OP6 since release and haven't had any battery issues until i upgraded to 5.1.9. prior to 5.1.9 I used to get a 1-3% drop overnight. Post 5.1.9 I get about 1-2% per hour of stand-by. The drain is not so high like I have a misbehaving app, my phone sleeps ok with the occasional wake-ups to get notifications. I was just very happy with the SOT and stand-by times i was getting before i upgraded to 5.1.9 and just trying to get back to it.
Also it seems like i'm getting a little bit higher drain from google play services that before, it always shows up third on my battery stats list and before the update it used to be beyond the 8-10th place.
-Already cleared cache from recovery before this battery cycle (Beginning of previous cycle).
-Already cleared google play services Data before the start of this cycle (Beginning of previous cycle).
-Already cleared google app Data before the start of this cycle (Beginning of previous cycle).
-Already cleared app cache before the start of this cycle (Beginning of previous cycle).
-Scanning off, GPS battery saving, overnight data was on 4G not Wifi, advanced (aggressive) optimization on, all apps are being battery optimized.
I've read most related threads and haven't found anything that helped, What should I do?
Also I read on a thread that turning off Android system background process helps, is it safe to do that?
Update:
So I think I found a fix somehow.
-Clear data for all Google play stuff (service, store, games, Google app). Then restart.
- reset network settings.
- Also I traveled to another country and not using dual SIM as I was and only on one SIM now with LTE.
- stopped using maildroid and used Gmail for work email. It's the app I suspected to mess with my standby drain.
- Also I have found an anomaly with Google photos. There are three settings to back-up Google photos and all three do not talk to each other:
1- Within the app itself. Google photos> settings> backup & sync
2- Phone options> Google> Google photos backup
This one doesn't appear all the time, sometimes it's there and sometimes it's not! Haven't figured out why it sometimes show and sometimes not though, but last time it showed I made sure it's off)
3- Accounts> Google > Google photos backup
(Screenshots below)
All the above three options don't talk to each other at all. so if you have it turned off within the app and the Google settings menu it can still be on within the accounts menu.
I think that causes sync issues which leads to battery drain specially in standby.
My current setup that do not drain battery is as follows:
1- Google photos> settings> backup & sync (ON)
2- Phone options> Google> Google photos backup (OFF)
3- Accounts> Google > Google photos backup (OFF)
I get my photos synced on wifi without issues and no extra battery drain.
When I found out thy don't talk to each other and turned them all on (specially the one in the Google settings menu) I started getting extra battery drain and Google play services showed up persistently in my top three battery usage items. Screenshots in comments.
Standby drain is now back at 2-3% overnight.
Heres some of the things I do to maximize battery,
Every one is different though,but these work for me
Use dark theme always
Don't use aggressive doze
Don't optimize apps that you really need notifications from
Turn off Bluetooth,location
Use nova launcher with dark theme
Low to medium brightness,no auto brightness
Clear cache from cached data in storage regularly
Occasionally do deep clear from advanced
Don't use face unlock
Turn off unused gestures,
Just some tips,but I do get small battery drain at night anyway, I don't think you should worry about it
manus31 said:
Heres some of the things I do to maximize battery,
Every one is different though,but these work for me
Use dark theme always
Don't use aggressive doze
Don't optimize apps that you really need notifications from
Turn off Bluetooth,location
Use nova launcher with dark theme
Low to medium brightness,no auto brightness
Clear cache from cached data in storage regularly
Occasionally do deep clear from advanced
Don't use face unlock
Turn off unused gestures,
Just some tips,but I do get small battery drain at night anyway, I don't think you should worry about it
Click to expand...
Click to collapse
Why should I not use aggressive doze?
walid.eldalil said:
Why should I not use aggressive doze?
Click to expand...
Click to collapse
Just a recommendation I got before from users on OnePlus forums, the concensous generally there is to just use normal optimization.It does seem to drain less
manus31 said:
Just a recommendation I got before from users on OnePlus forums, the concensous generally there is to just use normal optimization.It does seem to drain less
Click to expand...
Click to collapse
I've been using advanced optimization since I got the phone and was getting very good results up until my aforementioned problem. Will give it a shot.
settings/wifi/wifi preferences/advance
check for keepwifi on during sleep...put never
check network notification...switch off
i hope this works
Nothing to do man, bull**** to use more 'optimization' by turning wifi off, using theme and other things. I mean we should use the phone how we want right?
Just wait for a new update...
All OP6 users got standby draining. Annoying asf.
Just a note, clearing cache in recovery does nothing. This phone doesn't have a cache partition.
Try restoring network settings.
*Settings, backup and reset, network settings reset*
This helped me when I was on Samsung s7-e when I had some strange drains from an update.
I have no issues with my device on 5.1.9
whizeguy said:
Try restoring network settings.
*Settings, backup and reset, network settings reset*
This helped me when I was on Samsung s7-e when I had some strange drains from an update.
I have no issues with my device on 5.1.9
Click to expand...
Click to collapse
Already tried
iElvis said:
Just a note, clearing cache in recovery does nothing. This phone doesn't have a cache partition.
Click to expand...
Click to collapse
Yeah I know but a OnePlus bug Hunter asked me to do it so it might do something else
DaKlimo said:
settings/wifi/wifi preferences/advance
check for keepwifi on during sleep...put never
check network notification...switch off
i hope this works
Click to expand...
Click to collapse
Already done
Ghost123NL said:
Nothing to do man, bull**** to use more 'optimization' by turning wifi off, using theme and other things. I mean we should use the phone how we want right?
Just wait for a new update...
All OP6 users got standby draining. Annoying asf.
Click to expand...
Click to collapse
You are right 100%..this is obviusly semi product..i fight with their support team, already change with them more than 30 mails, they just ask screen shoots for this ss for that...they should give money back, in my hand phone go crazy just like that loose overnight 36% with everiting off. Sometimes during day too. I have this problems since i get OP6, 4 weeks ago.
I was using the same settings since I bought OnePlus (OOS 5.1.3) and I had an amazing battery life on OOS 5.1.5, but since 5.1.8 also 5.1.9, battery life sux. It is a problem with the software. In their opinion I should turn off all the features, even take out the sim card, maybe I should turn off the phone to save battery...
DaKlimo said:
You are right 100%..this is obviusly semi product..i fight with their support team, already change with them more than 30 mails, they just ask screen shoots for this ss for that...they should give money back, in my hand phone go crazy just like that loose overnight 36% with everiting off. Sometimes during day too. I have this problems since i get OP6, 4 weeks ago.
Click to expand...
Click to collapse
Feels bad man. The Chinese Oxygen version did fix the battery drain issue on 5.1.10. So we can expect it to.
Or you downgrade to before 5.1.8 and update when 5.1.10 is out.
Or you just wait. Don't do these 'battery optimization'. Not needed when the OS is the problem. And not your personal usage.
So I think I found a fix somehow.
-Clear data for all Google play stuff (service, store, games, Google app). Then restart.
- reset network settings.
- Also I traveled to another country and not using dual SIM as I was and only on one SIM now with LTE.
- stopped using maildroid and used Gmail for work email. It's the app I suspected to mess with my standby drain.
- also I noticed an anomaly with Google photos
Standby drain 3% overnight with 6-7 hours sot depending on usage. (Screenshot below).
now after I got good results Im using maildroid for this cycle to see if it had any effect or not.
Also I have found an anomaly with Google photos. There are three settings to back-up Google photos and all three do not talk to each other:
1- Within the app itself. Google photos> settings> backup & sync
2- Phone options> Google> Google photos backup
This one doesn't appear all the time, sometimes it's there and sometimes it's not! Haven't figured out why it sometimes show and sometimes not though, but last time it showed I made sure it's off)
3- Accounts> Google > Google photos backup
(Screenshots below)
All the above three options don't talk to each other at all. so if you have it turned off within the app and the Google settings menu it can still be on within the accounts menu.
I think that causes sync issues which leads to battery drain specially in standby.
My current setup that do not drain battery is as follows:
1- Google photos> settings> backup & sync (ON)
2- Phone options> Google> Google photos backup (OFF)
3- Accounts> Google > Google photos backup (OFF)
I get my photos synced on wifi without issues and no extra battery drain.
When I found out thy don't talk to each other and turned them all on (specially the one in the Google settings menu) I started getting extra battery drain and Google play services showed up persistently in my top three battery usage items.
Screenshots
OP updated.
walid.eldalil said:
Screenshots
Click to expand...
Click to collapse
Weird thing is that I do not have the backup options under the phone settings under google or under account.
The only place it shows to backup photos is within the google photos app itself

Categories

Resources