yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
I just got a Nexus 5 (a used one, however) with Android 5.0.1 build number LRX22C and noticed a very high energy consumption. It is not rooted, so I cannot see the wakeclocks but on standby it's fine, went from 52% to 50% overnight with Wi-Fi on, Airplane mode on, as I didn't pick up my new microsim card (coming back from iPhone). But when I actively use the phone, the battery life is horrible, battery goes down by 1% every few minutes.

Tried restoring factory settings via recovery, wiping cache in recovery, booted into safe mode and found out that 3rd party apps are not the problem. Any advice? Could it be just a battery itself or is it software related? I don't know how this phone performed on KitKat.

And stock battery app shows very odd consumption - only 7% consumed by screen?

To see how my battery performs while using it actively is seen in the graph - it steeply goes down just before taking screenshots, I used it to check Facebook and did some browsing. It looks that I couldn't even do 2hrs on screen time straight.

Any ideas are appreciated!
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Hmm weird. How is it without the FB app installed? Can you run a test for a day without it?
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
I'm using Facebook through Friendcaster and as far as I rememeber, it's the FB app itself that sometimes causes drains?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Doesn't say much without showing wakelocks.

Also no such thing as "Lollipop battery drain", it should be similar battery life as KK unless you simply have wakelocks.
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
Yeah, that is true but it still has a year of warranty service, so I wouldn't like to root it.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
You have a Nexus 5. This isn't a Samsung device or anything of the sort.

Keep in mind that warranty only covers MANUFACTURING defects, not wear and tear damage/defects. Attempting to claim warranty for anything other than manufacturing defects would be fraud.

If you bought from the Play Store, Google will still (unofficially, but they'll do it) accept an RMA claim regardless software state, if its a legitimate manufacturing defect.

If you bought it from elsewhere (and its a legitimate manufacturing defect), simply flash stock if you aren't already on it, relock the bootloader and reset the tamper flag (with a root app lol), then tap on unroot in SuperSU. There is nothing else that shows any sign of possible modification.

If the device doesn't boot at all then the software state is irrelevant as it can't be accessed in the first place.
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
But doesn't modifying software (flashing other ROMs, rooting) also voids your warranty as you can damage the internals using them (overclocking and so on)?

UPDATE: Used the phone for 45mins messaging, here's the result of that and day's overall. Went from 50% to 20% in 45 minutes - insane.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Google doesn't care. That simple. They are much more forgiving compared to Carriers like VZW. They don't care about root and custom ROMs especially if it's obviously a manufacturer defect
[Nexus 5 Q&A, Help & Troubleshooting] silvertrain78:
You're actually on track for about 3.5 hours SOT, which isn't too shabby considering it looks like you were streaming music for almost an hour. If you're rooted I'd recommend installing the GSam root companion app. It provides very useful stats on what's keeping your device awake.
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
So, I've rooted the phone today and tracking the wakeclocks this time as well, I'll post results in couple of hours.

I wouldn't say I could do 3.5h SOT, as the battery drains very, very quickly (see post above with more screenshots) - it went from 50% to 20% in just 45minutes of SOT.
[Nexus 5 Q&A, Help & Troubleshooting] PhilipL:
Hi

I'm also getting a lot of awake time when on Wi-Fi. Lollipop was fine, I was getting hardly any battery drain whilst the phone was in standby, I could go 5 hours and only lose a percentage point, the same as on KitKat. Then, and nothing had changed on my Nexus 5, I hadn't added any new apps or updated the OS, the only thing happening of course is what Google are downloading and updating without us knowing about it, that 5 hours of standby was up from a single percentage point to around 20% battery drain. Looking at the stats, my Nexus is constantly awaking, with Android accounting for an hour or more during a 5 hour period. Turn Wi-Fi off, and all is good again!

I've check for apps keeping wakelocks and they aren't, my phone is still sleeping, just waking often when Wi-Fi is on. My Nexus 9 and 7 on the same Wi-Fi access point, with all the same apps, are all okay with no symptoms of awakes or battery drain.

Google have broken something. So now I have Wi-Fi off just to stop me having to charge everyday because it drains battery just sat doing nothing.

Regards

Phil
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
Do you think that could me my problem too? Should the Wi-Fi time on be equal to time Wi-Fi was running?

Wi-Fi settings are below with BBS stats.
[Nexus 5 Q&A, Help & Troubleshooting] silvertrain78:
Maybe you're not getting consistent SOT, but in the 1st screenshot from your original post it says you had 85 minutes screen time & used 40% battery: that's the info I used to make projection (85÷60÷.4).

Hope you get it resolved!!
[Nexus 5 Q&A, Help & Troubleshooting] td32:
guys is it normal that i get many *alarm* wake locks under android system

see screenshots
[Nexus 5 Q&A, Help & Troubleshooting] :
It's only 8 minutes total in 12 hours .

Nothing wrong with that. ?
[Nexus 5 Q&A, Help & Troubleshooting] Bobbje1:
Battery drain

Hello guys,

I am new here on this forum, but I have a problem with my nexus 5. I have a massive battery drain. It started accruing 2 days ago when the Google-app was updated in the play store. As you can see on the screenshot. It's says the following apps are causing the drain: google play-services, android-system en android OS. But when i turned Wi-Fi off, the google play-services disappear and it changed in google services.

My nexus 5 is running on the following settings:

Andriod 5.0.1

Google app 4.1.24.1672412

Google play-services 6.5.99
[Nexus 5 Q&A, Help & Troubleshooting] :
Hi! And welcome to XDA! ?

Please Read post number 4 carefully. Even if it's temporary, please install gsam, and if you are rooted, gsam root companion. Go from 100 to 10 or 15 percent left , and post recommended screen shots.

Unfortunately the one you posted doesn't say much. You have a lot of wakelocks... And you need root for Gsam to report them.

Or, There's the pc version of this, no root needed,

> Android Development and Hacking > Android Apps and Games > [APP][2.2+] [v.1.5+] Wakelock Detector- What keeps your phone awake when it sleeps?

Plus, times off WiFi, your signal strength would be killing your battery quickly.

Try all this and check back in. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
And post 2 has many battery saving tips.
[Nexus 5 Q&A, Help & Troubleshooting] javiwankenobi:
Hey everyone, need some help.

Im very confused. I just changed from a unlimited data plan to a 2GB one so this is my first time having to keep an eye on my data. I've read all over the internet that Onavo is a ver nice app to do so and decided to give it a shot.

However, in just two days since my billing cycle started, it said Ive already eaten up 25% of my plan. When I go and check against Lollipop's built in , there also seems to be a problem with Google Services and Android OS that's hogging my data, but they show very different measurements. What gives?
[Nexus 5 Q&A, Help & Troubleshooting] dicko1975:
Think I found my problem...

I've been lurking and reading through this thread for a week or so trying to work out why my N5 had such terrible battery life. Even after manually flashing the factory image to make sure it wasn't a bad OTA installation, and excluding all 3rd party apps, I was only able to get through a day by disabling 4g, GNow and Location.

Turns out, my battery is in bad shape. Quite literally. See the photo. Going through RMA now, the phone is about 54 weeks old.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Apps are always inaccurate. Don't take them for granted at all (maybe not even into consideration).
[Nexus 5 Q&A, Help & Troubleshooting] harlekinfav:
location is on energy saving, whatsapp is on sync and sometimes im listening to music. its weird a week before my battery life was like 14-15 h sometimes 1 day and now this.
[Nexus 5 Q&A, Help & Troubleshooting] :
It may not now. Go a full charge and see. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
If location is most important to you outdoors...then device only setting is the best on battery. But it won't work too well indoors. So on battery saving setting, if your data signal is weak....battery can suffer too.

Really not seeing anything else out if the ordinary. I'd say your usage is simply why your life is what it is.

Wanna test a day to see if location is hurting you much.....just turn it off for one full charge and see what difference it makes or not. :)
[Nexus 5 Q&A, Help & Troubleshooting] harlekinfav:
I am going to turn it off and tell you what happens :)
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
[MENTION=4036181]KJ[/MENTION] today Greenify showed up at the top of my battery usage.. still got my usual 5 1/2 hours screen on time, battery graph shows device always asleep while screen is off as per usual, forgot to screenshot it. Most abnormal thing I've ever seen :eek:

Can Greenify, Greenify itself? :silly:
[Nexus 5 Q&A, Help & Troubleshooting] harlekinfav:
i charged my nexus before i went to bed and clicked on flight mode. this time location was off
[Nexus 5 Q&A, Help & Troubleshooting] :
Lol. I don't think so. ;)
[Nexus 5 Q&A, Help & Troubleshooting] :
Must a got stuck in memory.
[Nexus 5 Q&A, Help & Troubleshooting] :
Hmmm...your phone radio screen isn't the same as mine. It doesn't show the low to high signal percentages. And it doesn't show scanning for signal time.

Anyway, I think its your signal. Location is off right?? Nothing else looks out of place.

Personally, I'd reflash clean and not install a single app until I know battery life is OK. Much easier to track down the issue.

Clean, location off....and see. If its signal, very hard to do anything about that.

BTW, in the stock battery usage screen in settings, if you click cell standby, it should say time without signal. If you're on data and the phone signal is really weak or has no signal a lot....battery will plummet.
[Nexus 5 Q&A, Help & Troubleshooting] :
And your phone drained hardly any while in airplane mode.

Make sure scanning always available is off in WiFi settings too. Another known offender.
[Nexus 5 Q&A, Help & Troubleshooting] harlekinfav:
4% without signal but at home my signal is always very bad and WiFi too.

I just turned it off.

I will keep you updated and thx for the great help :)

Gesendet von meinem Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
No luck even with WiFi on always. Battery drain seems to be getting worse.

Any suggestions anyone please?
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, since nothing seems to work....I'd clean flash firmware again. Go a day and see how it is before installing any apps at all.

If its still bad....play with settings. If its good....install apps like 5 a day. If suddenly battery is bad...you know its one of the 5 apps you just installed.

Can't see what else to try.
[Nexus 5 Q&A, Help & Troubleshooting] :
[MENTION=1811927]simms22[/MENTION] said its a Google app issue, if so...not much you can do until its fixed.

In the meantime, I'd do the above if it were me.

Backup with titanium backup first, so you can restore your user apps and data on the ones you want. 5 per day. ;)
[Nexus 5 Q&A, Help & Troubleshooting] :
I have no Google app issues, but perhaps its my setup....or just not everyone gets the issue.
[Nexus 5 Q&A, Help & Troubleshooting] A1ps:
I was fearing this is what I would need to do. But it does makes sense... other than the fact that I haven't actually installed anything new to make the battery drain so fast. It's only since the 4.4.4 update really.

---------- Post added at 05:20 PM ---------- Previous post was at 05:18 PM ----------

Like fruit and veg :fingers-crossed:
[Nexus 5 Q&A, Help & Troubleshooting] :
Lol.

But did you OTA to 4.4.4? Opinions vary, but to me that's almost like dirty flashing. A good clean, wipes first, fastboot install is always best in my eyes.

Just don't wipe SD. If its still bad on a clean install, its either a Google issue as said, or a setting/feature.
[Nexus 5 Q&A, Help & Troubleshooting] harlekinfav:
KJ thx for your help you solved my problem.

i charged it before bed, clicked on flightmode....next morning still 100%.

26% remaining battery with 22h runtime and 2h display on :)
[Nexus 5 Q&A, Help & Troubleshooting] Aadilnz:
[MENTION=4036181]KJ[/MENTION] and [MENTION=5666997]Lethargy[/MENTION] do you guys use Google now? If so have you guys sorted out the wakelocks introduced with the latest update w/ Ok Google everywhere?
[Nexus 5 Q&A, Help & Troubleshooting] :
Sorry, I never use it. Its always off.

Probably why I've never experienced any of these Google app issues I keep reading about. Lol

I believe [MENTION=1811927]simms22[/MENTION] did tho. With app ops or something similar. ;)
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
Okay, I'm back and I have absolutely no idea if it's normal or not. Nothing strange with wakeclocks I'd say, stand-by time is great but on screen time battery consumption is something phenomenal (see screenshots) - went from 91% to 85% in 15 minutes when actively using the phone with dim brightness, Wi-Fi off, airplane mode, GPS off. This time I mainly listened to music and let the phone sleep all the remaining time. That just proved the fact that there are no issues with stand-by time. However, I don't get two things: is it normal that kernel kept my phone awake for more than an hour? (It's probably due to music playback, right?) And is it normal (BBS screenshot) that all the time Wi-Fi is on, it is running as well?
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
Hi,

I have GSam battery monitor. Currently GSam says :

screen 54%

phone radio 9%

wifi 8%

held awake 0%

And the stock battery usage says :

screen 32%

cell standby 11%

wifi 5%

phone idle 15%

I was wondering why is there a discrepancy between these stats ?

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] :
Yes, your device will remain "awake" while music is playing.

And WiFi showing always on seems to be a Lollipop glitch. But it's not. ?
[Nexus 5 Q&A, Help & Troubleshooting] Jwizzled:
Unless u have WiFi scanning on for location.
[Nexus 5 Q&A, Help & Troubleshooting] :
They just report and allocate usage differently.

I wouldn't be concerned.
[Nexus 5 Q&A, Help & Troubleshooting] Svolacius:
But the battery consumption while screen is on is not ordinary, is it? I know Nexus is not the juice champ, but damn, I don't think I could make 2h SOT.
[Nexus 5 Q&A, Help & Troubleshooting] :
6 percent in 15 minutes is on pace for just over 4 hours SoT. Depending on your usage and setup... That's not bad. ?
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
The battery never went over 45C, so that looks normal to me. 40-42C is normal under heavy usage and especially in a warm environment.

That's 3.5 hours of SoT you were on point for, not sure where you're getting the "cant even do 2 hours SoT" numbers from but that's not in any of the examples you've shown so far.
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
Hello. When I untick the 'Sync Service' in the app sometimes it doesn't work and when it works it just reticks itself after a couple of minutes. Is this supposed to happen? Also, after unticking these services I get a notification saying 'Gadget doesn't accept services' requested by Play Music.

BTW I'm on 5.0.1 . Should I be expecting 4h+ SOT after following the procedure mentioned in second post? Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] rasputino:
I have a Nexus 5 after Lollipop installation the battery life has been much shorter... but the big problem is that sometimes it suddenly turns off and when I turn it on again the battery has magically been lost. Any ideas?

(I just installed GSam... I'll post the GSam images if that happen again...)
[Nexus 5 Q&A, Help & Troubleshooting] nubreed000:
I don't know what's going on here, cause this kind of drain should not be happening. My battery shouldn't be lower than 85.

Does anyone have any ideas on what could be causing this? I'm running slimkat with elemental kernel too, supposedly they're supposed to offer excellent battery life
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Your wi-fi is using 16% of battery. Your cell standby is 8%. Do you have bad signal? Something is transferring data in the background so you probably got a naughty wakelock somewhere. Without the recommend screens in the first 4 OPs, good luck figuring it out.
[Nexus 5 Q&A, Help & Troubleshooting] NexusSova:
My batterylife got much worse since I updated to lollipop. Only 2h SOT. -.-
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Nothing to do with Lollipop, you just have wakelocks.
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
Ho I have an issue with deep sleep on my m8 I am currently on viper Rom kitkat 4.4.4 with Alex_v kernel , by looking at bbs it is caused by eventloghandoff could anyone help me slow it down please sometimes my phone won't enter deep sleep at all, the weird thing is that it doesn't seem to drain much battery it just doesn't let the phone sleep.

Thanks in advance for any advise.

Sorry I came across this thread via a link in the m8 forums I thought it was for that phone.
[Nexus 5 Q&A, Help & Troubleshooting] :
I found this, that's it...

http://xdaforums.com/showthread.php?t=2239319

Other than what's mentioned there, you could try a factory reset... Or even just cache and dalvik wipe.

Or a different kernel.

Or start with a clean Viper flash using its built in kernel... At least until you know the problem is gone.

Things from post 2 or 3 here may help too.

Screen shots from gsam are preferred in this thread also... In your case, main screen, app screen, times waking device and held awake time. And kernel wakelocks.

?
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
Thank you for the reply I didn't expect one as I have the wrong device lol. This thread is very informative I'm going to study it further later when I have some time thanks for your efforts, soon I will attach some screens I'm busy right now thanks again.
[Nexus 5 Q&A, Help & Troubleshooting] Radeon1337:
I dont have any significant battery drain but this doesn't look normal, right?

Device: Nexus 6, Liquidsmooth, ElementalX, location off, sync off, double tap to wake off
[Nexus 5 Q&A, Help & Troubleshooting] :
That's only 11 minutes of wakelocks. Perfectly normal. ?
[Nexus 5 Q&A, Help & Troubleshooting] Radeon1337:
Yeah, but 342 times? Sounds like a lot.
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
Ok so I've followed your guide for play services, I was already using disable service so I've set it up with your settings all but some locations services as I like to use Google now, I'll see how it goes and report back thanks for your help I appreciate it.
[Nexus 5 Q&A, Help & Troubleshooting] :
I'm at 396 times in 9 hours... But only 12 minutes awake. And my battery life is stellar. ?
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
I could use some more advise if possible please, I followed your screen shots from the op for disable service but something I have disabled has broken the weather forecast in Google now, I don't suppose you have any idea which one it could be please, any advise would be appreciated as I use Google now quite allot thanks again.
[Nexus 5 Q&A, Help & Troubleshooting] Eezay:
Hey guys. I wanted to ask you what is wrong with my device.

I'm using a HTC One m8. It's running Android Revolution HD Rom version 32.3 with Sense 6 running on top of Android Lollipop 5.0.1.

Most people say battery life is amazing but I'm disappointed. I can't see anything of project volta. On Kitkat I could get 6 hours and sometimes more screen on time.

I don't play heavy games, just boom beach every now and then. I'm not logged into Facebook or twitter or whatever. Not browsing instagram or tumblr. I use whatsapp, hangouts, browse the web, use google now, location services are turned on but no reporting and not the most accurate option.

Here are my screenshots. Don't judge me for some of those apps ;)
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Lollipop won't magically increase battery life, it'll pretty much be the same for most people.

Your issue should be obvious enough. Kept awake for 6 hours and Google Play Services, as well as your app usage.
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
Edit: solved location services was turned off sorry.
[Nexus 5 Q&A, Help & Troubleshooting] :
I'll bet Fit is either causing your issue, or greatly increasing your issue.

Freeze it got a day or 2...and see what difference there is.

And yeah, you have a bunch of social and location oriented apps. You're battery life would be terrible I would guess.

Keep a charger handy, or make some big changes I'm afraid. ?
[Nexus 5 Q&A, Help & Troubleshooting] Eezay:
Yeah, thanks. So what should I do about time held awake by Kernel? And what about play services? Is it all because of the location services my apps use?
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
[MENTION=4036181]Darth[/MENTION] I just wanted to say thanks again for your help yesterday I really appreciate it, my phone is sleeping like a baby once again.
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 3 is all [MENTION=5666997]Lethargy[/MENTION] ?

I've never needed to do any of that. ?
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
Then my thanks go to lethargy also this is a very informative thread.
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
Hi guys,

I have some problems with battery life on my Nexus 5. I'm not really sure what's causing this massive battery drain because I disabled some of Google Play Services' (ads, syncs, checkin...) and the problem still persists. In fact, I think it's worse than before.

Also, I'm on KitKat 4.4.2 with Trinity Kernel @ Stock clocks. Stock ROM.

Here are my Gsam battery results.

Thank you!!
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 3. Read it carefully. Play services is keeping your device awake full time.

Better even, flash 4.4.4 firmware clean, or 5.0 even. Likely the issue will be gone. ?
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
I did almost everything mentioned in 3rd post, except using Tasker to disable AnalyticsService. I disabled each and every sync as Lethargy recommended in the photo. I bought Greenify Donation Package and installed Xposed Framework + App Settings Module and blocked android.permission.WAKE_LOCK in Play Services, I disabled hidden "*" Play Services Sync in Settings > Accounts. I used System Tuner to disable some of Play Services syncs as well (everything with checkin and gtalk). I used Android Tuner to disable some other services and unticked WAKE_LOCK in Play Services.

Still having the same problem. Do I really have to flash clean 4.4.4. and root again?

Some other things to mention:

- As I said, I'm currently on 4.4.2. and I didn't update my apps at all.

- I observed that after charging the phone to 100% and unplug the charger and use the phone Play Services stays at about 10% when WiFi is off and I'd get about 1h SoT in 15% of battery. After turning on WiFi Play Services goes to 30%+ and my phone's battery is massively drained.

BTW, I'm not an expert in this at all but, am I supposed to receive any OTA update after rooting? Because I do.

Thank you
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, unless someone thinks of a fix... It's your best bet I'd say. Doesn't need to be 4.4.4, but whatever you wish.

Probably far quicker than solving the issue itself if post 3 didn't help. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
It could be some app causing it... Hunting it down could be difficult.