yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] :
There's no need to have WiFi off while phone is in standby. That shouldn't be a bad battery drain. Mine is on 24/7 at home. And I certainly have no battery issues at 28 hours total and 6 hour screen time averages. ;)

That's not you're issue. Tho nothing else seems to jump out either.

Turn location services completely off for a full charge and see what happens. Its the number one culprit as far as battery issues go. ?
[Nexus 5 General] :
Sins reasonable, I'll try that mate, cheers. :)
[Nexus 5 General] rancur3p1c:
I haven't actually checked, but I believe it wakes the wifi regularly (temporarily) to check for new emails and stuff.

when I leave wifi on during sleep I always have battery drain like he's posting about, I'll leave the phone sitting there and it just drops like a rock even though the CPU is in sleep mode.
[Nexus 5 General] :
I get 0.4 to 0.6 percent drain per hour....WiFi always on.

You either have an issue with your router, as some do.....or something is syncing like crazy. Or its some setting.

Either way, I've never put WiFi to sleep on any device when the screen is off. I download to much. ;)
[Nexus 5 General] :
Notice the flatish line while I slept in the middle of the graph. WiFi on the whole time. Drains at about 0.4 percent per hour over night.

Also note my crappy signal is irrelevant with data off and WiFi on. :)
[Nexus 5 General] rancur3p1c:
hm...rats...interesting....
[Nexus 5 General] kayl2:
3.5ish hours of internet and texting, eBook for the rest.
[Nexus 5 General] darkghost568:
Settings you're on?
[Nexus 5 General] Samip430:
Stock with xposed. On battery for 3.5 hours and at 50% with 1 hour of screen on time...
[Nexus 5 General] :
That's terrible. Unless it was a very graphic heavy game for an hour?

Or your signal is very very weak?
[Nexus 5 General] Samip430:
No mainly web browsing on WiFi and texting. As for signal, about 1 bar :/ . any suggestions?
[Nexus 5 General] :
Only screen shots will get you advice that isn't guesses. ;(

From gsam or something better than the stock battery screen.

If you were on WiFi, low signal isn't the issue then. But you definitely have a huge issue. That puts you on pace for less than 8 hours total if usage is the same with 2 hours screen time. That's really bad. :(

Read the first few posts here for many tips....

http://xdaforums.com/showthread.php?t=2785128
[Nexus 5 General] Samip430:
I just installed Gsam so not that much data on it yet. What would you like a screenshot of?
[Nexus 5 General] :
See this post...

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

As much of those as you can. ;)

If your rooted....remember gsam root companion needs to be installed too. Also, don't reboot during a charge cycle you want to monitor.... Or gsam will reset.
[Nexus 5 General] kayl2:
Stock 4.4.4, ElementalX 1.0 with a slight undervolt and the lower screen brightness fix enabled. Most of my screen time was at under 5% brightness; working in the dark has advantages! :)

Just to be clear, this is by far the best I've ever gotten and has to do with the fact that I was reading an eBook and not surfing the web. The most I've gotten during the internet is just over 5 hours.
[Nexus 5 General] :
Good time for sure!!! ?

Yeah, reading and every dim screen is certainly a low battery use scenario too. :)
[Nexus 5 General] bblzd:
20% brightness, stock unrooted. Llama to control auto syncs and WiFi functionality, locations off unless needed.
[Nexus 5 General] bogdan_wrc:
any idea what over-counted is??
[Nexus 5 General] :
Remember.....its a developer preview. ;)

http://xdaforums.com/showpost.php?p=53748844&postcount=1904
[Nexus 5 General] CWalkop:
L blew my mind.

L blew my best SoT with KitKat out of the water. The highest I got, with like 5 hours on, was 3 hours 15 minutes of SoT. Now?

4.5 hours of SoT with a total time off-charger of 9:30 (~8:00—~5:30). Screenshots attached. Most of my apps have been reinstalled and are running.

Can't wait for the final release!
[Nexus 5 General] tcuwolf:
Stock 4.4.4 on 3g/4g no WiFi brightness on 20% Google now off with 39% battery left not bad better then my s4
[Nexus 5 General] tcuwolf:
Tcuwolf
[Nexus 5 General] kayl2:
Another mostly ereader day, with some web and texting.
[Nexus 5 General] mokee92:
Right, so I have come to the conclusion that I am getting bad battery life.

I am rooted stock with TWRP. No mods whatsoever. I haven't changed anything. Now, the battery life I'm getting is about 5-6 hours with max 3 hours of screen-on time. No gaming. Wi-fi is usually on. I have the wi-fi optimization on. I have the wi-fi sleep mode set to 'keep wi-fi on during sleep only when plugged in'. I don't let the phone plugged in when it is charged 100% as that destroyed the battery life on my last phone the Galaxy S3. I have only one root required app installed which is AdAway. I also have AcDisplay which doesn't require root. The reason I am telling you about these apps specifically is because you guys may know more about them...I don't know :confused:. Location is mostly off. Sometimes I need it on for Maps but that doesn't normally go for more than 15 minutes. I WhatsApp ALOT. Facebook is a close second. Normal web browsing. Not many voice calls.

So, what do you guys think? This is bad battery life, right?

I dirty flash the updates that come for KitKat. I figured I don't have to completely wipe my phone for every update. I feel that would be a bit silly. However, everytime I flash the update through TWRP, I do wipe the cache and dalvik cache.

What should I do? Should I do this to completely go back to stock and unroot this phone or is the 'Factory data reset' option available built-in the phone enough?
[Nexus 5 General] simonarturo:
Use GSam or any other Battery Monitor of your choice, as it can help you diagnose what exactly is destroying your battery life.

You might want to look into an app to manage your display brightness. I use Lux. Or you can do it manually, though it's a bit of a pain.

Finally, what about your cellular reception? Are you getting a good strong signal? The radio can be the culprit of your battery drain.

I use the phone mostly for browsing,RSS & texting (mostly Whatsapp and LINE) and I get over 10 hours of battery life and around 5 hours SoT. I'm sure your battery can improve as well after you diagnose the cause.

Happy hunting!
[Nexus 5 General] rancur3p1c:
charging to 100% is not what killed your battery. Tesla recommends charging the Model S battery to 100% every night. Why would they do that if it was bad for it? Something else killed your battery.

when did everyone leave BetterBatteryStats? I seem to recall that was the program of choice a year or two ago...any ideas?
[Nexus 5 General] :
Personal preference to me. Gsam shows everything in a very easy to understand layout. Same info....but for those not used to BBS, it can be confusing.

Just my opinion tho....they all do the same thing in the end. :)
[Nexus 5 General] RogerPodacter:
I'm not seeing anyone in this thread post their current drain readings when the phone is idle in deep sleep. I just got my new n5 and I think there is a battery problem. The phone idles at 100-200 mA no matter what. My n4 is around 3-5 mA during idle.

This is fresh stock ROM 4.2.2 with no apps even installed.

Something is terribly wrong. Anyone else?
[Nexus 5 General] bblzd:
I'll log some numbers for you so we can compare, but it sounds to me like the N4 readings are being reported differently as 3-5mA is too low. That's how much my N5 discharges when it's plugged in working off AC power and already fully charged. Around 200-300mA is what I see my N5 idle at with the screen on and WiFi engaged.

I'm assuming both phones are set up the same way with same settings and radios being used?
[Nexus 5 General] marquimsp:
Oh, we're halfway there....

Stock + Franco R55
[Nexus 5 General] RogerPodacter:
3-5 mA is spot on for majority of phones on the market, all the way back to the nexus one.

I think this is related to the play services issue, or perhaps the nlpservice I see running sometimes.

I'm curious what you and others get as results. I saw threads about people disabling some play services...maybe I should try it?
[Nexus 5 General] mokee92:
Right...I guess I should have mentioned the reception. It is generally very good. I don't think that is a problem.

I installed GSam and will post some stats later. Is the stock brightness in android not good?

Sorry...I meant I never leave my phone plugged in when it reaches a 100% charge. I always left my S3 plugged in even when it was 100%. That's what destroyed my battery life on the S3.
[Nexus 5 General] simonarturo:
Yup, stock brightness is too aggressive. I use Lux Lite, but there are other apps you can use
[Nexus 5 General] bblzd:
Leaving it plugged in after it finishes charging won't kill the battery. I've left mine plugged in for many nights with no noticeable degradation after 8 months.

What can kill the battery early is heat. Charging heats the battery, phone usage heats the battery, climate heats the battery. Combination of these can lead to above normal temperatures however Google has set extremely aggressive thermal throttling limits compared to Samsung phones and the N5 won't allow itself to get that hot without safety measures kicking in.
[Nexus 5 General] mokee92:
ah I see. I'm gonna try 'Lux' out then. thanks.

ah I see. I always thought that was the case. leaving laptops plugged in definitely deteriorates the battery. what's up with that?
[Nexus 5 General] :
I keep my old S2 plugged in 24/7 as an alarm clock. Lol. Screen on too.

And last I let it run dead and used it....I had better battery life than just about anyone in that S2's section here. ;)

---------- Post added at 07:20 PM ---------- Previous post was at 07:19 PM ----------

"Over charging" is a myth. For these batteries anyway. ?
[Nexus 5 General] bblzd:
I think that's a bit different because most laptops tend to be plugged in for months at a time and rarely get to discharge over its life time. Also the battery tends to be exposed to prolonged periods of extreme heat from normal usage which is never good for batteries, but can be even more detrimental when fully charged or charging.

I'm also assuming that laptop batteries are not rated for as many charge cycles simply because they're not expected to be used on battery as much as a phone is.
[Nexus 5 General] :
I'll add to what I said about over charging. Yes, maybe it deteriorates over a long time....but really, how long do people keep phones? Especially xda'ers. I've had my S2 3 years and battery is as good as day one. Maybe in 6 years that won't be the case. ;)
[Nexus 5 General] rancur3p1c:
now that I have MightyText I keep getting "battery is charged" notifications every once in a while. I don't think this would be happening unless it were topping up the battery. Which would be a charge cycle. which kinda scares me. That could be why this seemed to happen to you. Hm...

OTOH it's like $15 to replace a battery...who cares if I nuke it in 2 years time...I'll just get another one.

---------- Post added at 01:19 AM ---------- Previous post was at 01:17 AM ----------

yes yes, heat will definitely kill it.

what thermal throttling limits do you speak of?

Samsung's is battery at 35C ... personally mine gets that warm all the time so I set it to 41C...I rarely get past 41C

---------- Post added at 01:21 AM ---------- Previous post was at 01:19 AM ----------

keeping the battery at 100% capacity all the time degrades it. According to battery university, 20%/year. This is why you charge and store a lithium battery at 40%. At 40% you get a 4%/year degradation of capacity, but plenty of capacity to keep it from going to "sleep"

---------- Post added at 01:24 AM ---------- Previous post was at 01:21 AM ----------

you know, I don't understand what it says either.
[Nexus 5 General] rancur3p1c:
what is system busy spinning it's wheels on?

i have BBS if there is a specific screen that'll help
[Nexus 5 General] rancur3p1c:
another shot
[Nexus 5 General] ercxar:
This is a very interesting subject! I always had an eye on battery usage while phone is on idle. Usually it's exactly around 100-200 mA but when I UV -50 mA it will change idle usage to something around 90 mA and it was the lowest.

On the first day when I got my N5 I flashed minux31 slim build with Uber kernel and I had 6 hours of SoT!

And about the temperatures, it will kill your battery soon as you guys said but leaving it overcharging will kill your battery too. At least on my S2 it did. And the most important thing is don't let it use all of its juice, like the phone turns itself off then you plug it in. Always plug it in before the battery dies.

Sent from my Nexus 5
[Nexus 5 General] rancur3p1c:
guys please stop spreading this misinformation. It's fine to use all the battery.
[Nexus 5 General] aeoveu:
To add on, it's fine because phones automatically shut down themselves when the battery is very low - and will refuse to turn on if they don't find enough power.

This doesn't mean that the battery is zero - it means that the phone will find the power source too little to boot up.

So - the phone shutting down itself is a safety mechanism.

Now - once its shut down and you insist on the phone turning on, that'll screw things up. It's like pulling apart the limbs of a human being when they're not designed for such brutal activities.
[Nexus 5 General] rancur3p1c:
when there's no load on the battery the voltage rises by a bit, that's why you can turn it back on. eventually it stops doing this as the open-circuit voltage drops below the threshold needed to turn it on from having done that several times. everything points to battery cycle longevity as a function of amount of power transferred through the battery-- 500 full discharges is the same as 2500 20% discharges (discharge from 100% to 80%). The problem is people read "only 500 full discharges. that means full discharges are worse for the battery!"
[Nexus 5 General] MulchShake:
Ever since the 4.4.4 update I have been getting odd massive battery drain while idle over night. My batter graphic looks like stairs with correct idle drain followed by periods of extreme usage.
[Nexus 5 General] [armitage]:
For the last couple of days I tried to maximize my battery life as much as possible, just to see how long it can last with mild use.

I turned wifi and LTE only one when I needed it and turned it off after I was done using it, I check emails, weather, gas prices, watched a couple of youtube clips, used chrome,google now, whatsapp and made a couple of calls..

When I was done with the apps I ended the tasks immediately.

Over night I always put the phone in airplane mode (that's why there are the gapps in mobile network).

After 5 days I just made a screen of the battery info.

There are still 8% left so I could still watch a couple of youtube clips I guess.
[Nexus 5 General] mokee92:
hey...how did u get center clock?
[Nexus 5 General] TheNerd:]:
Um 99% of custom roms have this. Also xposed modules can enable this feature too.
[Nexus 5 General] newb3e:
Okay i know this is not franco kernel thread but can someone suggest settings that can get me good battery timing without losing performance.
[Nexus 5 General] :
Anything you do to the kernel settings will only affect battery a very small amount.

If your battery life is bad...it'll still be bad. ;)
[Nexus 5 General] PunchTheLion:
How is your battery showing a percentage?

My L install just has a standard icon with no percentage.
[Nexus 5 General] alex_herrero:
4.4.4, stock + root + xposed + gravitybox

More than 6 hours Screen On Time!

Special configuration: BT, NFC, Location: Off. Wifi and 3G always on.
[Nexus 5 General] nitinvaid:
Some where in the middle
[Nexus 5 General] mokee92:
i asked because he is on 'Stock + Franco R55' as said at the bottom of his pics...
[Nexus 5 General] rancur3p1c:
faux123's Eco mode and new hotplugging driver (conservative) is nice.

also ART just helped me a lot today I think.
[Nexus 5 General] newb3e:
:victory:

I installed vomer tweaks before upgrading to L preview and i was getting amazing battery times. Back on 4.4.4 i think ill install vomer again.
[Nexus 5 General] bogdan_wrc:
With battery percentage kitkat from playstore. Search for it on xda, its a simple add on. Install, set, reset and unistall.
[Nexus 5 General] bblzd:
In its current form ART does very little for battery life. Tests have shown +/- 3% which is within the margin of error, so it's basically a placebo at this point.

However tests have shown Android L to use about 30% less battery during web browsing even in its preview form, so things are looking good for the future.

http://lifehacker.com/android-art-vs-dalvik-runtimes-effect-on-battery-life-1507264545
[Nexus 5 General] 350Rocket:
The difference I got was likely cause dalvic cache needed to be wiped or something? It wasn't placebo. No noticeable difference in sot but in standby I went from around 6-10% overnight to 0-1% overnight.
[Nexus 5 General] shohag2018:
What theme are you using? Nav bar don't seem like stock rom
[Nexus 5 General] bluur:
Stock 4.4.4.
[Nexus 5 General] alex_herrero:
Gravitybox
[Nexus 5 General] bblzd:
Thanks for sharing. Please do try and include your screen on time as well so we can get a better idea of how much the phone was actually used.

We already know the phone can go weeks on standby time so it's not really informative without screen on time or more detailed info. This is not meant to take anything away from your submissions, just letting you know that we can't really tell much from a solitary shot even though the graph shot is one of the more useful ones.
[Nexus 5 General] bluur:
I understand that. I did uploaded both screens with graph and screen on time. But in my post always show only one attached picture.
[Nexus 5 General] bblzd:
Oh, I had thought only those with less than 10 posts had that limitation. I do enjoy comparing these shots from folks of all walks of life and various usage scenarios, so I just wanted to point it out so we can get a better picture of how much usage your phones are actually getting. Thanks for contributing! :highfive:
[Nexus 5 General] marquimsp:
Gravity Box!
[Nexus 5 General] shohag2018:
Loosing 12-14% charge over night. Is this normal? My wakelock screenshot attached.
[Nexus 5 General] rancur3p1c:
I don't know why it helped me so much
[Nexus 5 General] newb3e:
how do you guy get 18 19 hours of battery time i feel lucky if i get 11 hours.

i am on stock android.Franco Kernal with vomer tweaks.
[Nexus 5 General] krystyuc:
Latest PA +ElementalX v1.00 Default.
[Nexus 5 General] :
It could be normal....depends what your screen on time is, what you do on your phone and your settings.
[Nexus 5 General] newb3e:
I play boom beach and use bbm all day.

And vomer tweaks have underclocked my phone so i get an hour ornsomethinf from it...

So the way i use my phone 11 hours is good.
[Nexus 5 General] :
OK guys....look at this I found.

Last night I enabled the new "OK google from any screen" option, in Google settings, OK Google hotword detection.

Then after only after I woke up (didn't charge...I charged before bed) look what I saw....held awake time on Google search, which I've never gotten before.

So a couple hours ago I turned from any screen option off.....no more held awake time on search.

So guys with Google search out of control.....that might be the issue.

Too bad too....I liked that new feature, but Google gone messed it up.....again. ;)
[Nexus 5 General] aeoveu:
Tap the Google Search entry and see what's consuming the wake lock... This screenshot didn't paint the whole picture.
[Nexus 5 General] :
AudioIn, as expected. Without the low voltage core running the feature, like the moto x.... I see this being the new number one battery issue going forward. Lol

Audio in is waking every time it hears something, to see if you say OK Google.

I don't see Google improving on this. I think it'll be a you want the feature....then sacrifice some battery for it. :)
[Nexus 5 General] whitedragonz83:
I found a big drain with both lockscreen/all app mode enabled. The regular battery window showed Google Search around 10-15% of my usage when normally it's not noticeable or <5%. I had to disable it. It feels like the Snapdragon 800 core must not be used, or is very poor at conserving power.
[Nexus 5 General] Snow24:
Oh my God, amazing :D

i can't exceed 3 hours with screen on :rolleyes:
[Nexus 5 General] alex_herrero:
There is indeed something weird here. No custom kernel, no undervolting, no stock ROM mods except those from GravityBox. I'm getting extremely long Screen On Time. Almost 50% more than before. I even did a dirty install from 4.4.2 to 4.4.3 AND to 4.4.4, manually flashing them...

Google experimenting stuff with 4.4.4 on Nexus 5? Google Services update? Honestly, I don't know. I just keep location, NFC and BT off unless needed. Wifi and 3G all day long, automatic brightness. And the battery graph even shows battery increasing from time to time without charging it... :confused:
[Nexus 5 General] rancur3p1c:
after changing to ART and conservative hot plugging on faux123's kernel and PA4.4.4 I started getting way more screen on time. clearing Dalvik never helped me. I leave Bluetooth on guys you can too if you want. Wi-Fi takes 2% battery, Bluetooth is nothing.

If we could figure out why Android system is taking so much battery life we could probably get another 30 to 45 minutes of screen on time too.
[Nexus 5 General] bblzd:
Doesn't seem out of the ordinary for your setup, to me. The graph increasing from time to time is just a normal part of the estimation process. Thanks for sharing your results, looking good.:good:
[Nexus 5 General] RogerPodacter:
Man this phone just doesn't sleep it seems. My battery drains when idle and pulls 150-350 mA at all times. Why.

Its a shame because in use with the screen on it is very efficient compared to other phones. But it just can't idle correctly. I've turned off location and turned off google now. It must be play services...
[Nexus 5 General] :
Screen shots? From Gsam or something useful.
[Nexus 5 General] RogerPodacter:
From current widget logged values.
[Nexus 5 General] aliquzwini:
Guys my battery drains 5% in 6 minutes but my phone is new I bought it 3 weeks ago so I try using Wakelock app the es file explore was draining the battery .however I don't use it a lot I just stopped it now it's normal ..anyone who had this problem too?
[Nexus 5 General] immerblind:
my latest battery life. i open 2g mostly, switch for some minutes to 3g and/or wifi

play a little bit mobfish...runtastic, eyeem, some camera usage too, k@mail imap push etc, not much calls

(sometimes not the best mobile signal)

purity rom
[Nexus 5 General] Bei60:
You guys are getting to like 5 hours of SOT!!! My phone is awesome when its idle, I only lose like 1% over night (8 hours). But my SOT is horrible, I can only get 2 hours of basic usage (reddit, whatsapp, facebook, browsing, a video here and there) whatttt?
[Nexus 5 General] bblzd:
Post some screenshots we can try and help you out. Are you using auto brightness?
[Nexus 5 General] nils.pap:
I found out that using a custom kernel really helps a lot, as well. ;)
[Nexus 5 General] :
I'm afraid that's pretty much a myth.

I always say........I'll get 6 hours SoT (with my setup and usage style) on any ROM....any kernel. And I do. I do use custom kernels sometimes...and any battery gain I may get is very minor. And you can tweak the kernel 6 ways from Sunday and maybe gain a couple total hours and 30 minutes screen time. :)

Most long time flashers will agree. ;)
[Nexus 5 General] nils.pap:
I consistently got ~2,5 SOT on stock and CM and only have been able to get 4+ SOT since switching kernels.

Care to share any of the "tricks" you use to get 6 hours of SOT?
[Nexus 5 General] jd1639:
Start here http://xdaforums.com/showthread.php?p=53453745