[Q] Please help me find the cause of battery drain - Nexus 4 Q&A, Help & Troubleshooting

My phone's battery has been sucked dry way too fast since ~may 25.
I am and have always been on stock rom, and I only rooted the phone this weekend in order to use BetterBatteryStats and Wakelock Detector.
I estimate that during a day of heavy use for me before the end of may, the battery usage cannot have been much above 5%/h
According to BBS the phone used 6.4%/h over 7h30m this morning with less than a minute of screen on-time.
None of these things have helped significantly:
Disabling automatic syncing
Setting location mode to "device only"
Uninstalling EVERY third-party app except these most essential: Authy, Barcode Scanner, BetterBatteryStats, Dropbox, DSB Wildcard, LastPass, Sleep as Android (and addons), SuperSU.
Factory reset
*Upgrading to Android 4.4.3
Disabling WiFi to see if that would make a difference
Disabling mobile network data
Using recovery mode to wipe cache
My conclusions (please correct me if i'm wrong):
The drain is not caused by any third party app that I have removed without seeing an improvement
The drain is not caused by Google's location service or account syncing
The cause is not Android itself. I used 4.4.2 for 6 months without problems, and I only upgraded to 4.4.3 last week
The problem is independent of location (WiFi and cell towers). During the 7h30m when I collected the data below and got the corresponding graph, I was both at home, at work and commuting between the two, and I can't see any difference on the graph.
The problem is not related to the runtime, because i used ART almost since it was released with android 4.4 and after the factory reset I have used Dalvik
My suspects:
The issue started while the new version of Google Play Services was rolling out. Maybe it ****ed something up?
Batteries consist of multiple "cells" right? Maybe one of them (about 50% I think) broke?
I have uploaded a logfile from BetterBatteryStats below. That data was collected with account syncing disabled, location mode set to "device only" and only the third-party apps mentioned above installed.
Please contribute with any relevant insight or idea, and don't hesitate to ask for more info or propose experiments, to narrow down the possibilities.
Thanks

Styrkefuglen said:
My phone's battery has been sucked dry way too fast since ~may 25.
I am and have always been on stock rom, and I only rooted the phone this weekend in order to use BetterBatteryStats and Wakelock Detector.
I estimate that during a day of heavy use for me before the end of may, the battery usage cannot have been much above 5%/h
According to BBS the phone used 6.4%/h over 7h30m this morning with less than a minute of screen on-time.
None of these things have helped significantly:
*Disabling automatic syncing
*Setting location mode to "device only"
*Uninstalling EVERY third-party app except these most essential: Authy, Barcode Scanner, BetterBatteryStats, Dropbox, DSB Wildcard, LastPass, Sleep as Android (and addons), SuperSU.
*Factory reset
*Upgrading to Android 4.4.3
Disabling WiFi to see if that would make a difference
Disabling mobile network data
My conclusions (please correct me if i'm wrong):
The drain is not caused by any third party app that I have removed without seeing an improvement
The drain is not caused by Googles location service or account syncing
The cause is not Android itself. I used 4.4.2 for 6 months without problems, and I only upgraded to 4.4.3 last week
The problem is independent of location (WiFi and cell towers). During the 7h30m when I collected the data below and got the corresponding graph, I was both at home, at work and commuting between the two, and I can't see any difference on the graph.
My suspects:
The issue started while the new version of Google Play Services was rolling out. Maybe it ****ed something up?
Batteries consist of multiple "cells" right? Maybe one of them (about 50% I think) broke?
I have uploaded a logfile from BetterBatteryStats below. That data was collected with account syncing disabled, location mode set to "device only" and only the third-party apps mentioned above installed.
Please contribute with any relevant insight or idea, and don't hesitate to ask for more info or propose experiments, to narrow down the possibilities.
Thanks
Click to expand...
Click to collapse
Have you tried wiping cache and dalvik cache in recovery? Give them a wipe and let's hope that stop the battery drain.

taodan said:
Have you tried wiping cache and dalvik cache in recovery? Give them a wipe and let's hope that stop the battery drain.
Click to expand...
Click to collapse
Hey taodan, thanks for the suggesion. :good:
I forgot to mention that I have used ART almost since it was released with Android 4.4, but I haven't changed the runtime since i did the factory reset.
So I have had the battery draining issue with both runtimes, which makes me think that the it is not related to the runtime I'm using.
I have tried wiping cache from recovery at least once, but I can't remember if I did that before or after the factory reset.
Do you still think that wiping dalvik cache will help?
I will update the original post with the info I forgot here.

Related

Absurd battery drain

Hi guys I'm really depressed because my phone is not working as it should be. There is a problem that appeared two weeks ago, my battery is having a massive drain with no apparently reason. I already tried everything, from installing a custom rom, deactivate all bloatware and Google Apps, installing different firmwares from Samsung, made several factory resets, changed my sim card, among other things. Even if I keep WiFi, mobile data, GPS, sync and all other things off, or even if I put on airplane mode and ultra power saving, that doesn't avoid my phone's battery to drain about 30% on a single night when I go to sleep and at a rate of 10% per hour in the morning. Looking at the battery usage the process that is giving me problems is gpsd which I don't know what it is. The rare thing is that if I remove my sim card this doesn't happen, or when I reset the phone with the sim in and don't activate mobile data my phone behaves normally but when I turn on data this starts happening again. Also I notice that almost never goes to deep sleep. The phone's model is G900h by the way. Here are some screens I took so you can look at this problem. I would really appreciate if you could help me because I am dying here, I rooted the phone and triggered Knox counter so I sadly lost my guarantee.
Anyone?
Do you use Google maps? It may be running in the background and draining your battery. Try disabling maps in settings and see if that fixes it
---------- Post added at 02:21 PM ---------- Previous post was at 02:04 PM ----------
http://esr.ibiblio.org/?p=4886
This link has some info on the problem, have you gone to location settings in your phone and Google settings and turned everything off related to location such a location reporting?
Yes I did turned everything off regarding location settings. I disabled maps and everything that may be using GPS. I'm sure it's not an app I have installed because I made a factory reset and disabled several bloatware and Google Apps. But I tried something drastic, with root manager I made a copy of the gpsd file on my SD and erase it from my phone. I hope that would solve this hirritating problem
steppenwolf1984 said:
the process that is giving me problems is gpsd which I don't know what it is.
Click to expand...
Click to collapse
steppenwolf1984 said:
Anyone?
Click to expand...
Click to collapse
How can you not know what gpsd is when the simplest Google search would tell you? A reasonable person would have tried a search before posting as one would reasonably expect that there is a wealth of information in existing threads for most subjects. A ten second search will answer most questions (including this one).
Google search: android gpsd
Gpsd is as you would expect from the name is probably a GPS daemon. And it's unlikely to be the culprit. Rather whatever process calls gpsd will be at fault. That is probably some program that tries to frequently check it's location or otherwise poll the GPS status. Which is supported by your observation that the problem disappears if you remove your SIM card. At the top of the list is Google now or related Google programs that are infamous for this behaviour.
Google cares a lot more about tracking your location and targeting ads at you than your battery life. A forum search will find detailed information about how to fix the issue to markedly reduce battery use in existing threads. In short by restricting the Google app's permissions. Or search my post history, I wrote about this at length a hundred or so posts back.
.
I'm sure you've already done that, but take a look at what apps/processes are running on your phone. Perhaps one of them is (part of) the problem?
Check your wakelocks,
Go get wakelock detector and let it run and see whats triggering your phone.
Never had the gpsd issue.
18 hours with 37 percent left?
You're doing pretty well,
did you manage to solve that problem? i have the same problem, even when i disable all location services it keeps draining my battery. I installed wakelock detector but it says it doens't work on kitkat.
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
steppenwolf1984 said:
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
Click to expand...
Click to collapse
did you find out wich of the gapps was the culprit? did you try disabling it instead of rooting to uninstall?

Battery Life Tips and Tricks Thread

I've noticed this phone has hit or miss battery life depending on what you have installed, greenified and frozen. I thought it would be a good idea to create a thread where everyone could share their battery life tips and tricks on this phone.
Below I posted what I have done to maximize battery life. I have not rooted my phone yet, so none of the below tips require root.
I disabled all bloatware apps that came with the phone. I did not disable any of the Asus applications.
I utilize the Asus autostart manger and denied auto start to all my applications except music applications, messenger applications, and google photo sync.
battery sucks. drain to much.
Just use until you have 5% free battery, this should make at least your day
With Android OS taking so much thanks to lollipop, there is not a lot to hope.
We wont see a good battery improvement until we get 5.1
Luckily, that is in the future for this device acc. to Asus.
Since the issue seems to primarily be Android os draining the battery I don't think most battery saving measures will make a difference. We will just have to wait for an update
When I was looking at the phone reviews people were claiming 8 hours screen on time, I can barely get 2 hours screen on time.
The problem I'm having is that the phone never goes to sleep and is constantly awake. Has anyone else seen this issue?
facelessloser said:
When I was looking at the phone reviews people were claiming 8 hours screen on time, I can barely get 2 hours screen on time.
The problem I'm having is that the phone never goes to sleep and is constantly awake. Has anyone else seen this issue?
Click to expand...
Click to collapse
I had the same problem after the latest update, no deepsleep in BetterBatteryStats (I'm rooted), I wiped everything and now it goes to deepsleep.
marcof93 said:
I had the same problem after the latest update, no deepsleep in BetterBatteryStats (I'm rooted), I wiped everything and now it goes to deepsleep.
Click to expand...
Click to collapse
Which firmware version are you on. I've wiped the phone once already, did you clear any caches? It's driving me mad
facelessloser said:
Which firmware version are you on. I've wiped the phone once already, did you clear any caches? It's driving me mad
Click to expand...
Click to collapse
I'm on 2.18.40.12 (ZE551ML of course), I restored the phone from backup & restore in settings (It may take 30 minutes or more). Before restoring I had 45+% of Android OS during the night, now 20% more or less, but, as said, also in BBS I can see deepsleep in frequencies.
Someone posted on Zentalk to turn off remote lock and scan for security threats in google settings. Not sure if it helps or not.
marcof93 said:
I'm on 2.18.40.12 (ZE551ML of course), I restored the phone from backup & restore in settings (It may take 30 minutes or more). Before restoring I had 45+% of Android OS during the night, now 20% more or less, but, as said, also in BBS I can see deepsleep in frequencies.
Click to expand...
Click to collapse
I wiped my phone yesterday and restored back up like you suggested and it seams to have sorted out my wake lock issue. I wonder why that is?
facelessloser said:
I wiped my phone yesterday and restored back up like you suggested and it seams to have sorted out my wake lock issue. I wonder why that is?
Click to expand...
Click to collapse
Glad you solved, but don't know why, maybe they are working hard on the firmware and there are lot of changes that can cause problem, maybe we have to wipe after every update, Intel processor and Lollipop are so unstable right now!
toebus said:
Someone posted on Zentalk to turn off remote lock and scan for security threats in google settings. Not sure if it helps or not.
Click to expand...
Click to collapse
It helps..i turned andriod device manager too
Ok so this is my battery with a normal day of use... Tomorrow ill show the results with your sugestions. My normal days have gsm calls(normal phone calls) whasapp (chat) youtube, twich, game like plant vs zombies 2, look at gmail, surfing internet, taking pics like 25 today.
I notice that battery drains a lot more while photo app open.
I use doble sim as you can see
If you want to test app battery drain, try GSAM Battery Monitor, or for some extra functionality the Pro version. Also very useful to determine what is causing wakelocks when you run into them.
Sammaul said:
If you want to test app battery drain, try GSAM Battery Monitor, or for some extra functionality the Pro version. Also very useful to determine what is causing wakelocks when you run into them.
Click to expand...
Click to collapse
Really interesting app ill download tomorrow im tring to lock some functionalities from google like sending data for app security and after that will download this and tell you what i got
Thank u sir thats a good one
Everyone is always wondering about Android using the most battery. Without doing some in depth debugging and tracing I would guess Houdini falls under Android. Because the ZenFone 2 uses the Intel processor a binary conversion for ARM instructions takes place with Houdini. More than likely you have a lot of apps native for ARM.
Force closing asus support app and zenui services app from apps setting gives me good amount of battery boost. Apart I have also disabled google books, movies, plus etc. I don't know if its placebo effect but someone can try and confirm. These app tend to restart at times so if you feel the battery decreasing at high rates again, make sure you force close them again.
Roughly speaking, I tend to get 3-5 min per percentage of screen on time with this which totals to 5 to 6 hrs on SOT on continous usage. Without the apps being force closed, I barely get 2min/%. The usage scenarios are normal web browsing, chats etc. This is using mobile data. It gets even better with wifi.
Try and let me know if this helps.
Maybe I don't use my phone as much as other people. I posted this last night on another forum. My phone was unplugged at 07:00, It's now 21:00. I have 80% battery left and the battery monitor shows 3 days left
I have received email, 3 phone calls and text messages. I checked Twitter a couple of times with the browser. I have read Google News a couple of times and played GSN Casino for about 20 minutes.
In Auto Start Manager I turned off Docs, Sheets, Skype, Slides, Translate, Amazon Kindle, Data Transfer and Web Storage. Everything else is Allow, but I have no social networking applications installed.
Its looks like battery life is a right mixed bag. At the start of the week I was suffering wake lock issue, my phone wouldn't go into deep sleep and was constantly awake. I wiped and restored from backup which seams to fix the issue.
Got up this morning and it looks like the wake lock issue is back. I don't know what to do to fix it.
Feel like giving up on the phone and sending it back if I can

Yet another battery drain issue

Hi, folks.
So I've installed an update yesterday (I think it's the security update from the first of January)
http://imgur.com/d0IkGXV
and my battery immediately went down the drain. These are the usage statistics during the night:
http://imgur.com/VwFGP2k
http://imgur.com/qO66N4F
From what I can see, the phone has been awake the entire night. That can't be normal, right?
Since this update has been around since January, has anybody else had these issues with this update? Any solutions?
Same model,same update, same issue.Others say that battery life increased with this update, but for me not.Factory reset didn't help. Maybe Google f*** services again.
I'm on N910C and have the latest update for my region (DQA1). Although my battery life hasn't been as good as I've seen in the past, it's definitely not as bad as what you're seeing and my phone doesn't stay awake all night. I do use Greenify Hibernate and Aggressive Doze, so maybe that's why - or perhaps you have a misbehaving app somewhere.
Try to clear data from all Google services, playstore etc reboot into recovery and clear cache.. if the problem still remains then the only solution is factory reset.. there's an app causing this your cpu/ phone is a wake all the time
Sent from my SM-N910G using Tapatalk
F*** google.
mlatti said:
.
Click to expand...
Click to collapse
Mine doesn't do this, there must be something misbehaving on your phone. There are steps you can take such as deleting cache/data from G.P.S. to try to solve this issue. Search the forums/web for other suggestions.
First thing to do it, just do a factory reset. Install only the MUST have apps one by one over couple of days. Watch it overnight. Since there has been some security updates, its possible that I broke some code on some non google apps installed on your phone. First try to isolate that app. I am pretty sure that google has tested the code on all google apps before it released it.

Battery Drain 3 days after Clearing Cache Partition

Hi
I've got a Moto E4 running android 7.1.1 (latest software update in France). No problems at all until just recently. Battery draining at about double normal rate for no apparent reason. When I go into battery usage details the categories (Screen, wifi, google play services) only add up to about 12% total yet the drain is 70% total. Don't know if that's relevant or not.
So I cleared the cache partition and problem seems to be fixed. Then 2 or 3 days later, high drain rate again. Cleared cache partition again and for 3-4 days no problem, now drain back again. No new apps downloaded recently. No unusual usage. Most apps have sync permissions turned off.
Has anyone any ideas or suggestions other than factory reset which I'd really rather avoid if at all possible?
Thanks very much for your time on this.
NB
Have the same problem. Any solution?
allrightlite said:
Have the same problem. Any solution?
Click to expand...
Click to collapse
Yep - block javascript in chrome (site settings) - problem went away immediately. Then allow javascript on different pages gradually to work out which one(s) are causing the drain. For me it was the BBC news site - I think there was a problem with video autoplaying and getting stuck in some sort of loop. Hope it works for you too.

[Q] S10+ Excessive Battery Drain

Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
I suppose bthat you are rooted, since using viper... Use battery stats to se exactly what is the problem, is it kernel or app related... Either ways, good quick start would be cash clear from recovery and network reset... If still draining, force stop than delete data for gplay, services and google framework this will log you out
DSX2 said:
Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
Click to expand...
Click to collapse
I'd feel pretty stupid if I rooted a phone and then considered taking it back because of battery drain. I don't know how anyone could say it seems like a faulty phone when they apparently immediately rooted it without testing the battery life. I'd suggest learning how to use a phone before rooting it and then claiming the sky is falling. Unbelievable.
Tel864 said:
I'd feel pretty stupid if I rooted a phone and then considered taking it back because of battery drain. I don't know how anyone could say it seems like a faulty phone when they apparently immediately rooted it without testing the battery life. I'd suggest learning how to use a phone before rooting it and then claiming the sky is falling. Unbelievable.
Click to expand...
Click to collapse
I've had rooted Android phones for the better part of 10 years. I also had the same problem BEFORE rooting, and flashed a custom OS to ensure the battery drain wasn't due to bloatware. In addition, if you read my post properly you would have noted that this is only an issue with a replaced S10, and was never a problem with the original S10, which means I am completely aware of battery usage life.
Keep your useless and misinformed comments to yourself.
DSX2 said:
Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
Click to expand...
Click to collapse
Yeah this problem is old as Android itself the way i dealt with it in the past is i used betterbatterystats app overnight let it record who and what is sucking the battery dry. In your case it seems google services framework is the problem (surprise surprise)
If i was in your shoes i would try what @Sparkynis suggested first, clear cache and data it will delete your google account restart the phone wipe cache in recovery and add your account again if the problem is still there then you might have an app that refuses to go to sleep
and it will show up in betterbatterystats. If that fails i would wipe everything start from scratch only adding your google account not installing any apps besides the betterbatterystats to see if it's the google services framework messed up or an app you have installed that is forcing a wakelock somehow.
EdinM30 said:
Yeah this problem is old as Android itself the way i dealt with it in the past is i used betterbatterystats app overnight let it record who and what is sucking the battery dry. In your case it seems google services framework is the problem (surprise surprise)
If i was in your shoes i would try what @Sparkynis suggested first, clear cache and data it will delete your google account restart the phone wipe cache in recovery and add your account again if the problem is still there then you might have an app that refuses to go to sleep
and it will show up in betterbatterystats. If that fails i would wipe everything start from scratch only adding your google account not installing any apps besides the betterbatterystats to see if it's the google services framework messed up or an app you have installed that is forcing a wakelock somehow.
Click to expand...
Click to collapse
Thanks mate, did the battery stat's and it's the location alarm triggering a couple of times a second. Have reformatted and flashed multiple times and yet to fix the problem. Leaving location services off, however, does solve the problem.
This workaround works fine until I get my s20 but unfortunately I was not able to find the root cause. Faulty gps chip maybe? No idea.
DSX2 said:
Thanks mate, did the battery stat's and it's the location alarm triggering a couple of times a second. Have reformatted and flashed multiple times and yet to fix the problem. Leaving location services off, however, does solve the problem.
This workaround works fine until I get my s20 but unfortunately I was not able to find the root cause. Faulty gps chip maybe? No idea.
Click to expand...
Click to collapse
Try looking into Google Maps that app triggers location services ALOT even when not running, i have the Unlocked s10+ U1 and even i notice the same thing with Location off i lose 2% of battery overnight with it left on i lose about 9%
Do uninstall google maps and let me know if it's the same. Also i used to have an app called wakelock detector full i haven't used it since my gf bought me the s10+ last version i have is 2.0.4 last updated in 2017 lol but it helped me find apps and system services that are awake and using cpu alot maybe that will help you find the cause

Categories

Resources