yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] eon01:
If you decide to flash back to 4.4 stock you are going to have to find a way to stop the system update notification from appearing. According to the carat app it drains about an hour of battery just by being active. I force closed it and it hasn't restarted yet but the notification did not go away. The app found it right away which is strange because it usually need about a week of use to detect battery drains. Did you have your wifi on? I noticed the keep wifi on during sleep setting drains way to much battery even with wifi battery optimization enabled.
[Nexus 5 General] r0cafella:
Problem happens regardless of Wi-FI being on or off.

BBS Reports 90% deep sleep but the drain is still at over 5% per hour.
[Nexus 5 General] eon01:
Sorry to hear that friend. Let us know if you revert back to 4.4 stock. I will eventually create a backup and do the update see how my luck fairs. Before you revert if you haven't done so yet and you are rooted, charge the phone to 100% and use a battery calibration app, then try to use the phone in safe mode for a few hours and see if you still have consistent battery drains. Goodluck! Time for sleep lol.
[Nexus 5 General] r0cafella:
deleting the battery stats has been outed as a placebo so that shouldn't be needed.

That being said I will have to take my test to safe mode as I've tried pretty much everything else without any success.
[Nexus 5 General] eon01:
Hey there friend, how did the battery fare in safe mode for you? I just rooted and installed twrp today on mine but I cant say I'm very eager to try the 4.4.2 update considering the issues everyone is having and that the battery life is so good. By the way what hardware model do you have revision 10 or 11? Mine is 11 being it's new. Maybe the problem is only for people with the first production series of the nexus? Has anyone confirmed?
[Nexus 5 General] Barracuda77777:
if you have high android os usage, what I did is switched off always scanning from the advanced

wifi settings and that solved the battery drain for me, if you leave that ticked, the wifi will always scan regardless if

you have your wifi on or off.
[Nexus 5 General] lauk75:
As I said, I tried all of the above without any joy. But now I am finally getting some reasonable battery life, or shall I say less battery drain, after fixing the wifi frequency band to 2.4 instead of leaving as Auto. It could be yet another placebo or a coincidence of some sort but this is what appeared to do the trick for me. Worth a shot if you haven't tried it yet.

By the way, Android OS is still my biggest guzzler but last night I had just under 30% of my battery left after about 10 hours, with a screen on time of about 3 hours and 30 minutes. Normally I'd be nearing empty by that point.
[Nexus 5 General] lloydlim996:
Awesome on my side

When i first got my Nexus 5, it killed battery life like no other. I'd lose about 2-3% per hour, which is not COOL at all.

So i decided to do a lot of research on how i can help make my phone last at least a full day of school.

Here's what i've done.

Stock KitKat 4.4.2 (Rooted)

Qualcomm Optimized Dalvik and Bionic Caches

Franco r32 Kernel

No settings touched, just installed what's above.

Coming from 6 hours of battery life w/2-2.5 hours of screen time (heavy internet browsing, light gaming but on occasion, light texting and rarely any calling) i started to get 8 full hours of battery life with 4.5-5 hours of screen time when i hit about 2%. I have a portable 5400mah charger i always bring with me to school, and now, i rarely plug it in anymore.

Helps me pack lighter, and gives me a confidence boost knowing that i can do anything on my phone, and it will last me a full day at school.

I forgot to talk about my weekends, i work for about 4-6 hours every sunday and i would barely use my phone when i'm at work. I leave home fully charged around 11:30, get home around 4-6PM and would still have around 94-96%. Pretty awesome.

PM me if you have any questions.

Cheers
[Nexus 5 General] SedyBenoitPeace:
Well guys i think that some of you is going crazy to achieve the best battery life! Battery life is something that is different for every users...because we use the apps that we need! For example i can reach without problems 16 hours of battery with almost 4 h of SOT and i'm pretty happy...i know that i can achieve a best result because i use a lot of "draining apps" like facebook, whatsapp and many more...i think that one thing is to post (where possible) the screen with wakelock detector or bettery battery stats...in this way all the people that complain about their battery life maybe will stop to tell that Nexus 5 has a bad battery life!

However i know that there are some problems like Play Services or Android OS usage that affect battery life but you need to know that all depends from the use of the phone!
[Nexus 5 General] oct2274:
I've had great battery life since I got my phone even with 4.4.2. Yesterday I thought I was going to be smart and disable some apps that seemed totally unnecessary such as:

google hindi input

google korean keyboard

google pinyin

iwnn IME

iwnnIME keyboard

Today after rebooting, "Android OS" was killing my battery. There were no other changes to my phone besides me disabling those apps.

Normally I could probably go a day and a half as long as i had medium usage. In 4 hours my phone is down 20% already and I haven't even used it. It was literally just sitting on my desk.

I've re-enabled all of the disabled apps and rebooted. I will see if that fixes it. If you have disabled apps, you might try re-enabling and rebooting to see if anything changes.
[Nexus 5 General] hkbaba:
Try go to setting and then App.....disable one by one and see if that improves. If not then install custom kernel.
[Nexus 5 General] oct2274:
6 hours after re-enabling those apps and rebooting. Way less battery drain now. Only 17% drain and I've been on phone calls for at least 1.5 hours and have used my phone for some browsing and texting. It's quite apparent that disabling one or more of those apps has a negative impact on battery life.
[Nexus 5 General] oct2274:
Another quick update. Today my phone is down to 89% after 10 hours of light usage. I can't believe how much of a difference it can make when you disable the wrong apps. If anyone has any of those apps disabled and is having battery issues, you should re-enable them immediately and then one by one disable them until you find which ones are causing "Android OS" to Keep awake.

I'm just going to leave them enabled. It's a waste of time for me to figure out which ones might be causing issues when I get this good of battery life.
[Nexus 5 General] eon01:
New at this

]When i first got my Nexus 5, it killed battery life like no other. I'd lose about 2-3% per hour, which is not COOL at all.

So i decided to do a lot of research on how i can help make my phone last at least a full day of school.

Here's what i've done.

Stock KitKat 4.4.2 (Rooted)

Qualcomm Optimized Dalvik and Bionic Caches

Franco r32 Kernel

No settings touched, just installed what's above.

Coming from 6 hours of battery life w/2-2.5 hours of screen time (heavy internet browsing, light gaming but on occasion, light texting and rarely any calling) i started to get 8 full hours of battery life with 4.5-5 hours of screen time when i hit about 2%. I have a portable 5400mah charger i always bring with me to school, and now, i rarely plug it in anymore.

Helps me pack lighter, and gives me a confidence boost knowing that i can do anything on my phone, and it will last me a full day at school.

I forgot to talk about my weekends, i work for about 4-6 hours every sunday and i would barely use my phone when i'm at work. I leave home fully charged around 11:30, get home around 4-6PM and would still have around 94-96%. Pretty awesome.

PM me if you have any questions.

Cheers[/QUOTE]

Did you use the franco kernel from here? http://xdaforums.com/showthread.php?t=2508284&page=1509 And as far as the Qualcomm Optimized Dalvik and Bionic Caches did you use the ones posted on this page? http://xdaforums.com/showthread.php?t=2546120 Just asking because I've never tried either of them and want to know if these are outdated. Also is this something I have to reflash every time I do an update or flash a custom rom? Thanks
[Nexus 5 General] nizbot:
For the N5 bionic try this thread...

http://xdaforums.com/showthread.php?p=47709067

Sent from my Nexus 5
[Nexus 5 General] PsychDrummer:
I know this sounds a bit silly, but have you guys tried rebooting? Sometimes the annoying AndroidOS bug drains the battery and a reboot USUALLY fixes it.
[Nexus 5 General] testinguser:
Rebooted multiple times no change. The odd thing is that nothing else has changed in terms of usage, however, the battery life has reduced substantially with this update.
[Nexus 5 General] cas8180:
My battery life is pretty good and I have a lot of apps that auto sync. Yesterday I got about 14 hours total usage with 45 minutes of call time and 4 hours and 15 minutes of on screen time and this is an improvement for me vs 4.4 so far really happy
[Nexus 5 General] rubber guard:
I was monitoring it pretty well on 4.4 and since the updates (4.4.1/4.4.2), it has gotten significantly worse on my 2 or 3 charges.

I am hoping it takes a few to warm up/optimize/run through evertthing, etc.
[Nexus 5 General] wirelessFREAK:
I had good battery life with 4.4, now its a joke (only since last night, so it may still need time).

One 15 minute metro ride, meant a loss of around %25 (our metro losses signal between train stops)
[Nexus 5 General] jdawg0024:
I have also notice that when the phone has poor signal the battery seems to drop really fast. (This didn't happen on 4.4) Oddly enough the battery drops really fast when I am on WiFi when I have poor signal. I called and talked to Google Tech support today and when I told them I was getting horrible battery life since the update to 4.4.2 he just offered have me RMA my phone. Said it could be a Software/Hardware issue. I did a Factory Reset today and I am going to give it a couple of full charge cycles to see if it gets better. I am also noticing lower signal since the update to 4.4.2 as well. I am Stock not ROOTED
[Nexus 5 General] glabmaster:
Agreed. Battery life is terrible after the update. Now, when I take a dump and surf reddit, I lose about 10% or more as opposed to a few percentage points before.
[Nexus 5 General] CyberScopes:
Ive also been having bad battery life, im blaming it on 4.4.1 and 4.4.2 cause theres literally no other (software wise) option to why my battery sucks.

Sent from my GN5 [D821]
[Nexus 5 General] Dirk:
No changes to battery life for me.
[Nexus 5 General] ChefAnt:
That's your first mistake...snapchat
[Nexus 5 General] meangreenie:
Turn off WiFi/data and uninstall all the mainstream Google apps on downloaded tab in settings/apps. all of them including play services, revert them to factory.

Turn WiFi/data back on, some apps might update again that's fine.. After half hour or so reboot
[Nexus 5 General] craigbailey1986:
No issues here battery life if actually better. Only thing I turn off is location until I need it but I have been doing that for years. Avg. Around 6 hours of screen time.
[Nexus 5 General] whitedragonz83:
Same... My issue is 100% on WiFi and maybe when I have poor cell signal and maybe not. Seems to not matter. I'm trying to see if it is related to my Commute Traffic card from Google Now. Do you use that card also? I had no issues with Nexus 4 using Android 4.4, but I never had the Nexus 5 with Android 4.4 but a day before it went to 4.4.1.
[Nexus 5 General] farangutan:
I have 4.4.2 on stock rooted and stock kernel and was at 54% with 2 hours screen on and ~15 hours off charger this morning. Maybe you have some problems with apps or connections?
[Nexus 5 General] wheilitjohnny:
I feel battery drain a lot faster since 4.4.1 update.

I can feel most of the user is not in a great trouble, not really want to shut down some functions to extend the battery life. Instead, just version 4.4 did the job too well, 4.4.1 and 4.4.2 are not as good as 4.4. We are not satisfied, hope that Google can find out the problem and fix it.

By the way, beside screen, my second battery killer seems to be the "Android System". It usually takes half as the screen do. Too horrible. For this, I intentionally flash the phone to stock without installing any apps, still the same.
[Nexus 5 General] belvedere:
I'm on SlimKat and yesterday my battery was really bad. I decided to check a few things and some of my Google accounts (3) were syncing extra things... books, magazines, crap I don't use. I think the biggest culprit was my university Gmail account that was syncing contact data which may have been pulling contacts from the university's global address book. This isn't too enlightening but something to look into. Today my battery seems back to normal. 3 hours off charger and about 15 mins SOT and I'm at 96% battery.
[Nexus 5 General] AceKingNYC:
My battery life was pretty bad on 4.4 but with the 4.4.1 and 4.4.2 update it has gotten really good.
[Nexus 5 General] Z3US911:
mine improved :D

getting 3hrs of on screen time with 35% remaining.
[Nexus 5 General] wirelessFREAK:
Well said. You hit the nail on the head. Now that you bring it up, these are exactly my issues.

I have 1 bar of T-Mobile at home. My phone dies faster at home, than when I'm out (I'm obviously on WiFi at home).

In fact, I use grooveIP, so my Sim card never sees anything other than data... But that may be part of the problem (grooveIP).

-stock never Rooted N5
[Nexus 5 General] Datsun.510:
My battery on 4.4.1 is awesome. Use wakelock detector to see what's using the most battery.
[Nexus 5 General] jdawg0024:
I am using Google Now with the Traffic, Sports, and a few others enabled. I have a lot of things disabled in Google Now as well.
[Nexus 5 General] stokholm:
That happened to me earlier today. I haven't read of this before. Is it "documented"/reported/discussed somewhere?
[Nexus 5 General] jdawg0024:
When I am at Home with 2-3 (use to have 4-5 on 4.4) (also on Wifi) bars (I also do not have LTE in my area) my phone uses very little battery. On my way to work I stream music (about 45 mins) phone only uses 4-8% battery, but as soon as I get to work where my phone has 0-1 bars (use to have 1-3 bars on 4.4) my phone begins to die quickly. To the point I will have to charge it at work. I am thinking of Unlocking the BOOTLOADER and flashing the Radio from 4.4 to see if that fixes my problem. Since I did a factory reset yesterday I am going to give it a couple of days for the battery to "Settle" in. I will report back with results.
[Nexus 5 General] JabboMaster:
My battery sux
[Nexus 5 General] stokholm:
It's clearly not your battery, but Android OS. Exactly the problem I've been having.
[Nexus 5 General] whitedragonz83:
I wondered if it was just the radio that is the problem too. If you do this, let us know the results.

So we both use Traffic. I'm wondering if there is some bug with WiFi location and Traffic cards. Again, my issues with no-deepsleep are pure WiFi related.
[Nexus 5 General] JabboMaster:
I know, i updated to 4.4.2 this morning and its the first time i had so bad battery life
[Nexus 5 General] stoneule:
Agreed, 4.4.2 is worse battery life for me. Without question. I used to get through the entire work day with around 78% to spare. Now I'm at 72% by lunch time. Same exact usage. Hope this can be sorted out...
[Nexus 5 General] dazz87:
Wow sucks....Im staying on 4.4.1 and skipping 4.4.2
[Nexus 5 General] nizbot:
Mine is noticeably better since sideloading 4.4.2. I came straight from 4.4 btw.

Been mostly on wifi all morning and I'm a little under 1% drain per hour.

I'll keep wifi off and see how she does just for reference sake.
[Nexus 5 General] xdp:
It's not 4.4.2, or 4.4.1, the changes are small, it's all placebo. The fact is the battery life with this phone is just really random and generally bad, and things will drain it even when deep sleeping. Might be firmware or modem bugs, I don't know. Not sure if the phone is really a good buy considering this.
[Nexus 5 General] nizbot:
I'm happy. It's all subjective man, but for the price, this phone is absolutely a good buy.

Sent from my Nexus 5
[Nexus 5 General] Ketzal:
Battery life on 4.4.2 is basically the same as 4.4.1. If anything it's actually better.

If you are having battery issues then try these steps.

Use a wake lock detector and see if you have a bad app.

Factory reset.

Re flash the stock ROM from Google.

Many people are getting fantastic battery life on 4.4.2, myself included.

My two cents.

If you want great battery life on a regular basis you need to turn off Google Now, Location reporting and Location History.

Helps a lot.
[Nexus 5 General] stokholm:
Which wakelock detector? Because the app "Wakelock Detector" currently doesn't work in KitKat - according to the Play Store: https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
[Nexus 5 General] wirelessFREAK:
A weaker signal will naturally use up much more power, as the transmission must be amplified more, and more error checks are put in place (that might not be accurate, but you get the idea).

You know all this, and all of this we got with the new radio :-/

This reminds me of the ugly days. Back when I had a gs2 skyrocket, and everything was hacked or leaked, and updating was sometimes a bad move.

This is exactly why I left skinned android, the buggy crap I used to get.
[Nexus 5 General] whitedragonz83:
4.4.2 did nothing that should cause the battery issues. The change was in 4.4.1.

See here for 4.4.1->4.4.2 change log:

http://www.androidpolice.com/2013/1...49h-hides-app-ops-and-fixes-flash-sms-attack/
[Nexus 5 General] powruser:
Question for you guys: When you're somewhere that you have WiFi, do you turn your mobile data connection off? If so, what about missing incoming MMS messages? Also, if you do turn your data off, do you manually set network mode to 2G/3G, or leave it on LTE? Thanks for the help.
[Nexus 5 General] KidLiek:
How on earth do you guys get 2 days of battery life? I charge my phone every day. Do you guys not use it much or something?
[Nexus 5 General] whitedragonz83:
Mobile data disconnects when Wi-Fi is connected. SMS/MMS still go through as you still have a cell signal. I don't know what the cell signal does (if it drops to 2G even if LTE is available) during this time. I assume it drops to 2G. You can see this under Settings->About Phone->Status

---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------

Low screen usage, limited syncing, excellent signal/wifi connection. It's achievable.

Likely without doing major adjustments, daily charging is the normal.
[Nexus 5 General] powruser:
Thanks for the insight, good info!
[Nexus 5 General] Unbr8kbal:
Agreed

Lucky i had a back up, whatever it is made mine so bad, i rolled back to 4.4.1...
[Nexus 5 General] FuMMoD:
It works you just have to download the module to allow apps to read Battery data.
[Nexus 5 General] PsychDrummer:
The bug has been around for a fairly long time. I don't think anyones actually been able to figure out where it comes from.
[Nexus 5 General] phatpaw:
I've not used the phone much today, but down to 14%, and AndroidOS is my big culprit. Keeping my phone awake.
[Nexus 5 General] M4dRefluX:
It's a bug with RILJ that keeps the phone awake when using WiFi. Doesn't seem to be a problem with WiFi off. It's a play services bug. Turning off location tracking doesn't seem to get rid of the wakelock. It doesn't seem to affect everyone either, hence why it's not really a priority.

I've reinstalled the factory image with no other apps installed and still get the wake locks.

I'm getting pissed off with Google in general. They fix one bug and introduce another.
[Nexus 5 General] whitedragonz83:
Interesting. I tried turning off random "Wi-Fi" only services that didn't help. Sucks that both Galaxy Nexus and Nexus 4 never showed issues.
[Nexus 5 General] starnostar:
After 4.4.2 (unlocked bootloader, otherwise totally stock) my battery life has gone down the crapper... whats odd is that it appears to be the screen.

My phone was off the charger for ~5 hours (it came off with 100%), after sitting in my pocket for ~5 hours and only taking it out to respond to a few text messages, it was finally at 51%... thats about 10% per hour.

The odd part is that the battery stats reports that the screen accounts for 78% of the drain... even though it also reported my screen on time as 21 minutes.

I cant post screenshots as its been on the charger now for about 30 minutes

EDIT: seems to be fixed, switched it back to dalvik and let it reboot, then switched it back to art and let it reboot again.
[Nexus 5 General] whitedragonz83:
The last 5 hours I have had no deep sleep issues on my home Wi-Fi. Followed this thread and changed my Begin and DTIM settings on my router. I'll keep an eye on the results.

http://hardforum.com/showthread.php?t=1758079
[Nexus 5 General] FunkyMagic-UK:
View attachment 2452196

2hrs screen time in 24hrs. Couple of calls, bit of messaging.

Google Movies seem to keep a wake lock over night even though I've never used it.

Opened and closed if, watched La Luna, rebooted, everything looks ok now. There wer a lot of App updates last night, think it may have been related.
[Nexus 5 General] kenyw:
My phone seems OK on 4.4.2, no obvious change in battery life.

I use the phone quite lightly, for most of the workday it is sitting on my desk and I sometimes listen to music through it (maybe up to 3 hours) and a bit of web browsing during lunch break. By the time I get to bed it's usually about 40-50% and if I forget to plug it in it is still at about 30+% in the morning. The standby on this phone is far superior to the Galaxy SIII I've now sold... :)
[Nexus 5 General] drzplaya1121:
Yea i'm still pushing 4 hours screen time on stock

for those of you who get 5 or 6 hours out of screen on time....are you rooted?
[Nexus 5 General] ukemochi:
Disagree

Yeah I wouldnt agree with that, out of all the kernels, which I have tried all of them for the N5, that one had the worst results.
[Nexus 5 General] TheLastSidekick:
I seem to notice my battery drains faster on 4.4.2 than any other firmware. But that regardless of which firmware I was on. for some odd reason WiFi drains my battery quickly, while LTE appears not to. I'm on the Linaro version of Franco.kernel with default settings.

Also for those that compete in Clan Wars on Call of Duty and you have the app installed..that thing is a constant wake lock. May be best to Greenify it for the time being.

​
[Nexus 5 General] Hero_Lief:
Do you have background WiFi enabled?
[Nexus 5 General] TheLastSidekick:
If that's default, yes. Honestly have no idea what that is sir.

​
[Nexus 5 General] ukemochi:
No difference

Out of the box I was using 4.4, toyed with .1 then .2, I havent seen any changes in battery life other than the camera being a bit snappier. You know one thing you could try and I dont see it posted enough, GET GREENIFY, then used XPOSED and use experimental features, it should help you substantially.
[Nexus 5 General] Hero_Lief:
With newer Android versions, WiFi is always enabled (by default) in the background to scan for networks. There are a few theories as to why this is, but you can try disabling it to see if it'll help. The option is located under Settings > WiFi > overflow > Advanced > Scanning always available.
[Nexus 5 General] Felnarion:
What do you mean there are a few theories? It's a more efficient way of determining location than firing up the GPS every time location is accessed. This was mentioned multiple times in press releases and presentations, and is exposed via the setting of "high power, battery saving, and device only" for location introduced in 4.4.

Unless there's a fault, turning off background wifi scanning will likely harm the battery more than it will help.

I also have the same problem with 4,4.2 though. Android OS lists a wakelock for 9 and a half hours in a 20 hour day for me. That's obviously the culprit, but apps like gsam won't tell me what speicifically it is that is causing it.