yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] :
It kept you awake only minutes . It's not your issue.

Nothing in your screens is unusual. That usually leaves signal issues. The silent killer. 100 percent loss an hour idle? Airplane mode for a few hours will prove if it's signal. ?

Gaming is a huge drain. Location services on any setting other than device only is a huge drain on low signal also.

And signal strength can change over time due to the carriers equipment, or your radio version.

Get Gsam. Then sit the phone for a couple hours as it is now. Not using it. Note the drain per hour stat. Then, turn off location services completely and put phone in airplane mode... Reboot. Sit again 2 hours not using it. And note the drain per hour this time.

Bet the difference will be decent.
[Nexus 5 Q&A, Help & Troubleshooting] :
A couple hours for each comparison isn't probably best. I'd test each scenario over night. One night each way. Reboot before putting phone down each night... To reset gsam. Or reset it within gsam.
[Nexus 5 Q&A, Help & Troubleshooting] Subrad5446@aol.com:
Thanks guys. Flashed a new modem now I'll take your advice. Thanks! I repost results.
[Nexus 5 Q&A, Help & Troubleshooting] Subrad5446@aol.com:
OK so I forgot to get gsam and don't have the time now. I'll do it tonight and post results tomorrow. For the time being I feel something is defineately wrong. Charged phone to full and rebooted. Went to bed and woke up my phone has been awake 99%-no deep sleep. Lost 40% not even touching it! In five hours....
[Nexus 5 Q&A, Help & Troubleshooting] jamel_tza:
Try opening up Google Play and go to my apps. There might be an app that needs updating of even play services that needs updating.

If it isn't that then there may be a sync error for one of your accounts. Either way restarting your device should fix the problem. I hate to give such generic advice but it typically works.
[Nexus 5 Q&A, Help & Troubleshooting] Subrad5446@aol.com:
Thanks for the tip. It's funny because I was thinking that was the problem also. Basically I've narrowed it down. I restored a nandroid taht was before the latest update to google play services. The issue is gone, so it's something in the update that doesn't play well with my setup. Also, if you look at the google play services page on google play, there are a lot of comments that the new update is killing the battery. I really wish I could figure out what GCM_CONN and GCM_CONN_ALARM are though.....
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
They are exactly what they're named. GCM means Google Cloud Messaging. They're used for GCM Push Notifications. They're normal, unless you don't want notifications from apps that use it (just about every social app, and many others).
[Nexus 5 Q&A, Help & Troubleshooting] marknoll:
So..is it safe to disable? I don't have social apps on mine. Would it interfere with messaging or any other app?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Not just social apps. A LOT of apps, Tapatalk included. Just leave it alone as its harmless; your device would wake for a moment when you get a notification anyways, even when it's not a GCM notification.

Also, GCM isn't just used for notifications.

Do NOT try and disable everything. ONLY disable what actually causes legitimate issues.

No point trying to disable something that is harmless, if anything it could cause more issues.
[Nexus 5 Q&A, Help & Troubleshooting] kosaidpo:
hey people

i own a nexus 5 a few days now and i just want to kno what you think about my battery life and is it considered as extensive usage or not comparing it to your experience and usage

and of course im kinda satisfied if i compared it with my nexus 4 days

i just want to kno if i can get more with my n5

for now i use purity and code blue and greenify and turned off all permission for service google play

thanks
[Nexus 5 Q&A, Help & Troubleshooting] :
Seems fine for your setup. Obviously Ingress, whatever that is is using a lot of juice. You obviously have location on and according to your graph, GPS is being used a lot.... So I'd say your screen time is about as good as you'll get with your setup and use.
[Nexus 5 Q&A, Help & Troubleshooting] kosaidpo:
ok thanks for your reply

you have nothin in mind to recommend me beside settin manuely the brightness ?
[Nexus 5 Q&A, Help & Troubleshooting] :
All my recommendations are in post number 2. ?
[Nexus 5 Q&A, Help & Troubleshooting] adityameena26:
Charging

I got my *new* device last week..Originally mine was Black 32Gb but after RMA I had an option to get white or red one so I chose Red..Its *NEW* as Google told me that they dont give *Refurbished* device here in India :)

My phone's problem is..If I normally charge it till 100% or 'charged' level..its SOT last about 3 hours..and If I charge it for more half hour after 100%..it gives me SOT of about 4-4.15 hrs..whats wrong?

Looks like battery isnt well calibrated..I have tried stock image flash..tried those 'battery calibration' tricks too..but no luck..I am using official charger that came with my phone..

And one more problem..If I recieve or make a call..when I pickup the call..everytime my network disappears for 5-10 seconds and come back again..it only happens when I make or recieve any call..I have tried other radios but still..nothing..can anyone help?

This is battery thread so please suggest me about battery issue atleast..:)

Thanks in advance :)
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Post screenshots. Of both your 3 hour and 4 hour usages; including GSAM/BBS screenshots.

Also, "battery calibration" is garbage.
[Nexus 5 Q&A, Help & Troubleshooting] adityameena26:
I dont have GSAM as of now..AFAIK Gsam is for battery monitoring..I dont have anything to ask about battery consumption..I am asking that why SOT is different in case of 100% charging..and 1/2 hour more charging..I mean..after being fully charged..if I let it remain on charging,it gives me SOT of 1more hour..that means..it showed 'fully charged' wrong,it was not fully charged when it showed..It fully charged after half hour..I hope you are understanding what I am saying..

And by 'battery calibration' I mean..not battery calibration app..I meant..fully charging cycles and fully discharging methods..
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
The first step is determining whether the issue is what you think it is.

How do we know that leaving it charging for an extra half hour actually does anything? What if you just used your phone differently/had a couple more/less wakelocks? You would be wasting your time trying to solve an issue that is nonexistent, while the real problem was something else.

That hardly does anything either.
[Nexus 5 Q&A, Help & Troubleshooting] adityameena26:
I think thats not a coincidence that if I leave it for extra time,it gives more SOT..I have tried it many times..but you are saying it right..I will report you after a full discharge cycle with gsam installed..:)

and yes..that did nothing too..

Anyways thanks for your reply :)
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
You never know, maybe it is coincidence, maybe it isn't. ;) Thats why you determine whether it actually is or not, first.
[Nexus 5 Q&A, Help & Troubleshooting] Subrad5446@aol.com:
Using Tasker

I'm a little confused on how to use tasker to automatically turn on location when needed. How do I know what services I need to enable/disable? I would start with location disabled and google now turned off. Is there a way to make make it turn on whenever needed? For example, I type "best buy" into google. I want my location turned on to high accuracy when I press "update location." But no just this scenario. Any where location on would be needed? Is that confusing or understood? And is that possible?
[Nexus 5 Q&A, Help & Troubleshooting] guavajuice:
I'm down to ~30% battery after 2 hrs on screen time. My phone settings: stock android, location service off, data-sync off(although i enable google calendar widget on my home screen), google now off, wifi on at work and home., disabled some google play apps(newsstand, books, games, movies, news and weather). Usage is typical news browsing , not watching video or playing games. I'm also surprised "phone idle" consumes that decent chunk of battery.

Does the screen time seem low to you all?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Signal is slightly poor, but it's not the worst considering its over more than 24 hours.
[Nexus 5 Q&A, Help & Troubleshooting] evan7899:


I am having serious battery issues with the dev preview. The apps battery monitor and gsam don't work for some reason. I am rooted and all. So the stock battery app will be all I have. Can anyone recommend anything to help?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Your signal is poor and you have a lot of wake time.

Install the proper version of GSAM/BBS that has Lollipop support.
[Nexus 5 Q&A, Help & Troubleshooting] evan7899:
I am in a building all day that has bad or no signal. I am not sure if that impacts my battery life and what about the wakeups?
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
You need to join their beta community on G+ to get GSAM with Lollipop support. Also the Miscellaneous battery usage is what's killing your battery. Confirmed by Google to be a bug. Only happens when on WiFi. They have fixed it and it's been pushed to AOSP. So go update to a ROM that's based on the new AOSP source.

---------- Post added at 12:50 AM ---------- Previous post was at 12:48 AM ----------

Yes a bad signal is the worst battery killer. Your phone constantly searches for a signal. It can't find one and tries again every 30 seconds. No signal means constant pinging out to the towers. Slaughters a battery. Put it in Airplane mode.
[Nexus 5 Q&A, Help & Troubleshooting] evan7899:
Is there any way to change the refresh rate to maybe one every 5 or even 10+ mins to not be in airplane but keep searching for signal?
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Nope. Sorry.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
AOSP is the source code :). Actually I'm not so sure they've updated the fix to the source code yet so these ROMs might still have the bug. But go to the N5 Android Developer section and look at Sykopompo's build
[Nexus 5 Q&A, Help & Troubleshooting] evan7899:
The ROM I have is only about 3 days old so unless this is an extremely new patch for this miscellaneous drain bug then it may not be out yet. Thanks for the help. :)
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
I recommend this build. He's a mad man. Stays up all night patching and updating within hours of new source dropping

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

[ROM] [L] [5.0] frank with N6 parts N5 [B22 updated 11-05-2014]

Google confirmed the bug about 3 days ago lol. Hang on maybe I can find the commit and see if the patch has been pushed yet...

Here's the thread confirming the bug has been fixed. Still trying to find the actual commit to source code...

https://code.google.com/p/android-developer-preview/issues/detail?id=189#c112

Hmm maybe my friend [MENTION=5666997]Lethargy[/MENTION] can find the commit and confirm if it's been pushed upstream yet? I'm too tired now. Night
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Play store has the new gsam that supports lollipop now
[Nexus 5 Q&A, Help & Troubleshooting] inSaN1Ty_X:
Is anyone else having a issue with the displayed battery amount vs "the real" amount?

My phone might tell me (in the battery settings) that using spotify for 2 hours dropped the battery from 100 to 60%. After that I put the phone in my pocket and few hours later the battery percentage is at 67-75%. Then when I use it again it drops rapidly. At 10-25% the phone might suddenly die and when I try to reboot, I get the 0% battery unable to reboot image.

After putting the charger in for a good 5 minutes, the phone boots and is at 70% battery. Then the cycle repeats.

What I have tried: new rom, kernel, few different factory images with compatable radios, full wipes etc.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Are you modifying anything somewhat relevant to battery?

Otherwise, it might be a defective battery.
[Nexus 5 Q&A, Help & Troubleshooting] inSaN1Ty_X:
Currently I'm using the source build Lollipop ROM with just a custom kernel, no mods whatsoever. Oddly enough the battery life measured in SOT is still 99% same as it was when I bought the phone. Makes me wonder how an issue that seems like a software only thing could still be hardware related.

But yeah, Could be defective battery too. And obviously the battery is not under warranty. Bummer.
[Nexus 5 Q&A, Help & Troubleshooting] :
It might be a good idea to just restore to an official KitKat factory image and see if the problems percist. If they are still there then it's a good guess that the battery is defective.

If not - perhaps something with the AOSP Lollipop roms or the flashing process has gone wrong. At least you would find out where the actual issue is :)
[Nexus 5 Q&A, Help & Troubleshooting] marknoll:
Yep. Happened to me also. Replaced battery.
[Nexus 5 Q&A, Help & Troubleshooting] guavajuice:
i think i get over 24hrs due to putting on airplane mode while i sleep. But my actual usage time is just close to 3 hrs.

Based on tmobile LTE coverage map, i 'm supposed to have good signal in my area. but my signal hasn't been that great . Is it because I'm on prepaid plan instead of monthly plan?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
The sort of plan you're on has nothing to do with reception. Your battery is fine. You're using it over 24 hours with a weak signal. Nothing you can do anything about.
[Nexus 5 Q&A, Help & Troubleshooting] nednednerb:
MUCH THANKS to [MENTION=4036181]Darth[/MENTION] and [MENTION=5666997]Lethargy[/MENTION] for the first 4 posts and first several pages of discussion in this thread.

I read it, did some tweaks, because I was experiencing rapid drain at home with screen on and sometimes off.

Between turning Android Device Manager off, and switching wifi on while in my signal-poor abode, and a few other of the tweaks, my battery issues are improving right away. Clearly, ADM as well as mobile data on in a signal-poor area was big part of my issues. I will think of turning data off when on the train/underground and I am not in need of any immediate email pushes (work etc).

I already was following other tips I rely on, and phone wasn't waking up during sleep when it shouldn't, but KitKat on Nexus 5 versus the HTC Incredible S running ICS I retired a couple months ago seemed to give me less SoT but similar overall hours since unplugged + battery drain. I mean 2.5-3 hours SoT or less with no gaming/location/video. Lots of reading and texting, so drain was starting to annoy me.

I think I'll be getting 3-4+ hrs SoT now after these tips, and hopefully a bug-minimal Lollipop comes soon with real improvements over the typical 4.4.x battery issues many users across devices have reported when their usage patterns did not seem to change.

Thanks everyone for contributing to this thread!

peace.
[Nexus 5 Q&A, Help & Troubleshooting] nednednerb:
Nice! After letting things settle down and trying a little for good measure not to waste time with data on for random syncs, but otherwise normal usage:

I'm at 1day16hours of on time, moderate usage with 6 hours screen on time, and winding down to 5% juice left.

These tips work! 100%! Well done post.

Thanks!

Some screenshots:
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Glad it helped and you're getting pretty nice battery life now :p

Now try beating my record haha, I added it to the third post of the thread.
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Guys I'm having a lot of wakelogs I don't know which app is causing it as its not coming in the battery settings and I don't have root right now so can anyone suggest me any working root method or any non root app that can tell me the cause of these wakelogs
[Nexus 5 Q&A, Help & Troubleshooting] marclooman9:
I have the same problem.
[Nexus 5 Q&A, Help & Troubleshooting] ricardollreis:
I think it the wlan again. try turn off the wifi.

in 6h of sleep I lost 15% of battery
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Even im facing the same. Also how is WLD working for you ? After giving it root access it just sh:laugh:ows that after 4.4 update it requires root :'(

Even when its given the SU permission
[Nexus 5 Q&A, Help & Troubleshooting] ricardollreis:
you need to install the app 'SELinux Mode Changer' from play store and click in permissive
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Alright Thanks it helped
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Are you on the Official Lollipop Release? If so use Cf-Auto root to root your N5 then use GSAM + root companion.
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Thanks it worked . my battery drain is due to WiFi
[Nexus 5 Q&A, Help & Troubleshooting] moodycz:
I have them as well, my N5 on Lollipop factory image (clean install, then rooted with cf-auto-root) lasted only for 8 hrs, screen time a bit over 90 minutes. :(
[Nexus 5 Q&A, Help & Troubleshooting] :
Guys. We need Gsam screen shots here, with gsam root companion. See post 4 for the recommended shots. Without the app wakelocks screens, we can only guess. And that will likely not help.

?
[Nexus 5 Q&A, Help & Troubleshooting] :
Here's how to do that.

I'll temporarily add this tip to OP when I can. Until root is sorted for 5.0.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
The other issue is that people think Lollipop will magically improve battery life.

No. If you have wakelock issues, Lollipop will make no damn difference.
[Nexus 5 Q&A, Help & Troubleshooting] moodycz:
I've just installed GSAM a few minutes ago, will post screens tomorrow.

One more issue is with WhatsApp. When a message received while on lock screen, if I try to reply from the lock screen notification, the keyboard and WhatsApp go both crazy (they start flickering), nothing helps but reboot. Anyone with the same problem?
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Here you go mate. how to fix this wlan and power mangemt wake lock
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
No bro works fine for me
[Nexus 5 Q&A, Help & Troubleshooting] :
The whatsapp issue should be posted in the n5 help thread.

But, has it been updated for 5.0? Likely not.

And you need gsam root companion as well. ?
[Nexus 5 Q&A, Help & Troubleshooting] moodycz:
Weird. Works fine with me as well, but not in lock screen notification. What keyboard do u use? I'm on SwiftKey. Will try it with default android keyboard.
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Default keyboard
[Nexus 5 Q&A, Help & Troubleshooting] lextex:
Running the official Lollipop image on my Nexus 5, and I'm having some odd battery issues.

My battery is draining while on the charger. At night, I usually set the TV to a sleep timer with something casting to my Chromecast from my phone (ESPN, Hulu, etc.), so I have wifi on, but the phone is plugged in. With Kitkat, I would wake up every morning with a full charge on the phone. With Lollipop, I wake up with about 55% battery.

This isn't limited to only wifi, though. I have a Qi charger at work that I've been in the habit of using throughout the day. With Kitkat, I'd pick up my phone to leave the office for lunch with a full charge... But with Lollipop, it'll sometimes be as low as 13%.

Anybody have similar issues / know what's up?
[Nexus 5 Q&A, Help & Troubleshooting] :
Try Gsam and Gsam root companion and check your app wakelocks. ?
[Nexus 5 Q&A, Help & Troubleshooting] Geo2160:
Guys, is this normal (the high "Android OS" percentage)? I've used my phone in a regular fashion after flashing LRX21O through fastboot in the official manner. Fresh install with no app restoring through titanium backup. I have ~2,5 hours of screen-on time.
[Nexus 5 Q&A, Help & Troubleshooting] :
You're app screen shots are from 40 minutes use. Not a fair reading. ?

So hard to tell what's going on.
[Nexus 5 Q&A, Help & Troubleshooting] Geo2160:
Sorry, is this better?
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, Android Os is increased by services like Google now, location services and apps that use location services... Android device manager's features... Etc. The more you limit their use, or better yet... Turn them off, the lower it will get. You use google play music... That'll add to it I believe.

But really, it's not out of hand. Normal for your setup likely.

Want to see if it makes a difference, go a day or two with location and Google now off. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
Will changing my 'preferred network type' from 4G to 3G make any difference? My City does have good 4G LTE coverage but my house is in a 3G area and I mainly use 3G - so I was thinking, will it be searching for 4G?

Also, anyone else noticed this glitch? I'd like to see what my battery is doing! :)
[Nexus 5 Q&A, Help & Troubleshooting] Geo2160:
Thanks. I usually suspect something is wrong when I see that the OS used a higher percentage of the battery than the screen. I started my trial for Google Music today, so maybe that could be the cause. Location is turned off though.
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 3 might help... But if Gsam doesn't show a lot of held awake time, then it probably just is what it is.

Eliminate google app use and keep Google services off and it will lower. Or you will have to live with it.

lollypop issues and what not aren't really well known yet. We need to wait and see how others fair. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
By Google services... I mean phone services. Location, a lot of syncing, android device manager options...G now... Etc.
[Nexus 5 Q&A, Help & Troubleshooting] ricardollreis:
I think someone upload the android L to the Philae Lander. It's also having problems with battery drain .:p

Stock Rom, defined as a new device.

Apps installed: Facebook, feedly, My Vodafone and Kickbit

36% after 23h 15min

SOT 1h 31min

so, in the best scenario I'll have 2h of SOT... in the kk 5h :confused:
[Nexus 5 Q&A, Help & Troubleshooting] :
See post 4 for Gsam info and recommended screen shots.

Those shots have no useful info. ?
[Nexus 5 Q&A, Help & Troubleshooting] ricardollreis:
Yes, I know, in the first installation of the 5.0 I tested the battery with the GSam and WLD, and I have posted the result on the forum. The are so bad I decided to reflash and install only the basic apps for me.

ps: I'm not trying to find and solve the cause of bad battery, but trying to see if the problem is on the android L and not some other apps
[Nexus 5 Q&A, Help & Troubleshooting] minhna:
I have the same problem. It took so long to charged and draining while on the charger.
[Nexus 5 Q&A, Help & Troubleshooting] anshmiester78900:
Guys even after disabling the location I'm getting the location wakelock . any suggestions
[Nexus 5 Q&A, Help & Troubleshooting] FunDionysus:
A week ago Google announced they fixed the battery drain issue.

http://www.cnet.com/news/google-squashes-android-5-0-lollipop-battery-drain-bug/

So are the ongoing issues related to the same bug?

"Android Engineering is aware of an issue affecting Nexus 5 users running Android 5.0 which causes significant "Miscellaneous" battery usage while WiFi is enabled. This appears to be caused by an abnormally high number of IRQ wakeup events."

And later "This issue has been fixed in the latest builds, and this issue is now considered resolved."