Doze mode not working - Nexus 6P Q&A, Help & Troubleshooting

Nexus 6P, All Stock, Marshmallow w/ May security updates. [non-rooted]
A while back, I noticed Doze had stopped working. I always leave my phone unplugged overnight, and the battery graph used to be a mostly flat line overnight, with no wake activity. Recently, the graph is sloped, and there is a lot of activity overnight. I tried disabling WIFI and Google Now, but that didn't help.
I really do not want to do a factory reset. I don't think that will help. Also, I haven't installed any new apps - I'm not sure what it is. The phone displays a lot of wake locks throughout the day as well.
Has anyone run into this problem before and has a more specific solution or approach to troubleshoot? I wish Google hadn't dumbed down their battery info, you really can't get any meaningful information with 3rd party apps. Is there a way to identify what woke up the phone during those time it was dozing?

Looks pretty normal to me. I see just a handful of wakelocks for you. You could always try setting Location to battery-saving mode. Make sure bluetooth is off, see if that helps.

I have the same issue even when in battery saver mode overnight. Sometimes I'll lose 40% in just six or seven hours.
Sent from my Nexus 6P using XDA-Developers mobile app

So nobody have a solution to this problem? Sometimes it loses 1-2 percent per night, but sometimes about 15, obviously it processes something, I can't understand what, I don't install new applications in monthes.

Most battery stat apps need root after 4.4 but you could use adb if your keen...
Dumpsys System Diagnostics
Viewing Battery Use Data
Battery Historian Graph
Edit: Wakelock Detector has a pc version which could be easier if it works...

having the same issue!!! i also notice my wifi line to be constant even when wifi is switched off!!! which is absolutely strange!!!!

Happy news from me.
I successfully restored Doze Mode in my phone MiA1 Android One 8.1.0 Dec 2018.
Here is how. Go to Developer options, Background check.
Turn the Switches to Off for most Apps except the Critical ones. (Don't Rush, it's not easy to determine the Critical Apps. Choose in stages till the Doze mode kicks in).
Here's a list of System Apps which I have switched off
ANT HALL Service
Calendar
Chrome
FactoryKit Test
Gmail
Google
Google Play ... (all of them)
Maps
Settings
Spock
Translate
____________
You may have to do some experiments.
I could not pinpoint which System Apps were the rogue ones.
I eliminated the possibility of all apps that I installed as the cause.
The rogue apps which prevented my phone entering the doze mode were unknown components of Android OS and Android system (I am hundred percent sure).
My approach is a trial and error one and I expect some malfunction in the future.
BUT, I reconfirm that in my phone Doze Mode is now working.

Here is some inside info. My MiA1 Android One 8.1.0 (Dec 2018) Phone's Doze Node did work for some time after I did all that mentioned, but NOT GOOD enough; again it malfunctioned and continuous 3% per hour battery consumption by Android OS was noticed with totally idle phone.
(Then deleted cache data of all apps including system ones. DID NOT HELP. So my advice is don't waste your time doing this).
(Remote all syncing of all apps. DID NOT HELP).
LAST Attempt. Deleted App data and also cache data of Google Play services. It takes some time to initiate and it was OK. May have worked, not sure as Google/Android meanwhile updated its Google and other related apps in the Google Play Store.
Now the REAL Good News
It's now 3 days my phone's Doze Mode is ACTUALLY WORKING!!
Now the screen-off battery consumption is 0.7% per hour which includes non-doze mode. The doze mode works even when the phone is in the pocket and moving. You only need the screen to be switched off.
This has been my phone's normal behaviour for last 3 years (since September 2017)
I perhaps want to thank @google / @ANDROID for getting rid of the buggy update of August 19 on September 5.

Related

[Q] Battery drain from Android OS, suspend, and event/0

I know this issue has been posted in forums for other devices, but I haven't seen anything about it for NC. I did try to search the NC forums but couldn't find anything that seemed to address this problem.
I am using MIUI 1.7.22. I have noticed significant battery drain due to Android OS (in battery stats), suspend (in the systempanel app), and event/o (also in systempanel). I have disabled auto-sync and any apps that appear to be likely culprits (those that might attempt to download data). This problem seems to appear with wifi on or off, and when on, I have tried both setting it to never turn off and to turn off when the screen is off. Initially I was experiencing battery drain due to cell standby, which I took care of by disabling the telephony provider, phone, and mms apks. I know many don't believe this has an effect, but I did it anyway. The cell standby drain is gone, but now I'm fighting the drain due to these other factors. Has anyone found a fix for this?
After scouting around for info, I have tried some suggestions seen elsewhere: rebooting and wiping dalvik cache. So far today I haven't had any Android OS, etc. issues. Standby life with screen off is as it should be (for now and hopefully forever)--very slow battery drain.
This is with wifi set to never shut off, which I prefer.
Suspend etc. came back last night although not as extreme as before. Hopefully some other folks will have things to add to this thread. I will continue posting progress info as I learn more about this.
From the code.google.com forums:
Confirm heavy battery drain with enabled Location & Security -> Use wireless networks / Use GPS satellites. I've disable both options and now my battery life is normal.
With enabled "Location & Security" options battery eaten by "Android OS" process (about 40-55%).
I will try this and report back.
Disabling WIFI and GPS in location/security had no effect. There appears to be a google process that prevents the system from sleeping.
I was still experiencing random battery drain due to Android OS, suspend, event/0 after switching to cm7. One suggestion I read was to disable calendar sync, as this appears to be a runaway process that attempts to connect to the server constantly without allowing the device to sleep. Doing this allowed me to get through the night with very little drain and the Android OS, etc. processes were finally behaving (within normal limits).
I'm not sure if anyone is reading this thread but I will continue to update until I figure out the solution, as I imagine this problem will become more noticeable to others who are equally frustrated with this issue.
Having same problems on my galaxy s2. Lots of people have this problem and think it's a problem with the os. What os version are you using?
memphisuklf said:
Having same problems on my galaxy s2. Lots of people have this problem and think it's a problem with the os. What os version are you using?
Click to expand...
Click to collapse
Right now I'm using cm7 (2.3.5) but I was using MIUI before. Turning off calendar sync has worked well so far.
I had bad battery drain in the past and no deep sleep. but what worked for me was not to use any live wall paper. this fixed my deep sleep issues. for the battery drain, re-set your battery stats and re boot a couple of times for the stats to settle down. also check google map and latitude. in latitude just log out. un-checking sync in my yahoo email app also helped with my battery drain. my wifi is set at, off with screen. I went from 20 -30% drain in 7hrs to now 1-3% in 7hrs
I hope any of this info can help
cm7 n146
Thank you, boxcar. I had tried all of those things (froze live wallpaper, reset battery stats, reboot, froze maps and latitude) but the only thing that worked for me was unchecking the box for calendar sync. Email sync and wifi appear to be non-issues--no difference between off or on. Evidently this google calendar sync bug is a known issue (that very few people seem to know about!). I hope google will fix this soon.
I also have same problem on my Galaxy S2. These two(events/0, suspend) drain many battery, 14% one night, without WIFI, GPS, Bluetooth.
I'll keep on tracing this issue, and share the result in this thread.
arrowliu123 said:
I also have same problem on my Galaxy S2. These two(events/0, suspend) drain many battery, 14% one night, without WIFI, GPS, Bluetooth.
I'll keep on tracing this issue, and share the result in this thread.
Click to expand...
Click to collapse
Turning off autosync seems to help the most (although setting WIFI to turn off when the screen turns off appears to help, as well). I tried using an autosync toggle but just turning it on at all seemed to result in a gradual creeping up of the Android OS, etc. problems. Manual sync of calendar and perhaps gmail and contacts seems to be the way to go. For some reason, exchange mail set to push results in no problems. The other trick I've found is to go to applications, then calendar and calendar storage, and force stop, delete cache, and THEN manual sync of calendar (reboot, recovery, wipe dalvik, fix permissions are good ideas, too). When I flash nightlies, I go through this process and the offending processes work as they should. If I don't, problems appear sooner or later.
I've had my nook on for 9 hours now, WIFI on (off with screen off) and 30 minutes of display on time. I've lost 9%, so I think I'm on the right track. This is how it should work, I.think. Of course, the results SHOULD be the same with autosync on, but manual sync for good battery life is an acceptable small tradeoff in my opinion.
Sincitybronze said:
I've had my nook on for 9 hours now, WIFI on (off with screen off) and 30 minutes of display on time. I've lost 9%, so I think I'm on the right track. This is how it should work, I.think. Of course, the results SHOULD be the same with autosync on, but manual sync for good battery life is an acceptable small tradeoff in my opinion.
Click to expand...
Click to collapse
For the noobs in the audience, how exactly does one turn off autosync? Where is it located?
Thanks in advance.
Puddynose said:
For the noobs in the audience, how exactly does one turn off autosync? Where is it located?
Thanks in advance.
Click to expand...
Click to collapse
Menu, settings, accounts and sync (I leave background data checked).
I found part of the root cause, maybe some old application - can work on new version, but drain many battery. Today I uninstalled the 'Android photo widget', then only 1% battery has been drained within 2 hours when standby. Not totally solved the issue, but seems OK.
I guess you can also try this, find another 'bad' application which drains your battery.
Well guys, I'm not sure if I'm the last Nook Color user to continue fighting with this super annoying headache (I know SGS2 users are, too), but I think I'm on to something. I thought calendar sync was the culprit (and perhaps it was), but the Android OS drain (featuring nemeses suspend and event/0) would not go away and the arrival of this problem continued to be (apparently) random. I had an idea that, if the calendar sync kept alternating between suspend and event/0, perhaps this was due to old events that caused the sync process to continue longer than it would normally. So, based on this idea and logic, I changed my exchange e-mail account settings to sync email from the last month rather than to sync all mail. Looking at my work e-mail history, I realized I had e-mails in various folders and sent mail from as far back as 2001! Although it's nice to be able to access all e-mail history, perhaps the polling services were constantly monitoring the activity of super old emails and folders, which caused the suspend and event/0 processes to flip out. I don't know if this is the way Android actually works but it seemed logical to me. Well, for the last 24 hours, I have intermittently checked my cpu activity through systempanel, and what do you know, when the device is not being used, suspend and event/0 work as they are supposed to and Android OS stays low in the battery % list. PLEASE let this be the fix! I know there are other factors that contribute to the acting out of these processes, but on a stripped down device with no autosync or widgets and no out of control services identified in systempanel or watchdog, there can't be many other explanations. I'm curious if others with this problem have similar settings on their email accounts. In all the forums on different sites (and I've read a ton of them), I've never seen anything like this mentioned.
http://code.google.com/p/android/is...c=ID Type Status Owner Summary Stars&id=16721
Please vote there, and, may be, Google will fix it.
For those still following this thread, here's a tip. Use Gemini app manager (in the market). This has been one of the best tools I've found for managing wakelock issues and battery drain during standby. It allows you to identify apps that start up on their own (more than you think) and prevent them from starting randomly. In my experience this has been a huge cause of the standby drain problem showing up as Android OS, suspend, and event/0 in battery monitors. I'm currently sitting on 81% battery remaining with over 1 hour of screen time after 21 hours since my last charge. I know it's not a lot of usage but it's the standby time that's fantastic.
boxcar8028 said:
I had bad battery drain in the past and no deep sleep. but what worked for me was not to use any live wall paper. this fixed my deep sleep issues. for the battery drain, re-set your battery stats and re boot a couple of times for the stats to settle down. also check google map and latitude. in latitude just log out. un-checking sync in my yahoo email app also helped with my battery drain. my wifi is set at, off with screen. I went from 20 -30% drain in 7hrs to now 1-3% in 7hrs
I hope any of this info can help
cm7 n146
Click to expand...
Click to collapse
I've a Galaxy S2. Tried everything, except disable autosync. Was losing 30-40% battery at night. So far since turning off google sync I'm getting about <1% battery use an hour. Will see if it continues. Thanks.

[Q] GCM_LIB holding constant wakelock causing bad battery drain

I have a weird battery drain problem...(Bell I337M, latest firmware)
I realized mid-morning that I was dropping battery a LOT faster than I normally do. I don't use my phone much at work so after the course of a work day I'm usually left with around 85% battery remaining. Today, however, my battery dropped all the way down to just over 40%.
I checked the battery stats and saw that Android System was the next highest source of battery usage - with a "stay awake" time of over 12 hours so far. I installed BetterBatteryStats and it points to an Android System process called GCM_LIB holding the wakelock 100% of the time. My phone has not once dropped into deep sleep.
I think this may be the Google Cloud Messaging service, so I tried investigating every avenue I could. I've rebooted three times. I've removed every single account on my phone. I've stopped every push or polling application. GCM_LIB continues to hold the wakelock.
Any ideas? I really don't want to have to wipe the phone if I don't have to, I have everything configured just the way I want it to be.
got_milk said:
I have a weird battery drain problem...(Bell I337M, latest firmware)
I realized mid-morning that I was dropping battery a LOT faster than I normally do. I don't use my phone much at work so after the course of a work day I'm usually left with around 85% battery remaining. Today, however, my battery dropped all the way down to just over 40%.
I checked the battery stats and saw that Android System was the next highest source of battery usage - with a "stay awake" time of over 12 hours so far. I installed BetterBatteryStats and it points to an Android System process called GCM_LIB holding the wakelock 100% of the time. My phone has not once dropped into deep sleep.
I think this may be the Google Cloud Messaging service, so I tried investigating every avenue I could. I've rebooted three times. I've removed every single account on my phone. I've stopped every push or polling application. GCM_LIB continues to hold the wakelock.
Any ideas? I really don't want to have to wipe the phone if I don't have to, I have everything configured just the way I want it to be.
Click to expand...
Click to collapse
I had the android system drain when I used google edition roms but I fixed it by adding a few build.prop entries to make the phone sleep better. I didn't have this issue with stock touchwiz roms tho
Deeper Sleep / Better Battery Life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
Hi, some of our users said this.
As you can see from this screen: https://plus.google.com/communities/112636044705492129107 they have the same problem of you.
Have you found a solution?
GCM LIB is deprecated as per the GCM website, it has been superseded by GCM Server and GCM Client. Please use the GoogleCloudMessaging API instead of the GCM client helper library. The GCM server helper library is still valid.
There are a number of open bugs against GCM_LIB, including this one and I doubt they will be addressed.

[Q}Lollipop Yotaphone 2 battery life - any fixes?

Hi all,
Having just bought a Yotaphone 2, latest model 801 processor and with Lollipop installed, I was impressed with it... lovely screen, sharp response, great display on the back ....until I realised that battery life on the EPD or indeed doing nothing was (and is) terrible.
This somewhat negates the point of having the EPD. Because whether you use the EPD or not, as others have found, the processor seems to be spending 100% of the time doing something like trying to connect to Google headquarters to report my unethical swearwords as I look at the battery level heading south.
To try and make sure the phone was using the least power, I went through all the running apps and services and terminated as many as I could, turned off things like Yotafit tracking, turned off the service that sends all your contact details to the Kremlin, and so on... then, I turned on the Yotaenergy mode and despite that, we are at less than 24 hours with virtually no phone usage at all. Fully 50% of all the energy according to the battery stats is being used by Android System and Android OS processes when the system is in standby. And the historic battery screenshot shows that the processor is active 100% of the time., even though the phone has not been touched. (sorry, not attached, I'll post at some point, but its not very interesting)
So, does anyone have any clues about how this can be fixed? I have seen screenshots where people have shown that their processors are not active the whole time, and I imagine they have Lollipop? I have heard Lollipop has got some kind of bug which means that data connections are live the whole time, not sure if this is related.
(This might explain the sudden appearance of half price devices on eBay around six months after launch in the UK.)
Many thanks in advance!
YotaDevices has acknowledged the problems on Lollipop battery life, which is the reason they won't be shipping devices coming to USA preinstalled with Lollipop, but with KitKat. Now that I've played around with the EPD and created some widgets/applications for it, I can spot many places where things can go wrong in maintaining battery life and still keep things working.
Personally I've been lucky with the battery life on all versions of Android. When I updated to the last version of Lollipop (firmware 1.44), the phone did show poor battery life for hours after the installation was finished, before calming down to the promised 5 days stand by. Are you on the very last firmware? (Settings - about phone - build number)
As a last resort if your device won't settle down, I guess you could roll back to Kitkat, which had a very good battery life for pretty much everyone. You can install it with Yota's flasher tool: ftp://fw.ydevices.com/YotaPhone2/YotaPhoneFlasher/yotaphone2_flasher.exe
Just carefully select your own region and then the last version of KitKat (4.4.3) they offer. As you are rolling back from one major version to another, I would suggest flashing pretty much everything. You will lose your data.
Yota has said that they are working on bringing Lollipop 5.1 or 5.2 to Yotaphone 2. Let's hope that that works better.
Thanks that was very useful. The question is, will Yota do another build ... or build another device? I'm hoping the Y2 has a bit of life left in it yet and they do launch in the US - it can only help the development community!
I reset back to factory/Lollipop last night as it was eating battery so fast I could not believe it, and I am on the latest build 1.44EU (and was before). Since then.. it doesn't seem to be misbehaving so much, but it does seem to insist that the WIFI is on (when it is switched 'off' in the settings) by 'on' I mean the battery usage recorder... I wil take your advice and 'take it slow' for now, but may flash back to Kitkat if necessary. It is a bit tedious having to reinstall all your apps by hand but this seems to be the only way to ensure it is relatively clean.
The screengrabs below show the phone doing nothing at all in Yotaenergy mode - per first post.
ridgemagnet said:
Thanks that was very useful. The question is, will Yota do another build ... or build another device? I'm hoping the Y2 has a bit of life left in it yet and they do launch in the US - it can only help the development community!
I reset back to factory/Lollipop last night as it was eating battery so fast I could not believe it, and I am on the latest build 1.44EU (and was before). Since then.. it doesn't seem to be misbehaving so much, but it does seem to insist that the WIFI is on (when it is switched 'off' in the settings) by 'on' I mean the battery usage recorder... I wil take your advice and 'take it slow' for now, but may flash back to Kitkat if necessary. It is a bit tedious having to reinstall all your apps by hand but this seems to be the only way to ensure it is relatively clean.
The screengrabs below show the phone doing nothing at all in Yotaenergy mode - per first post.
Click to expand...
Click to collapse
I am quite confident that they will release updated Lollipop sooner or later. They don't have the resources to piss off all their customers just yet.
Your Wifi still does some scans on its own for Google's location service, even if it's not enabled. You can disable this feature in the advanced wifi settings. But that is not the cause of your battery problem. Basically your device is awake all the time, meaning something is holding a wake lock. And by something I mean one of Yota's EPD compoments, which are counted as part of "Android OS" and "Android System" - your biggest battery hogs. It could be one of the EPD widgets that is misbehaving, or it could be some specific combination of them, or just something out of your control.
You could try removing ALL the widgets from the rear screen from Yotahub, then restart the device, and then let it run for an hour with the screen off. Then check the detailed battery log if the device went to sleep or if it was awake. If it went to sleep, you can try adding widgets back one at a time, and then check again if the device sleeps. Basically all the widgets which update periodically hold a wake lock momentarily (time, battery, calendar, weather etc). Of course if the problem lies on Yota's EPD framework, then this wont help at all.
Jeopardy said:
I am quite confident that they will release updated Lollipop sooner or later. They don't have the resources to piss off all their customers just yet.
Your Wifi still does some scans on its own for Google's location service, even if it's not enabled. You can disable this feature in the advanced wifi settings. But that is not the cause of your battery problem. Basically your device is awake all the time, meaning something is holding a wake lock. And by something I mean one of Yota's EPD compoments, which are counted as part of "Android OS" and "Android System" - your biggest battery hogs. It could be one of the EPD widgets that is misbehaving, or it could be some specific combination of them, or just something out of your control.
Click to expand...
Click to collapse
Agreed, I suspect the YotaFit app going bonkers despite my efforts to kill it.... or the Yotagram service, the thing is, looking at the Yota specific apps, you don't really need them, as you can flip the screen with the Yotamirror, and then use any Android app. Sure it would be nice to have notifications on the EPD, but my main focus for this phone is use in bright daylight, and long battery life, not to actually look at the thing 24x7 so I can respond to emails every 30 seconds.
At this point though I'm just trying to determine how bad the underlying hardware is. The GPS on this phone seems to a bit flaky, as does the basic reception of mobile signal. (And I'm not using a metal bumper.) So, I'm happy to flash back to KitKat 4.4.3 to try and give it the best chance..
So, any clues/links about the Yota flash tool? I've put the phone into USB debug mode, installed the flash tool on my windows 7 desktop, and installed ADB/Fastboot as well, but at this point I'm having a bit of an android driver problem, and ADB can't see the phone so that probably explains why the Flashtool says 'waiting for device' when I fire it up. I will go digging to fix that, but I assume that the Flashtool will do all the stuff like putting the phone into bootloader mode, unlock etc...
ridgemagnet said:
Agreed, I suspect the YotaFit app going bonkers despite my efforts to kill it.... or the Yotagram service, the thing is, looking at the Yota specific apps, you don't really need them, as you can flip the screen with the Yotamirror, and then use any Android app. Sure it would be nice to have notifications on the EPD, but my main focus for this phone is use in bright daylight, and long battery life, not to actually look at the thing 24x7 so I can respond to emails every 30 seconds.
At this point though I'm just trying to determine how bad the underlying hardware is. The GPS on this phone seems to a bit flaky, as does the basic reception of mobile signal. (And I'm not using a metal bumper.) So, I'm happy to flash back to KitKat 4.4.3 to try and give it the best chance..
So, any clues/links about the Yota flash tool? I've put the phone into USB debug mode, installed the flash tool on my windows 7 desktop, and installed ADB/Fastboot as well, but at this point I'm having a bit of an android driver problem, and ADB can't see the phone so that probably explains why the Flashtool says 'waiting for device' when I fire it up. I will go digging to fix that, but I assume that the Flashtool will do all the stuff like putting the phone into bootloader mode, unlock etc...
Click to expand...
Click to collapse
The widgets I'm running at the moment without any problems are Time, Mini Calendar, weather, battery, and communications (the small widget which shows phone calls, notifications and sms). And of course my own widget.
The best way to make sure there are no useless services running is to root the device and uninstall them completely, but that's another story.
For the flashtool to detect the device, you need to boot it into download mode manually. The easiest way is to turn off your device and plug the usb in while holding volume down -button. The screen will show "download" or something in very small white text. After that the flashtool should find the device. You probably don't have to flash the user partition (it asks for it separately), i.e. the simulated sdcard section which holds all your photos, documents and music.
Edit. And when you have kitkat installed, the first thing you might want to do is to disable automatic system updates. Otherwise it will nag you about the Lollipop update all the time.
I've been facing similar issues and am considering a downgrade when I have the time. I'm really disappointed in yota and won't be buying their next device.
I have found this thread useful, you may too.
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
thanks gents, oddly, the advice to let the phone 'calm down' seems to be working. I decided not to revert to KitKat (yet), as every day I use the phone the battery life seems to improve. Yesterday it was down to 40%, today 60% after about a days use. I'm thinking a week of running in will give it time to stabilize. I would love to root the phone but I want to use the Good app, and that doesn't run on rooted phones... (shame but I guess that's the flipside of working for a big corporate for you!)
ridgemagnet said:
thanks gents, oddly, the advice to let the phone 'calm down' seems to be working. I decided not to revert to KitKat (yet), as every day I use the phone the battery life seems to improve. Yesterday it was down to 40%, today 60% after about a days use. I'm thinking a week of running in will give it time to stabilize. I would love to root the phone but I want to use the Good app, and that doesn't run on rooted phones... (shame but I guess that's the flipside of working for a big corporate for you!)
Click to expand...
Click to collapse
Try putting the battery widget on your epd. If it shows 5 days remaining when you are above 85% and you don't use the phone, then the device works as advertised.
That Good app sounds like a real killjoy. There seems to exist some Xposed modules to disable the root check, but they seemed to be rather finicky to setup and very easy to mess up.
I was suffering from terrible battery life after the lollipop upgrade and the EPD battery widget was never showing much above 1d anymore. After much research and tinkering, it has now improved and I am seeing greater than 3d again. I think the culprits were maybe google fit tracking which I have now turned off and I also de-installed and re-installed the google play services updates which is a tip I saw in an android forum. I also over the last two days have received several yota widget updates which may have also helped. At least for now I am seeing a comfortable day's use again!
I experienced poor battery life out of blue again. I went through all the settings, cleared dalvik-cache and cache partition, tried disabling everything, but nothing helped. It only showed <1 day battery life at 100%.
But then I went to mess around in the developer settings, and when I set the animation scales from 1x to 0.25x and enabled "Force GPU rendering", the battery life returned instantly to 5 days.
Just thought I'd add this to the list of things to test out if someone's experiencing poor battery life. The forced GPU rendering might have some unexpected effects on some software rendering based games.
dont know if this will help but just seen some of the new features of android m "marshmallow" one of which is doze and there is a separate app available on play store for this. i have installed and it has helped battery life !!!
I was going through terrible battery life after Lollipop as well. Suffered, tinkered, tried various things. Eventually I just said screw it, backed everything up and factory reset it from recovery. Since then it seems like it's almost back to it's old self. Obviously having root and using some kernel control apps, greenify and some other things helps it but It will happily do at least a couple of days with little-normal usage. Still don't think it's as good as KitKat but it's not too far off. The EPD really does help spread battery out too.
I did the same thing but a 3 weeks on, the battery is as shocking as ever.
Today, on battery since 0730, now @ 1115 51% and 3hrs left!??
No obvious apps causing battery drain, just google services!
Rarelyamson said:
I did the same thing but a 3 weeks on, the battery is as shocking as ever.
Today, on battery since 0730, now @ 1115 51% and 3hrs left!??
No obvious apps causing battery drain, just google services!
Click to expand...
Click to collapse
I have had the phone nearly a week, and these are similar figures I experience. What's the point of the epd if my battery dies by lunch!
Sent from my YD201 using Tapatalk
I think it is something with Android 5.0 that is causing the drain issues. I can go anywhere from half a day to a week with good batteyr life and then it will randomly start draining again. Some background activity seems to hold a permanent wakelock and will not let go of it. I am unable to pinpoint what app is creating the wakelock with better battery stats or wakelock detector since there isn't access to kernel wakelocks in either of the apps for our phone. A restart always fixes things though, so I have a tasker script now that lets me know when idle battery drain exceeds a threshold for too long so I know to do a restart, it's not elegant, but my battery life is exponentially better and gives me enough battery life to make it through the day without a recharge and leave the eink screen on all night as a tv remote.
I got a new phone
sportsfan986 said:
I think it is something with Android 5.0 that is causing the drain issues. I can go anywhere from half a day to a week with good batteyr life and then it will randomly start draining again. Some background activity seems to hold a permanent wakelock and will not let go of it. I am unable to pinpoint what app is creating the wakelock with better battery stats or wakelock detector since there isn't access to kernel wakelocks in either of the apps for our phone. A restart always fixes things though, so I have a tasker script now that lets me know when idle battery drain exceeds a threshold for too long so I know to do a restart, it's not elegant, but my battery life is exponentially better and gives me enough battery life to make it through the day without a recharge and leave the eink screen on all night as a tv remote.
Click to expand...
Click to collapse
In the end, I got a new phone after my Yotaphone decided to brick itself. Its a Zopo Speed 7, Octacore, dual SIM, nice screen, and does 4G very well in my part of the world. It is also around $200 at time of writing. Its a Chinese phone typical of the genre, Zopo seem to be moderately responsive to bugs compared with Yota... This Zopa phone is running 5.1 Android and I can tell you that Lollipop is not the problem...
That's after charging the phone and leaving it overnight, with the battery saver mode on... not too shabby. Of course it won't actually last 28 days, but this phone is nothing special and it is capable of running without all those services running that the Yota has.
The Yota spent its entire time when I had it trying to contact Moscow with that dodgy 'dictionary app'. What (honestly) is the point of the e-ink display if it doesn't save power...
If you are experiencing "always awake" and wifi always on despite your settings saying otherwise it may be worth going into your advanced wifi settings and changing "wifi frequency band" from "auto" to "2.4 GHz only. I remember reading this tip somewhere else for an Android 5.0 phone that was having battery issues similar to this. I made this change about 24 hours ago and have noticed a dramatic difference in battery drain when the screen is off. When I look at my battery stats I am no longer seeing a solid bar for both wifi and awake. Worth trying.
For what it's worth, I have had fairly light use today, some checking of emails and facebook, 40 mins or so of music via bluetooth (with screen off). Total screen on time of 35 mins. The phone has been off charge since 06:30 this morning. It is now 17:00 and is showing battery of 71% with an estimated 2d and 8h left. Better battery stats show deep sleep of 71% whereas previously it had shown awake at 100%. Far better than I had before.
stapo101 said:
If you are experiencing "always awake" and wifi always on despite your settings saying otherwise it may be worth going into your advanced wifi settings and changing "wifi frequency band" from "auto" to "2.4 GHz only. I remember reading this tip somewhere else for an Android 5.0 phone that was having battery issues similar to this. I made this change about 24 hours ago and have noticed a dramatic difference in battery drain when the screen is off. When I look at my battery stats I am no longer seeing a solid bar for both wifi and awake. Worth trying.
For what it's worth, I have had fairly light use today, some checking of emails and facebook, 40 mins or so of music via bluetooth (with screen off). Total screen on time of 35 mins. The phone has been off charge since 06:30 this morning. It is now 17:00 and is showing battery of 71% with an estimated 2d and 8h left. Better battery stats show deep sleep of 71% whereas previously it had shown awake at 100%. Far better than I had before.
Click to expand...
Click to collapse
Have you tried using the setting so Wifi is only on while screen is on? (Unless on charge...)
I think I found the issue, at least with my phone.
I was syncing with exchange, and there is a nasty bug with android 5.0 and exchange sync. The sync is taking forever and doesn´t sync everything. Calendar and contacts missing.
Then I removed the ActiveSync connection on my phone and set up the app Nine to sync instead.
After that I got much better battery. This may help for others as well. The phone is just hammering the exchange server all the time and this takes up a lot of power.

Massive wake lock and battery drain

Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
here's a way to avoid it http://forum.xda-developers.com/galaxy-s2/help/google-c2dm-checkin-services-t1321520
i'll update if i find anything else.
don't tell them your device is rooted. if you go to service center just re-lock the bootloader and its back to normal.[it won't get your warranty back but they don't check that much]
can you post a screenshot of gs sam.
1 - Install BetterBatteryStats (BBS) - this will give you detailed information on what is draining your battery. Get it from XDA v2.2.0.0B6 - this gives you the detailed breakdown in the UI that you are after, the google play version doesn't do it in the UI (older version).
Get baseline results (charge it full, don't touch it for 5-6 hours) I like to do this while sleeping.
2 - Install Greenify (you don't need the Xposed module if you don't want to fiddle with that yet, alto I highly recommend it) set the working mode to root. If applications are still not sleeping, add the widget and force sleep everything before you turn off your screen
Get BBS results (do the 5-6 hours while sleeping) - improved?
3 - Install Naptime from the google play store (by Fransico Franco)
Get BBS results - improved?
Getting anal about battery usage?
4- Read up on Amplify - this yielded even more results for me. But this can take a bit of work to get right. There's a lot of great threads on XDA for setting this up.
5 -Smart network - allows you to control data, networks, wifi, bluetooh, nfc, gps on/off with a ton of great features for auto. management.
I have all the above and yield a 0.4%/hr drain on stand by (see signature for phone build).
Amplify is a god sent app. It has been 4 hours now, and I have been using whatsapp on and off (about 20 seconds each time) and I still have 97% left in the tank.
LaurenceGough said:
Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
Click to expand...
Click to collapse
Facebook app has been known to cause serious battery drain in the past. Uninstall it and test again.
In 99% of the cases it is caused by an app. Try to find out which one is causing the drain.
Hi all,
Sorry for the delay and thanks for the replies. I performed a factory reset again, after clearing the cache etc, the same as I did last time. The only difference is I then installed Android 6.0.1
The battery drain has now gone. I didn't perform a restore of apps etc, and the only apps I have installed so far in addition have been Facebook and Facebook messenger but I have found these have had no effect at all on the battery drain. I haven't even updated the stock apps (apart from the security ones).
I now get two days of use easy. It also seems to be running slightly faster. I will update apps one by one, over the course of a few days to make sure nothing causes it again...
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
I use this guide, works really great to limit wake locks.
And I don't use Fb app but use the browser instead, battery lasts easily two days of "heavy" usage !
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
LaurenceGough said:
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
Click to expand...
Click to collapse
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
pijes said:
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
Click to expand...
Click to collapse
Nope, Doze had no affect at all but it should be as it was sitting stationary overnight - normally the drain overnight is a few percent at the most, last night it was around 65% and I was left with 20% in the morning and this was I think the first time I had used Google Chromecast Audio since the factory reset with great battery life up to last night... I could try Servicely but I am not sure on the service to kill and I'd like to keep it 100% stock for now so I can help out Google to fix the bug (or Motorola if they bother)... What a pain as I just bought 4x Google Chromecast Audios!!
I have reported it here in the Android bug tracker, feel free to comment / star the issue to bring it to Google's attention.
https://code.google.com/p/android/issues/detail?id=208324
However I am not sure if this is a Motorola Issue or a Google Marshmallow / Chromecast issue?? Motorola support have been very unhelpful so no luck if that is the case...
If anyone else with Chromecast Audio could confirm the bug that would be great.
Thanks
Laurence
There's a post on reddit about battery drain with chromecast audio about a year ago, not sure if it's the same issue though.
Sent from my XT1562 using XDA-Developers mobile app
https://forum.xda-developers.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548
maybe this help, on moto g this helped
apart from greenify and naptime...i dont think we have something like amplify yet for nougat devices, also with the governor scripts they are providing better results now
yep
miss5tability said:
i dont have root etc but on my just buy moto x play with stock android 6 i dont have 2 sensors working and deep sleep is gone so battery drain... even after cler cache. reset etc, this phone is pure ****
Click to expand...
Click to collapse
If you bought it brand new just go back to the shop for replacement
pijes said:
If you bought it brand new just go back to the shop for replacement
Click to expand...
Click to collapse
yep

Really Bad Battery Life, S7 Edge Exynos Single

No Bluetooth, No Location - Yes WiFi, LTE 100% signal coverage, no downtime, overall low brightness around 25-40% I can't seem to get past a day of regular use with 2 hours and half average screen time. Using latest OTA.
I've turned off the always-on screen, several bloatware that came preinstalled, including Facebook and Whatsapp.
The first on the battery usage is always Android System followed by Cell Standby then Android OS (again???) and then Screen. Also the voice call seems to use some great amount of battery. Naming might be different since my Android is in another language.
Have turned on energy saving for most apps that runs on background. Doesn't help much since I don't have many apps that runs on background. Imagine if I did! My day ends with about 20~27% battery left, I just turned off fast charging to see if it helps anything. My Xperia Z3 with Whatsapp and a great deal of apps installed would end the day with over 50~65% with Stamina Mode. I know the screen is smaller but so is the battery.
So I thought it would get better with time but it didn't, it's the S7 Edge Exynos Single SIM, unbranded with the official Samsung rom so I could get the latest updates or I would be stuck with no updates at all since Frebuary, since my carrier usually only releases major OTAs such Android N and skips all the minor updates.
Yes I did a factory reset already hoping for the better, maybe I got a defective Galaxy S7? I'd hate to have my phone fixed and the battery changed, it wont be the same again unless they give me a new one which is unlikely.
Why is Android System and Android OS draining so much battery? Are there any tools to debug this and trace which processes are using CPU time? Or could this be due a faulty battery?
Settings, Applications, Google. Disable all the services that will cause wakelocks such as all security options. This is something 99% of folks overlook or forget. Post a screenshot of your battery stats
http://forum.xda-developers.com/showthread.php?t=1827676
Only settings marked above are "Allow remote lock and erase"
Here is an average day with:
**Few moments connected to my laptop transferring pictures from yesterday - so incidentally it took some charge on the way.
1 hour 29 minutes voice call, 3G/LTE signal is excelent, VoLTE not used, WiFi on occasionaly, Location off, Bluetooth off.
1 hour 12 minutes running Fallout Shelter with power saving on, 30 fps low resolution mode, that's the CPU time at least.
2hour 28 minutes screen time with very dim brightness​
Power saving ON all apps where available, I have absolutely nothing installed but a couple of games, Teamviewer and Microsoft Remote Desktop.
That left me with 49% battery. Not sure how great the results are considering the brightness was very low.
Since the image took the whole page, here are the links instead lol.
Screenshot1 | Screenshot2
Dont quote me on this but I believe the Android System drain issue is a byproduct of the latest Samsung firmware update...
Someone more in the know could correct me or elaborate more
null
There is a thread on battery life here
http://forum.xda-developers.com/s7-edge/how-to/post-battery-life-t3321547
you might find some help/answers in there
Regards
Sawdoctor
Just some heads up, in offline mode my phone went a full day with a 6% drop, half hour screen time and some minor gaming, when I turned the phone radio back on around 20:00 when it was 10:00AM it was down to 15% battery, solely on standby. No bluetooth No location - Yes Wireless Yes LTE

Categories

Resources