I've been around the forum that clearing up cache could help with the battery drain issues. I'd try doing that but i got a error message: "erase is not allowed in lock state". Does that means that i have to unlock bootloader?
Erasing cache is not helping here.And yes you have to unlock bootloader
I have done it and it doesn't solve it...
After many tries:
Turn off location
Turn off app messaging in google setting
If you can turn off sync (sync manually)
I realized that google play services is consuming my battery about 20% but now its about 1%
And standby drain for a night is about 6%
Related
I'm opening this thread to clean up the Dev thread, since the most probable cause of battery drains are software/configuration related.
Here's my own experience with this matter.
Most of the drains I've seen are related to Location settings and Google Now. It seems Google's Location Reporting and Location History keep pinging WiFi for the location at a fairly high rate, so keeping the phone Awake and/or the WiFi running all the time. An usual indication of this is that in BetterBatteryStats you get:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running 100% of the time.
4) Awake with moderate-to-high %.
To test it, here's what should be done:
1) Get BetterBatteryStats (BBS), enable Root, install it as system app (in advanced settings). Reboot.
2) Disable WiFi and GPS completely, preferably leaving Data Network also off. You may go all the way and just turn on airplane mode.
3) Leave the phone idle for at least 1h and check that there is no battery drain.
If you get any considerable drain (more than 5%/h), check Kernel Wakelocks and Partial wakelocks, or try again with 2G networks only. You may have a baseband problem. Consider this step as your "control group" as it ensures nothing in the hardware or in the ROM is wrong.
If there is no drain, enable WiFi and GPS again, but make sure all this settings are UNCHECKED:
1) Settings->WiFi-> Advanced: "Network notification", "Keep wifi on during sleep" set to "Never", "Scanning always available".
2) Settings->Location->Google Location Reporting: "Location Reporting" set to off and "Location History" set to off. Or just disable Location completely.
3) Check Settings->Security -> Device Administrators -> Disable at least Android Device Manager. If you can, disable everything else in this screen, such as Airdroid, Cerberus, etc
4) App drawer -> Google Settings -> Search -> Set Google Now to Off. You can also configure Android Device Manager here.
Leave the phone idle again for 1h and check BBS. In theory you shouldn't need to recharge completely, just enable the watchdog in BBS. Always check the wakelocks too.
You should get this on BBS:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running with low % (anything less than 50% is ok, depending on Sync settings and background apps)
4) Awake with low %.
5) Deep Sleep with almost 100%
Go back enabling stuff as needed, one by one, leave the phone idle and check BBS. Rinse and repeat until you find the culprit.
One thing, make sure you do this after letting the phone sync some of the stuff. Don't do this immediately after a setting up a Google account.
Some people also reported that doing a factory reset solves the drains. It's always recommended anyway.
Any other hints are also appreciated.
For people with trouble making BBS work, Try getting the latest version, enable Root in Settings->Advanced and them System App, also in Settings-> Advanced.
Also:
1) When the phone is charging it WILL BE AWAKE WITH BOTH CORES, ALL THE TIME. Depending on the governor used, both cores may even stay at full speed (aka 1GHz). This is BY DESIGN and stock ROMs does that too. So any measurement while the phone is charging is useless.
2) Most "calibration" procedures are myths and don't have any effect. Erasing batterystats.bin also does nothing to increse battery life or remove drains (but may solve some charging issues, still unclear).
Very interesting.. Good thread and good options to test our battery drain ! thanks for the post.
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
There is a lot of battery drain only when WiFi in on. Even if the phone is idle.
I'm on:
Maclaw CM 11.0 [20131210]
I8190XXAMJ2
I'll do the exact tests and post my results.
Do you get notifications with wifi set to never during sleep?
RodHQ said:
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
Click to expand...
Click to collapse
Use the 1st step I wrote above with BBS. Check Kernel Wakelocks and Partial Wakelocks. You will be able to pinpoint exaclty what is keeping your phone awake.
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
i just changed to peagusq everything is fine
BBS How-to
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Maybe BBS How-to will help you
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3
If not than post screens and collected dumps on BBS thread
gimme link to maclaw 4.4.2 for s advance
Sent from my GT-I9070 using xda app-developers app
Link
Here you are
http://maclaw.pl/downloads/
same here
eswarvf said:
i just changed to peagusq everything is fine
Click to expand...
Click to collapse
+1
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
rcoacci said:
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
Click to expand...
Click to collapse
I fixed my problem by switching back to dalvik and now my phone only looses about 5% battery overnight.
My Moto X (2014) arrived two days ago. Battery life is pretty bad - noticed that the "Google Play services" process under Battery seems to take up a lot, more than anything else. My Location is set to "Device only". But under the History battery details (the chart with the battery drain), it shows "GPS on" always - any ideas why?
I turned Google Now off entirely BTW. Turning off location entirely stops GPS from being on but on my old android phone that was always on, just GPS would know be used in Google maps, etc.
Also have "google play services" as my largest battery drain on lollipop. Was just going to start a thread...ugh.
So I've got 2hr SOT right now and google play services is STILL the largest drain. I've cleared cache partition, and did a reset. Any ideas?
On kit Kat, it wasn't even in the battery usage statistics..
qwerty12601 said:
Also have "google play services" as my largest battery drain on lollipop. Was just going to start a thread...ugh.
So I've got 2hr SOT right now and google play services is STILL the largest drain. I've cleared cache partition, and did a reset. Any ideas?
On kit Kat, it wasn't even in the battery usage statistics..
Click to expand...
Click to collapse
Same here.
I almost have same battery time like with KitKat, but now play services is #1 battery user even with 3h SOT. I don't know why and how to stop it.
Interesting, I found the culprit. The Weather Channel app was constantly accessing GPS and that kept the Google Play Services app awake. Uninstalling the app did the trick. Of course it took a full factory reset and a lot of time installing and uninstalling various apps.
Hey guys, I have a note 5 and I tried to look into battery drainage because it's been quite crappy lately, if I don't touch my phone it losses about 7-10% per hour and I looked
into what drains the most when my phone is not in use, google services 70% of my battery, is there a fix for it?
Thanks!
*Sometimes it changes it's name to google play services
Try wiping the system cache or do a factory reset.
Having the same issue. Wiping the system cache worked for about a week or so then it came back. Factory reset is not a option right now. Has to be a better option than a factory reset. I did try removing the updates to google play services and reinstalling them with no luck. I also tried removing all google accounts and re-adding them with no luck.
I've noticed that the battery life got worse with the latest 23.5.A.1.191 update. With previous version I could leave the phone on desk overnight and the battery did not drop at all (flat line in the battery usage graph). Now with the Stamina comeback I can see a 10 to 15% drop overnight. Can you please share your ideas what settings I should look into to fix it? Thanks
Have u check your wakelock? Play services often do this idiot bug.
Yes, Play services was the app draining the battery, but I remembered that I installed Google Fit in the meantime. Additionally something got messed up with the location after the last update, so I did not see a detailed route but just a large circle on the map in Fit (maybe permissions for gps location?).
However uninstalling Google Fit fixed it. I woke up today and saw a flat line in the battery usage.
I leave data usage over night and , since I have this phone, my battery draining from Google Play services is abnormal. I only synd gmail, no other service, no other permission. I've used Gservicefix without any result. Does anybody know why?
SoulFury said:
I leave data usage over night and , since I have this phone, my battery draining from Google Play services is abnormal. I only synd gmail, no other service, no other permission. I've used Gservicefix without any result. Does anybody know why?
Click to expand...
Click to collapse
There are lots of reasons why Google Play Services are eating your battery, try a few fixes yourself, check which version of Play Services you have installed , anything older than 9.4.52 needs replacing.
Remove your google account, wipe data for Play Services and Download manager, restart to recovery, wipe cache/dalvik. Restart phone, add account again.
There seems to be issues with fitness trackers and bluetooth, if you have bluetooth on all the time, see what happens if you turn it off?
I can recomend Greenify app that can make a difference in putting apps to sleep, it also helps you see which apps are awake and on.
Check in settings/developer options/running services to see what's on and using most memory, you might be surprised at what you find. To enable developer options go to settings/about phone - press on build 8 times, then you get a message that develper options are availabe in the settings menu.
SoulFury said:
I leave data usage over night and , since I have this phone, my battery draining from Google Play services is abnormal. I only synd gmail, no other service, no other permission. I've used Gservicefix without any result. Does anybody know why?
Click to expand...
Click to collapse
the first couple of days after an update or a factory reset, google play services collects a lot of information. It should go back to normal after some days. Anyway, I can give you some suggestion to limit the battery drain:
- new Stamina is a rebrand of the normal battery saver. Don't keep it always on.
- if you want something reminding the old stamina, download Greenify, follow instruction for adb command to enable Aggressive Doze and enable Doze on the go. Take away optimization from battery advanced setting for apps you need push notification from (e.g. whatsapp)
- disable wifi scanning when wifi is off (search in settings wifi scanning, though the search button. If your language is different from English (US) and you don't find the setting, switch to English (US) to find it)
- restrict google play services background data when not in wifi
- in account/google disable the sync for whatever you don't strictly need (play newstands, g+, ...)
With this settings, I can get 5 hours sot in a couple of day of usage, and almost no battery drain over night.
Well, my daily use consist on:
- Traffic data always on
- watch clock when needed
- +-45min WhatsApp
- Some random search.
- Some rare use of torch
- Sync with Gmail(ONLY Gmail)
I only use wifi for updates and don't have any gps or bluetooth use...Battery last above 48h this way and google services hast half of time with radio antena on.
Ive p9 stock firmware never unlocked or rooted ive last update b505
The phone keep discharging all the time and 10% every night when in airplane mode with all process closed
Checking battery usage details i can see the battery dischargin by night with screen off no app using battery and airplane mode on, so wifi and mobile network off.
The problem i can see is that in battery usage details the phone is always AWAKE, when screen off is awake, when airplane mode on is still awake. The awake line is full while the screen, the wifi, etc are never full, but the awake line is full no empty space
I have checked and no apps are running all the time, no apps are set to ignore battery optimization or to run in background, ive tried to uninstall all third party apps but no fix also ive tried to factory reset the phone but no fix
Any help? Cant find any solution brosing the forum and internet
raniero1 said:
Ive p9 stock firmware never unlocked or rooted ive last update b505
The phone keep discharging all the time and 10% every night when in airplane mode with all process closed
Checking battery usage details i can see the battery dischargin by night with screen off no app using battery and airplane mode on, so wifi and mobile network off.
The problem i can see is that in battery usage details the phone is always AWAKE, when screen off is awake, when airplane mode on is still awake. The awake line is full while the screen, the wifi, etc are never full, but the awake line is full no empty space
I have checked and no apps are running all the time, no apps are set to ignore battery optimization or to run in background, ive tried to uninstall all third party apps but no fix also ive tried to factory reset the phone but no fix
Any help? Cant find any solution brosing the forum and internet
Click to expand...
Click to collapse
Bluetooth maybe on?
Did you try by not putting to Airplane (you can put to Silent or Don't disturb), to see if still Awake all time?
Yeah is still awake
Same shiet here, but on B504. The greenify helped a little.