Massive drain with no wake locks - Nexus 5 Q&A, Help & Troubleshooting

Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app

Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Try to turn off wifi and see what happens

Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5

It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk

premo15 said:
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5
Click to expand...
Click to collapse
I checked those but there was nothing abnormal. I'd done a reboot when I flashed the kernel back to stock pa.
Sent from my Nexus 5 using XDA Free mobile app

rootSU said:
It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I've disabled wifi and it drained to dead. Going to recharge to full and see what it does off wi-fi. What could I do to see why/if wi-fi is killing it?

You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk

rootSU said:
You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That was one of the first things I disabled.

Demonic240 said:
That was one of the first things I disabled.
Click to expand...
Click to collapse
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk

rootSU said:
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Here's the current setting. I guess I can factory reset again. I'll try that after this current charge cycle.
Sent from my Nexus 5 using XDA Free mobile app

You could try booting the phone into safe mode to see if it's a 3rd party app, though unnecessary if you plan on trying a full reset anyways.

Disable xposed
Sent from my Nexus 5 using XDA Free mobile app

Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.

Demonic240 said:
Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.
Click to expand...
Click to collapse
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.

simms22 said:
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.
Click to expand...
Click to collapse
How about now?

Demonic240 said:
How about now?
Click to expand...
Click to collapse
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.

simms22 said:
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.
Click to expand...
Click to collapse
Right now.. I'm not doing anything other than replying to this thread.

Demonic240 said:
Right now.. I'm not doing anything other than replying to this thread.
Click to expand...
Click to collapse
i see that chrome(and chrome sandbox) is taking a huge amount of battery for very little use. 21% together, just to respond to xda..

Install system monitor from play store and check CPU freq and number of CPU's online while screen on.
Sent from my Nexus 5 using Tapatalk

As said above....use the phone normally and check when its almost drained. It will surely be much lower.
If location is on...it will probably be higher than 10% I'd guess. If so....completely normal.

Related

Android OS eating battery?

Is android OS destroying anyone else's battery? Its using like 40% for me. Anyone else? Any fix?
Sent from my Nexus 5 using XDA Premium 4 mobile app
JPOKeefe said:
Is android OS destroying anyone else's battery? Its using like 40% for me. Anyone else? Any fix?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No, i'm at 6%.
something you are running is causing the activity to spike.
Percentages like this are meaningless without something to compare it to. 40% isn't unheard of if you never use the phone, for instance.
I was having this issue yesterday. I installed FAUX kernel and it went away; screen: 28%, mediaserver 16%, rocket player 13%, android os 10%. Yesterday at this time my battery meter was 40% ; today 67%.
That could be coincidence and not correlation though. If you are up for the challenge, a custom kernel could help.
However, like vincent law said, it's all relative. If android os is 40% and your battery is at 95%, that's not really so bad is it...
When android os is high... It's an app keeping your phone awake 90% of the time
Sent from my Nexus 5 using Tapatalk
JPOKeefe said:
Is android OS destroying anyone else's battery? Its using like 40% for me. Anyone else? Any fix?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
im at 4%...... not sure whats wrong with your. im not running any custom roms either. just rooted and unlocked bootloader
Sent from my Nexus 5 using XDA Premium 4 mobile app
Reboot when you see this happening.
I've seen it once before... I didn't think to check OS monitor before rebooting to see exactly which process it was though.
I have this problem. Anyone got solutions to it?
Try disabling some location features in Google now. I found the traffic cards to give big battery drains in Android OS. Or you can check which in settings - double slide down from top > location, to see which app is using the highest request. Google play service was usually high when I had huge android os drain.
Sent from my Nexus 5 using xda app-developers app
inspiron41 said:
Try disabling some location features in Google now. I found the traffic cards to give big battery drains in Android OS. Or you can check which in settings - double slide down from top > location, to see which app is using the highest request. Google play service was usually high when I had huge android os drain.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
+1
I have also noticed that at times google play services has a huge drain on the battery. I was wondering if play store setting had anything to do with it. I have mine set to " do not automatically update".
I have both facebook and google search on low battery use. For Google location reporting, I only have location history turned on. I don't know if this helps.
I start getting the same issue since yesterday.
Sent from my Nexus 5 using Tapatalk
I've also been experiencing the same issue. Started a few days ago. Checked tonight right before I put my phone on the charger after a full day of use, and Android OS had 9+ hours of awake time. It's driving me crazy and I can't figure out what is causing it.
I am so disappointed!!! I have the same bug. I had it on my old Phone (Samsung Galaxy S). I flashed 3 different firmwares on my i9000. Nothing helped. Now I bought the Nexus 5 and after one day it starts again
I went to bed with 97% Battery. Woke up and it looked like this:
It is stock Firmware with no changes. Maybe it is because of my google account? I am using the same google account for my nexus5 and i9000.
Check your WiFi connection. I don't really know why (yet) but sometimes, being connected to certain WiFi networks increases Android OS usage. This happens a lot in my college's network so I believe it's a problem with that, because it does not happen at my home's WiFi. You could try disabling WiFi in the different networks you use and check which is draining.
Hope this helps.
Sent from my Nexus 5 using Tapatalk
JPOKeefe said:
Is android OS destroying anyone else's battery? Its using like 40% for me. Anyone else? Any fix?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes I had this problem. I flashed factory image and enable high accuracy location AND reporting. My problem I pinpointed was Google Now NOT refreshing.
It would hang there trying to update and without location it didn't have anything to report and it would eat battery. I would force close the launcher and notice the wakelock stopped shortly, to return to Now not updating.
sent from my Nexus 5
I found a way to prevent the Play Services and the Android System from eating my battery.
First I noticed that it was only happening, when the location services were enabled, and then I found the App Ops App for KitKat.
All I did was disable the rights for those two Apps to use location and to keep the device awake.
I'm having the location services on - and working in 4sq, Maps, etc,.. - and no more drain.
Maybe you can verify this?
Try this
My Android OS is at 3% after 19 hours.
Google services not enough to even show.
Battery 75%.
Light use 55 minutes screen time.
Google auto sync off, i sync when i need to.
I don't let play store check for app updates .
I turn location on when i need it.
I use mostly wifi some LTE
Unchecked wifi scanning always available.
Keep wifi on during sleep
Minimize battery use when wifi is on is checked.
I refresh my email accounts when i open them so it's not being checked automatically.
No battery or services complaints (Google services is so low it doesn't even register), give it a try?
raul90 said:
Check your WiFi connection. I don't really know why (yet) but sometimes, being connected to certain WiFi networks increases Android OS usage. This happens a lot in my college's network so I believe it's a problem with that, because it does not happen at my home's WiFi. You could try disabling WiFi in the different networks you use and check which is draining.
Hope this helps.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The problem is definitely caused by the Wifi! I am using my College-Dorm-Wifi over night. When turning it off, the battery life is normal.
But turning off the Wifi is no solution! I don't have data so I am only using my phone in college networks
There musts be another way.
legendnexus said:
I start getting the same issue since yesterday.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Me too. I have disabled wifi when i'm out... i will check if this changes something!

Inconsistent battery fixed by reboot

I have been so impressed with the battery life on the N5 however the last 2 weeks my battery is dropping 50% in less than 4 hours. If I reboot my phone it fixes this and drops about 10% - 15% in 4 hours.
I thought it must be an app I am opening that is constantly running in the background but can't see anything obvious.
Anybody got any suggestions or advice? I have stopped almost all apps and uninstalled the majority. I don't want to restore factory defaults if I can help it.
Have you checked Gsam? Mine sometimes does that, and the culprit normally is my kernel keeping the phone awake for whatever reason, and a reboot solves it. Not sure why though
Sent from my Nexus 5 using XDA Premium 4 mobile app
Jinson7 said:
I have been so impressed with the battery life on the N5 however the last 2 weeks my battery is dropping 50% in less than 4 hours. If I reboot my phone it fixes this and drops about 10% - 15% in 4 hours.
I thought it must be an app I am opening that is constantly running in the background but can't see anything obvious.
Anybody got any suggestions or advice? I have stopped almost all apps and uninstalled the majority. I don't want to restore factory defaults if I can help it.
Click to expand...
Click to collapse
Get betterbatterystats and see what your wake locks are.
I have gsam but not really sure what to look for?
Jinson7 said:
I have gsam but not really sure what to look for?
Click to expand...
Click to collapse
I'm not familiar with that. Does it tell you what your partial and kernel wake locks are?
If you go to App Usage it will give you a breakdown of what apps are using your battery
Sent from my Nexus 5 using XDA Premium 4 mobile app
I have this exact same problem. I normally have to reboot my phone when I disconnect from the wireless charger. I don't think that's always the cause tho. I would love to install batterbatterystats but you need root am I'm really trying to not go down that road anymore.
Sent from my Nexus 5 using Tapatalk
I think It's the dialer. I had this problem in 4.1.1 where it would constantly be looking at my address book in exchange.
In my case, Gsam points to the Kernel being the issue. I'm trying out a different kernel, and haven't experienced the same issue.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Unknown Batter Drainage (not camera demon)

OK so I rooted and over the pass few days I have noticed battery drops a lot. Before I could easily get 3-4 hrs screen on time but now there is only 1-2 hrs? Is this a known problem after you root? And is there anyways to fix. I use snapdragon guru before and after I rooted.
Thanks
Sent from my Nexus 5 using xda app-developers app
dec1153 said:
OK so I rooted and over the pass few days I have noticed battery drops a lot. Before I could easily get 3-4 hrs screen on time but now there is only 1-2 hrs? Is this a known problem after you root? And is there anyways to fix. I use snapdragon guru before and after I rooted.
Thanks
Click to expand...
Click to collapse
Do yourself a favor and install Better Battery Stats. BBS will give you very detailed information about what wake locks are keeping your phone awake and draining your battery. In general, most people say to avoid "optimizing" and "battery saving apps" because they rely on activating the processor to function. Your best bet for great battery life is to minimize your wake locks.
Especially guru which uses more battery than it saves
Sent from my Nexus 5 using Tapatalk
In the thread above yours someone else has a similar issue and they found that it was tied into the wifi being turned on or turned on and then off.
Try turning off wifi, reboot the phone and go a day without using wifi (if possible) and see if that is the problem.
dechronic said:
In the thread above yours someone else has a similar issue and they found that it was tied into the wifi being turned on or turned on and then off.
Try turning off wifi, reboot the phone and go a day without using wifi (if possible) and see if that is the problem.
Click to expand...
Click to collapse
One of the few things Snapdragon Battery Guru tries to do is dynamically switch your WiFi on and off, coincidence?
Of course as Rootsu said, in the process it will use more CPU cycles than it saves. You could use Llama or Tasker for this and many other tasks with a minimal footprint. Avoid the advertising platform that is Battery Guru all together.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Especially guru which uses more battery than it saves
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This this this ^^^^^
Terrible app. ?
Sent from my N5, N7, Moto X, G Tab 3 or S2.....

[Q] Xposed framework battery drainage

Hi i have a nexus 5 rooted on the stock rom and when i install the xposed frame work i have significant idle drain even when i have no moduels enabled. if any one knows what could be causing this please let me know thanks.
What do the battery stats show?
Sent from my Nexus 5 using XDA Premium 4 mobile app
its the same as when i dont have it enabled. only with alot more battery drain not really much out of the ordianary in the battery stats
Well I would remove the framework and see if it goes back to normal. It might be a coincidence, you could have a bad signal or something. The framework doesn't change my battery life at all
Sent from my Nexus 5 using XDA Premium 4 mobile app
I dont know really its kinda weird because when i uninstall it,it goes back to normal and as soon as i enable it the intense battery drain starts again
brandon131995 said:
I dont know really its kinda weird because when i uninstall it,it goes back to normal and as soon as i enable it the intense battery drain starts again
Click to expand...
Click to collapse
How many times have you tried it? I would download GSam or BBS. These are battery stat apps that can help detect where the drain is coming from.
ive tried it a few times now with same result
Gsam and screen shots. Will be much easier to help you.
What Xposed modules do you use?
I can't see how framework would drain battery on it's own.
brandon131995 said:
Hi i have a nexus 5 rooted on the stock rom and when i install the xposed frame work i have significant idle drain even when i have no moduels enabled. if any one knows what could be causing this please let me know thanks.
Click to expand...
Click to collapse
I had the same issue, all i wanted was customizable quick panel, battery icon and reboot menu. So I found Cataclysm Rom and have been using that ever since with no issues
Sent from my Nexus 5 using Tapatalk

Battery draining

I don't know why. I have wake lock sector and have greenify. I use them to counteract the apps the suck my juice. I don't use 3g much and do light gaming and WiFi usage. I only get 2hrs SOT. PLEASE HELP I USE TO GET 4HRS (haven't done anything since)
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
I don't know why. I have wake lock sector and have greenify. I use them to counteract the apps the suck my juice. I don't use 3g much and do light gaming and WiFi usage. I only get 2hrs SOT. PLEASE HELP I USE TO GET 4HRS (haven't done anything since)
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You're going to have to supply some information from gsam or better battery stats for anyone to help you. It could be anything that is keeping your phone awake
Sent from my Nexus 5 using XDA Free mobile app
Here. Google seems to taking a lot. Please help now
Sent from my Nexus 5 using XDA Premium 4 mobile app
google search would normally be up there, it also includes the launcher plus other things. you use googles launcher dont you? the play store and calandar storage is being used too often.
Did this issue appear in the last weak or so? I'm encountering the same issue, it drives me nuts.
Using same apps as usual, no gaming and still my battery drain is far worse than before. I have even disabled Google Now and Location all together.
Installed GSAM now to analyze the stats, nothing unusual in Android battery stats compared to the stats I had before.
is google play services showing up for you guys?
simms22 said:
is google play services showing up for you guys?
Click to expand...
Click to collapse
Low single digit %
Edit, my battery is still good, 5 + sot
Sent from my Nexus 5 using XDA Free mobile app
simms22 said:
is google play services showing up for you guys?
Click to expand...
Click to collapse
I wouldn't necessarily say my drain is bad, but yeah google play services did start showing up for me the past two days. I think it might be because of the google search update. Could be from the parking location feature.
razvanbalica said:
Did this issue appear in the last weak or so? I'm encountering the same issue, it drives me nuts.
Using same apps as usual, no gaming and still my battery drain is far worse than before. I have even disabled Google Now and Location all together.
Installed GSAM now to analyze the stats, nothing unusual in Android battery stats compared to the stats I had before.
Click to expand...
Click to collapse
Yes last week or so. My battery is really bad now. Don't know what to do
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes last week or so. My battery is really bad now. Don't know what to do
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It seems weird that my HTC One M8 doesn't have this issue, at least I don't sense it.
PsychDrummer said:
I wouldn't necessarily say my drain is bad, but yeah google play services did start showing up for me the past two days. I think it might be because of the google search update. Could be from the parking location feature.
Click to expand...
Click to collapse
the play services showed up on mine as well, 2 or 3 days ago. my phone normally sleeps better than a knocked out baby, but since the play services showed up, i see it wake every few minutes on my battery usage chart(draining some extra battery). been changing my permissions not allowing anything to wake my device, but it still does.
simms22 said:
the play services showed up on mine as well, 2 or 3 days ago. my phone normally sleeps better than a knocked out baby, but since the play services showed up, i see it wake every few minutes on my battery usage chart(draining some extra battery). been changing my permissions not allowing anything to wake my device, but it still does.
Click to expand...
Click to collapse
It could be that mine doesn't usually sleep that well that I'm not seeing a huge difference. Speaking of permissions though, I actually made it so G+ can't wake the device because I don't use it, and it still wakes it sometimes.
Try gsam from play store. And if rooted....gsam root companion as well.
Do a full charge, 100 to low....no reboots. Then print a few gsam screens. The main screen, app screen, and in app screen.... Click the drop down and screenshot time held awake and kernel Wakelocks. Also, maybe "screen" screen and radio screen.
I know its a lot, but between all these your issue should show up.
Tho....if you have terrible signal ever while on data....that will crush your battery.
Good luck!!
Yes I have noticed that now my Google play services is right at the top. I might as well try a placebo and do battery calibration. Fingers crossed lol
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes I have noticed that now my Google play services is right at the top. I might as well try a placebo and do battery calibration. Fingers crossed lol
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You're battery calibrates every time you charge it. No need to do anything else.
I'm noticing more than the normal amount of "suddenly my battery is draining" threads. Seems to coincide with the update to Google Search. I also noticed my battery draining itself with nothing being reported in the battery page last night but a reboot put an end to it as usual.

Categories

Resources