yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] tcat007:
N5 not sleeping. Purity + code blue. Tried signing off of Google and still stayed awake. Charged to 100%, after 1 hour screen off only Play Update Services. Have not changed much at all. Maybe a Banks Gapps update? Used disable service, turned update on and off, no change. I was at 99% deep sleep a few days ago.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Read the end of post 3, it tells you how to disable receivers. Disabling only the service will cause even more wakelocks.

---------- Post added at 11:28 ---------- Previous post was at 11:26 ----------

Possibly a defective battery. Try charging it up to full first, then set the screen timeout to never and don't touch it, see how long it will last.
[Nexus 5 Q&A, Help & Troubleshooting] airbeeting:
Thanks for your info.

I understand that the problem with systemupdateservice (google play services), only can fix in every boot, enable or disable the receiver SystemUpdateService$SecretCodeReceiver (change the state after the boot). (This is in my case, N4 - CM12 nightly 20150314 - last pagapps).

I'm a user, not a developer, but this is my experience with this bug.

I boot the phone, if reciever SystemUpdateService$SecretCodeReceiver is on and i disable it, the phone goes to deep sleep.

I boot the phone, if reciever SystemUpdateService$SecretCodeReceiver is off and i enable it, the phone goes to deep sleep.

I understand that the point is, change the state just boot, to dismiss wakelock - deep sleep.

I hope this help.
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Try getting rid of FB Messenger to see if that helps.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Uninstall Autorun Manager or any related apps, then run the adb commands to disable all the receivers and services, then they won't re-enable themselves. If it is disabled, it cannot cause a wakelock. If it enables itself, one of your root apps is enabling them.
[Nexus 5 Q&A, Help & Troubleshooting] airbeeting:
http://review.cyanogenmod.org/#/c/91021/ -- The last post seem to show that gms reenable the receiver ... Sorry if i'm wrong.
[Nexus 5 Q&A, Help & Troubleshooting] TheContinental:
I just saw this today…AVG's study of apps that drain your android phone's battery life the most. This study is not particular to the Nexus 5. The report not only includes the top battery-draining apps, but also the top storage hogs, the top network traffic hogs, and much more. You will find a lot of the usual suspects here. Read at: http://now.avg.com/avg-android-app-performance-report-q4-2014-presskit/
[Nexus 5 Q&A, Help & Troubleshooting] tcat007:
Thank you, but found that going into privacy/privacy guard/advanced/google play services - and turning off keep awake there - seems to have stopped the wakelock. Now sleeping normally. Looked like a pain to manually enter all that code. Not sure why Google messed this up so badly.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
They didn't really mess anything up. SystemUpdateService has been known to wakelock on non-100%stock firmware.
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Does your battery drains faster from 30% to 1% battery level than from 100% to 80% battery level?

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
That was a quick post edit. 1% to 30% huh? :P

Battery stats are an estimated calculation, it cannot read the exact physical percentage that is remaining. Unless you used your device more intensely and/or had more wakelocks from 30% to 1%, it should be about the same—or the estimation simply isn't being calculated as accurately.
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Haha OK thanks. I always feels my device draining much faster at lower battery levels. But with a HUGE difference that's why I don't think it is a placebo.

From 8:00 to 19:00 I can achieve like 2 hours SoT (or a bit less) with 50% battery remaining.

But from 19:00 to 24:00 I can achive no more that 1 hour of SoT.

Another example with non-stop usage (SoT = Time On):

- The first quarter of battery lasts like 1 hour and 20 minutes of SoT.

- The last quarter of battery never lasts more than 40 minutes of SoT.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
You're the reason why i quit posting n this thread. :P lol jk
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Anyway... I just bought a new battery from Amazon. Let's see what happens!

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
Just to inform you. On 5.0.1 this isn't working for me. I've disabled all of that services and after that I got some serious wakelocks and mayor battery drain by GooglePlayServices. I've enabled them back and everything is fine now.

Regards, Zagor
[Nexus 5 Q&A, Help & Troubleshooting] :
Next time, only the first screen from app sucker is good. :silly:

No need for more than the top of the list. :)

Or use hide tags. Like this...

pictures here

;)
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Which one? Let me know how it works.
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Just the same LG battery (18-19€ approx)

I will.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Doesn't really have anything to do with the Android version. I think it has to do with version 7 of Google Play Services. I am still on version 6 so I cannot test out people's claims that disabling all the services and receivers causes a wakelock (which makes absolutely no sense since the entire service is completely disabled via package manager, aka Android/Google Play Services cannot even see/use the wakelock).
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
As you are a pro, I just wanted to give you some useful info about this. Yesterday I enabled back all GPL services with your method (of course, by replacing dissable with enable) and after that I haven't got any battery drain caused by GooglePlayServices.

Thank you and best regards, Zagor

P.S. Sorry, forgot to mention - I'm also on version 6 (it seems that 7 is just in US for now).
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
Guys as discussed, here are shots of almost a full days use. A quick update: today I lost 5% from full charge in 1 hour and that was with absolutely no use of the phone! Definitely not normal, right?
[Nexus 5 Q&A, Help & Troubleshooting] luckana:
Looking at your shots i can tell 2 things. 1 - this yahoo weather app is waking your phone like hell (more than a thoisand times) which drains battery and 2 - mobile standby drain - you must be in an area with poor signal, that also drains juice
[Nexus 5 Q&A, Help & Troubleshooting] :
Yup... All your offenders are on the top of your screen shots there.

Greenify them, or get rid of them.... Or accept your battery times. :)

Especially yahoo weather. 1700 wakelocks. Ouch! ?
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
Did you dissable PlayServices via: http://xdaforums.com/showpost.php?p=59230170&postcount=258 ?
[Nexus 5 Q&A, Help & Troubleshooting] Zwambo:
Hi all :)

Can I just ask if this wakelock is normal or not?

Seeing it for the first time.

Thx in advance :)
[Nexus 5 Q&A, Help & Troubleshooting] :
It's fine. No issue. And didn't cause any trouble. Held awake, zero seconds. :good:
[Nexus 5 Q&A, Help & Troubleshooting] Zwambo:
Oh I see Thx :)

Normally i get 0.6% /h this time it was like 1.2% /h.

Thats why is posted this screenshot :) but if its normal then there are no worries :)!

Thx :)
[Nexus 5 Q&A, Help & Troubleshooting] :
1.2 with no use isn't great, but it's not from what you screen shot.
[Nexus 5 Q&A, Help & Troubleshooting] Zwambo:
I'll take some Gsam shots when Battery lvl is dropped till 10% and post back :)

Or is it any use i can post them now? 75% atm.

Thx
[Nexus 5 Q&A, Help & Troubleshooting] :
I'd wait. It paints a better picture. ?
[Nexus 5 Q&A, Help & Troubleshooting] luckana:
Someone else having non stop mobile radio active drain ? It's with every app, it says mobile radio active and my battery has become very very poor. Used to last more that 4hrs before i updated to 5.1. Could that be the reason ? (i also had the GPS wakelocks, but managed to sort them out, now this)
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 4 Sir. ?
[Nexus 5 Q&A, Help & Troubleshooting] chr0:
sensor_ind wakelock.

Anyone else here having "sensor_ind" wakelock?

Setup: Cataclysm 5.1 + ElementalX 2.11

Usage: Mainly Snapchat, Feedly, Chrome, Youtube.

Google Play Services version: Screenshot below is from v7.0.97. I have since uninstalled all updates and reverted to 6.x. No respite from the wakelock.

The Kernel dev says it is a userspace lib fault, and while he can disable it in the kernel, it is better to handle it at the ROM end.

Any help please?
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
Thanks guys for the advice.

Regarding YAHOO weather - I don't understand why it keeps waking as I have not launched it at all. I went in to settings/apps/running and stopped it. But it keeps triggering itself. I only have one app that requires yahoo weather and that is Chronus where it updates the weather every 12 hours.

My Facebook and Messenger also launch themselves.

I'll download Greenify tonight and put a stop to these apps.

Will my weather still update every 12 hours?

---------- Post added at 04:59 PM ---------- Previous post was at 04:57 PM ----------

Hi mate, how can you tell I have poor signal? If it's the red marks, it may be due to me travelling on the under ground for 2 hours a day. No reception underground.

---------- Post added at 05:01 PM ---------- Previous post was at 04:59 PM ----------

Could I also do this using Gravity Box?
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
That's why I was asking. At first I dissable GPL services "the wright way" but after observing battery statistics I've enable them back and just using GB for block notifications from GPL. Everything is fine now.
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
Could you please give me a list of the services and notifications I should block using GB. I've already blocked the lollipop update notification.
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
This is it for now. When and if another one apply, you can go to GB Ongoing notification and block that one too. But till then you are ok.
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
Right here are the ones I've Greenfied. I didn't want to risk Greenifying Whatsapp and Messenger.

I'm hoping all this helps. Really can't afford to lose 5% every hour!

Again thanks for all the help lads.
[Nexus 5 Q&A, Help & Troubleshooting] sphynx8888:
5.1 screwed me over!

Got my Nexus 5, had Kitkat for 2 days before getting lollipop. Rooted with Cataclysm. Went through this whole thread and actually had pretty good battery life. Then I sideloaded 5.1 (dirty at first had contacts error, then reflashed with radio and bootload and then reinstalled Cataclysm 5.1 and it worked well) and it all went down hill.

Here are my battery and GSAM readings. You may notice the charge only got up to about 75% last night, this is because of a bad cord. Replaced with stock cord.

In any case, you can see the phone was awake the entire night. I have since gone through Disable Service and disabled my syncs.
[Nexus 5 Q&A, Help & Troubleshooting] :
Really need to see your held awake time and times waking device from gsam. Kernel wakelocks too maybe. Do note that the phone will not sleep while charging though. ?
[Nexus 5 Q&A, Help & Troubleshooting] Lim Wee Huat:
Xposed users with 5.0.2 and below, just MinMinHide play services and the systemupdate wakelock will be gone. No need any 3rd party app or flashing scripts. Cheers..
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
The most part of the "GSAM held awake" time is caused by "Kernel (Android OS)".

For instance..now I have 44 min (since last unplugged) and 8 min keep awake by the Kernel.

Is there a way to minimize kernel wakelocks? (I'm using Stock ROM/Kernel with SuperSu).

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
I've Greenified Yahoo Weather but it's still top of the list! Am I doing something wrong?
[Nexus 5 Q&A, Help & Troubleshooting] kmarc33:
I use Chronus and I don't believe you need yahoo weather installed. It updates using the yahoo weather service/api, not the app. As a test, freeze/disable/uninstall/whatever yahoo weather and see if chronus is OK. If so, that might be an option to consider. Obviously if you have chronus set up to launch yahoo when you tap on weather that will now fail. You can use chronus's built in weather display, or any other app.

Note: I don't use yahoo weather, I have chronus use Accuweather for information every hour. Later, I got the Accuweather app, got annoyed with the ads, the paid version was on sale for a dollar, got it, neither chronus nor accuweather are a problem for me.

YMMV
[Nexus 5 Q&A, Help & Troubleshooting] :
Another app is waking it. In that case greenify won't help. Unless the app waking it is greenified also.

Same as Facebook and messenger. If you greenify Facebook, but not messenger, Facebook will constantly be woken up by messenger. As an example.
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
Thanks mate. I'll delete it later tonight and see how I go along. But what you say does make sense - why would I need the Yahoo app!

---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------

Strange! I can't think of any app that would require Yahoo Weather. I've even ensure that the weather isn't updated at random times and set it to OFF.

As for Facebook and Messenger - again I can't think of any other app that would require these to be woken other than when the apps themselves receive a message!
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Updated with screenshots:

Is this normal ( 1 h 38 min of kernel wake lock)?

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Honestly I would use a different weather app like Weather bug. Anything Yahoo puts out isn't optimized. Just like Facebook.
[Nexus 5 Q&A, Help & Troubleshooting] Xami:
Play servcies or google services and Android OS is eating way tooo much battery and keeping the device awake too after updating to 5.1

Here's a screenshot

And here:

I've had like the best battery time on 5.0.1 I had 5h SOT with 33 hrs on time, point is since 5.1 I'm having worst and around 10%-20% drops overnight and even when using its dropping fast.

And yes, no need for tips and all cause when something eats more than screen there's something wrong...
[Nexus 5 Q&A, Help & Troubleshooting] russian392:
Okay so ever since I got 5.1 I'm having stupid wakelocks, and this isn't google play services because 1 I'm using disable service and 2 cataclysm ROM blocks the culprit update service.

No one wants to listen to me because I'm determined this is android system related and not battery related. But I'll post here too maybe someone knows what to do.

Some days this happens some does it doesn't, 5.1 is the worst thing to happen to android PERIOD so I will downgrade to 5.0.1 anyways. But what is wrong with android system? Draining 40% of my battery on standby causing insane wakelocks.
[Nexus 5 Q&A, Help & Troubleshooting] Traxex_:
My device always stays awake for 15% cause of Bluetooth and Power managerservice.

I'm on Cataclysm 5.1 and elementalx kernel.

Is it normal when using an android wear smartwatch?
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
I would like to turn off WiFi from Monday to Thursday (from 8AM to 20PM) in order to improve battery life. (On Fridays I would like to use different hours).

Do you know some kind of "light app" to do exactly this?

I don't care whether it is paid or not, as long as, it's light/simple and doesn't affect other phone behaviors.

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
I have a rooted nexus 5 running stock 4.4.4 and I recently installed wakelock detector.

Before going to sleep, I charged my phone, unplugged the charger, and rebooted. When I woke up this morning, I started wakelock detector. Here's what it showed (attached).

Does this screenshot mean that the phone was kept awake 88% of the past 7

hours even though I was not using it during the night?

Thank you.

*

*

*
[Nexus 5 Q&A, Help & Troubleshooting] sordna:
I use Llama for this sort of thing.
[Nexus 5 Q&A, Help & Troubleshooting] :
You need gsam root companion and then post held awake time and times waking device. (after a good long discharge) Otherwise we can only guess at your held awake time. ?
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Thanks! So far this app is incredible.

I decided to try this default function that uses cells to know the location and even works with "Location" disables.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] hexfield:
Hey guys, total newcomer here. I'm running 4.4.4, not rooted on a 1st gen Moto X. Battery life has been less than stellar, draining pretty regularly even with the screen off. I made some changes based on the advice in this thread, started greenifying more often, but I'm still not super happy with the results.

Here are my screens. If anyone has any thoughts let me know!
[Nexus 5 Q&A, Help & Troubleshooting] :
You have over 4 hours of held awake time there. Without root, apps won't show you your app wakelocks, but wakelock detectors pc version might. You need to get those under control.

You need to solve that for starters, try location services off also.
[Nexus 5 Q&A, Help & Troubleshooting] hexfield:
I had no idea there was a PC version, thanks! I assume the one in this thread is the latest? Are there instructions for the PC version anywhere that differ from the app version? Not sure if I need the app on the phone as well as the PC.

I did figure out the driver stuff and got it all connected successfully. Should I do another day of 100% to 10%, then connect to the PC and see what comes up?

Thanks again, Darth!
[Nexus 5 Q&A, Help & Troubleshooting] :
I've been meaning to try the pc version, but haven't got around to it yet unfortunately. So can't help there.

But yes, go from 100 to maybe 20, so you have time to figure things out with the pc version, then see what's up. ?
[Nexus 5 Q&A, Help & Troubleshooting] hexfield:
Okay, here's what I got from WLD for PC. I'd love some help interpreting. For the CPU wakelocks, looks like podcast addict and media monkey are at the top, but that makes sense since I was using them. But 4617 wakes for what looks like a google backup service seems weird. I expanded that and the wifi one to see what the individual processes were, but I'm still a little lost. Ditto for the Wakeup Triggers and the Kernel WakeLocks.

I got a lot better battery life today with location services turned off, but GSam is still showing 5 hours of Held Awake time so there must be something up, right?

Thanks so much for the help!
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
Disable Service may be cause of your issues. See the thread here:

[SCRIPT][GUIDE] Google Play Services Battery Drain Fix/Workaround
[Nexus 5 Q&A, Help & Troubleshooting] :
Powermanagerservices is keeping you awake, but it's just a collection of app wakelocks. I'm not sure if it's to do with root or not that you get nothing more clear... But knowing that wakelock alone still means looking for a needle in a haystack.

I see you have a tonne of social apps and messaging type apps. I'm betting one or more of those is causing your trouble. Or its just a combination of them all combined.

The only thing you can try is greenifying every single one of them. Double check that they aren't waking on their own. If not.... Go a day like this and see how your awake time is. If it's good now, un-greenify a couple per day. Keep a close eye on awake time. As soon as it shoots way up... You know it's one you just un-greeified.

I haven't used greenify without root... So I'm not sure if you have to go into it after using an app to hibernate it again. You'll need to check that.

Now, it could just be a case of "it is what it is".... Due the the large amount of these apps you have. Together they are spamming your data all day, and location if it's on. You're battery life is going to suffer big time no matter what with all those. I would expect you to be well below average with battery times, wakelocks or not. Social apps are generally battery killers.

?
[Nexus 5 Q&A, Help & Troubleshooting] :
[MENTION=5666997]Elluel[/MENTION]: Just a quick question here. I've already searched the thread and found out that disabling a service will keep it disabled even after a reboot. Anyways, does reflashing/updating the ROM enable them again? By the way, I'm using CM12.

Thanks a lot for all of your efforts and tips here! Really appreciate it :)
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
No. It is handled by the package manager itself, the only way something would re-enable itself is if you wipe data (which also resets package manager stuff), or if there is something else specifically using root access (su) to interact with the package manager (pm).
[Nexus 5 Q&A, Help & Troubleshooting] thesebastian:
Ok, new battery arrived and replaced. (Qi Charging works fine, etc).

With the new battery, (Only 1 day/cycle used so far) I think I don't have this problem anymore.

Battery now drains a bit faster (than the previous battery) from 100% to 90% (after a full night charge) or just from 100% to 75%.

But, at the same time, it's drains MUCH slower from 40% to 1%.

So I think the problem is fixed and something was bad with my previous OEM battery.

Regarding the total duration (new vs old battery), It is almost the same, but...can't be sure because yesterday I had a lot of WhatsApp usage (Mobile Radio Active by Whatsapp = more than 1 hour and 30 minutes), this is because the new Whatsapp Calling Feature I had activated yesterday. At the same time, I only used 4-5 minutes of "Whatsapp VoIP calls" (And that, doesn't explain 1h30m radio active by WhatsApp).

I think that, without this Whatsapp battery drain, the new battery could (also) last more than the previous one (like 10%-20% more than the old/oem battery).
[Nexus 5 Q&A, Help & Troubleshooting] ivan.panchev:
Hi guys!

I have had this mediocre battery life every since I got my Nexus running on 5.1 rooted. Yesterday, as a had a problem with the Google Play Store also, I decided to flash the Lite Stock Lollipop 5.1 ROM and expected that this would also resolve my battery issues. Now the Play Store problem is gone and forgotten, but the inadequate battery life persists. Today is my first day with the ROM, but that baterry life is unbearable and that is why I am asking for help. The situation was pretty good before 12 in the morning, but then the battery began to drop unbelievably fast(you will see that form the chart).

As a whole, I do not use my phone screen on a lot(1.5-2h a day), but I rely on my phone to manage to get me through 6:30 until 23:30. I was getting this kind of baterry life with 5.1 right before rooting and I hope that with a little bit of help from you would be able to enjoy my phone once again. Thanks in advance!
[Nexus 5 Q&A, Help & Troubleshooting] zagorteney:
Just to notice you. I did dissable GP services with this method: http://xdaforums.com/showpost.php?p=59230170&postcount=258, but it didn't work for me on 5.0.1 with Xposed. Using GB ongoing notification blocker seems better solution for me. I did enable those services back and everything was ok since then.
[Nexus 5 Q&A, Help & Troubleshooting] hexfield:
Thanks Darth. What is an ideal target "held awake" time to shoot for? I don't really know what's crazy and what's normal. To make it all more confusing, yesterday I ended up getting great battery life all day, but today I'm already at 2 hours of held awake time and I don't know what I'm doing different.

I notice google's sync and backup services are high on the list. I was messing with those yesterday, maybe that's worth exploring. I know people have posted about play services causing issues, but that's only on rooted phones, right?

Thanks again!