yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] kayl2:
My results from last night. Elementalx kernel, slight undervolt, set WiFi scanning when off to off. Screen at lowest setting most of the time.

Not too bad, but I'd like to see a bit more.
[Nexus 5 General] bblzd:
5 hours is good. Under volting is said to be more for heat than battery consumption though under clocking on the other hand.

If I can make one simple suggestion: replace Bacon reader with Reddit is Fun. Banner ads destroy your battery life and Is Fun offers zero ads for free users as an option.
[Nexus 5 General] DigitalUnderground:
Very nice IMHO. Stock slimkat 4.6. No tweaks

Also stock slim 4.6 no tweaks
[Nexus 5 General] outofthisworld:
4 hrs 57 mins of screen time today and 30% battery left.

Franco 47 default apart from three changes:

Max cpu 1574 mhz

Load Threshold 0

Input boost 960 mhz

Lots of normal phone usage, instagram, twitter, newsstand, tapatalk, chrome. no music apps but YouTube and other videos.

I removed all auto brightness apps and installed one that gives custom brightness profiles.

Used four settings, 0% (in the morning), 5%, 12% and 23% today.
[Nexus 5 General] kayl2:
Which brightness app is that?
[Nexus 5 General] A-FrenZy:
Can someone help me how to stop this wakelock ?
[Nexus 5 General] dkv2222:
You lost only 4% in 10 hours.

Why bother?
[Nexus 5 General] A-FrenZy:
I just wonder I see it looks high.
[Nexus 5 General] outofthisworld:
Brightness profiles:

https://play.google.com/store/apps/details?id=com.angrydoughnuts.android.brightprof

In the last few months I used Lux, Velis and Gravitybox.

Velis was very good, customisable too but nothing has come close in terms of battery life compared to just setting your own brightness levels.

This profiles app isn't that special but nailing the same percentage everytime for a scenario is great.

Bed, day time at home, day time out side, evening etc...
[Nexus 5 General] Kidy973:
Here is some of mine with 5-6 SOT

Sync on, device only, no game

View attachment 2717260

View attachment 2717261

View attachment 2717265

sync on but location off, no game

View attachment 2717264

View attachment 2717266
[Nexus 5 General] hikarugo:
Im spending all day browsing with chrome, reading mangas online, and using greader app.

Using CM nightly with the chaos stable kernel

I am quite shocked myself with the 9 hours SOT. But perhaps it can be achieved by using the phone most of the time and less time leaving phone unused. Honestly, my last cycle gets only 4 hours SOT. But that is with elementalx kernel.

And I'm really using the phone, not just keeping it idle.
[Nexus 5 General] BATZ DA LOCC:
What am I doing wrong
[Nexus 5 General] :
Gsam would provide better information for anyone to see an issue.

And obviously Instagram is taking a good chunk of your battery.

Try gsam and see what it shows. You need gsam root companion as well. ;)
[Nexus 5 General] Jashanmallan:
m on latest Franco plus latest paranoid and no greenify and sync on

and location was off brightness was 40 percent
[Nexus 5 General] unsivil_audio:
Ouch? Maybe? We don't know because you didn't give a screen on time.
[Nexus 5 General] Jashanmallan:
Thats my battery backup and sot
[Nexus 5 General] Spiritreader:
Managed to have my phone off the charger for just a little over 24 hours.

Some explanations on the stats:

First 8 hours is idle time when I was asleep (usually I turn off radio)

20 minutes of phone calls

1 hour of gaming (Nimble Quest), was waiting for my next lession to start and I've been in a room with no reception or Wi-Fi, so I enabled airplane/offline mode

Texting all day, looking up stuff

Last 30 minutes I spent with watching streams on Twitch with Vortex.

Sync is on, but only for emails, drive, app-data, calendar, contacts and keep.

Location is on energy saving mode.

Google Now is enabled, hotphrase is disabled.

I installed Lux to optimize auto-brightness.

I usually don't turn off my Wi-Fi module. I was connected to my home network when I was asleep, and a little before the battery graph turns yellow.

Sidenote: My carrier so far only supports 3G and upwards in cities, so I only had 2G data connection (EDGE) while I was out, but: strong signal in general.

This leads to

SOT: 4h 25m 22s

Hightest SoT I've managed to get was 6 hours.

On average, SoT is around 5 hours.

Edit: Everything on this device is stock so far.

I think this is pretty good considering the 2300mAh battery.
[Nexus 5 General] unsivil_audio:
Get rid of Lux, and your SOT will be much better.
[Nexus 5 General] bblzd:
Looking good. Try setting your brightness manually to about 25% to gain another hour or so of SoT. Lux is a good replacement for stock auto brightness but still drains considerable battery from the inherent issues with the light sensor (0 lux reading in all dim lighting, 30k lux brightness spikes from certain angles) and general sensor polling.

Seems like a bit of extra Android drains, what widgets are you currently using?
[Nexus 5 General] Adonisd:
This is mine. Just got the nexus Wednesday. Completely stock. Just changed some setting.
[Nexus 5 General] DancingBacon:
Is there anyway to get the Battery under 31% because it's always at 31% on low brightness for me.
[Nexus 5 General] Adonisd:
This is me now at work after talking to my wife a few times. On WiFi mostly at work.
[Nexus 5 General] :
Guys, do yourselves a favor and get Gsam from play store. It will help track battery usage in great detail and its very easy to understand.

The stock battery usage screen says very little of any use. Its a bit better if you add the "screen" screenshot too....but even just the main gsam screen gives a lot of detail. And shows all your basic stats on one screen.

You definitely want gsam if you think you have an issue. Or its equivalent. Cause again, the stock battery screens say very little of any use. ;)
[Nexus 5 General] Adonisd:
I am actually flabbergasted! My old lg l9 would have died while I was at work.I am still at 9% battery and its almost 12am. I love this phone!
[Nexus 5 General] Spiritreader:
Is Lux really draining this much battery? I understand that sensor polling is a deal but I've yet to experience the spike problem, and 1% is still bright enough for me in the dim environments where it reads 0.

I will try without it, but I'd really like to have auto brightness because it annoyed me to not have it on my last phone. Can anyone recommend something that doesn't drain battery equal to 1 hour of SoT?

As far as widgets go:

Player Pro, Gmail, Stock Clock and Calendar.

Additionally

I had currents widget installed because I wanted to check battery temperature while charging and watching videos. Was OK (100°F / 38°C). I got rid of that now since the test is finished so the extra android drain should be fixed.

Greetings

Spiritreader
[Nexus 5 General] :
I use this....

https://play.google.com/store/apps/details?id=rubberbigpepper.DisplayBrightness

Its manual, but you can put the slider anywhere, make it any size, color, transparent... Etc. Great little app. ;)
[Nexus 5 General] bblzd:
The type of brightness levels it will set are basically much higher than needed. By having it at 25% or lower at all times you would probably save significant battery. Of course you can fine tune the paid version of Lux to use a smaller range of brightness which would also help.

Glad to hear the sensor issues aren't bothering you. For me, it makes any auto brightness mostly useless when dim lighting is read as 0 lux and the sensor is unable to differentiate between pitch black and dim lighting, forcing me to manually set the brightness anyways. Also, when a reflection hits the sensor from certain angles it will temporarily read 30,000 lux causing a spike in brightness even in dim lighting, which is both annoying and a large drain.

Current Widget is very useful. If you wanted to you could set it to manual update only, which would still allow you to monitor the battery without the consistent drain from auto updating.

As for the other widgets, try disabling them for one charge just to see how much of a difference it makes. In my experience, even the seemingly innocent widgets that I've set to barely update will still cause significant drains. Now I just use Dashclock + various extensions which will only attempt an update when you turn the screen on and is very light weight.

But again, great battery life already. Just some tips if you wanted to push it further.
[Nexus 5 General] Spiritreader:
I do own the full version of Lux, so

As you said, finetuning it helped me to configure it in a way that the screen is never too bright or too dim for me. Sure it reads values too low in dim light, but it's always been in a way that worked out perfectly fine for me. Spikes have never appeared so far.

So, should I keep it under these circumstances? (I've also set the polling rate to a lower rate)

Or is removing the best solution after all?

Concerning Current Widget, I have not thought of that. Stupid me. Went ahead and installed it again with polling disabled.

And I'll run the phone without widgets for the next week and check how it affects my battery life.

Thank you very much for your tips, they're appreciated. :)

I want to find a setting where my phone still has a lot of features but keeps its performance and durability as a daily driver.

Greetings

Spiritreader
[Nexus 5 General] bblzd:
Sounds like you're enjoying the usefulness that Lux can provide and have already set it up to be less of a drain than by default. My experience is with the free version only. Even though I had it set to poll when the screen turns on, slow update, and dialed down the maximum brightness, I still noticed an improvement in battery life when it was removed. I would mainly attribute that to myself keeping the average brightness lower than Lux would. You could always uninstall for a charge just to compare.

Glad I could be of help. BTW have you tried using any automation apps such as Tasker or Llama? These allow your phone to automatically change settings and adjust itself based on conditions that you've set up. Powerful, lightweight, can save you battery while providing more features, truly makes your phone a smartphone IMO.

Examples of what it can do are disabling your WiFi hardware when you're using data, enable or disable your WiFi based off Cell Tower locations (always polling anyways, basic locations without using battery), change volumes at certain times or places, etc.
[Nexus 5 General] Spiritreader:
I've actually just discovered the post you wrote in February explaining your tweaks. :)

I knew about tasker in the first place, but I've read that some features, for example airplane mode, don't work with unrooted Android. So I don't think it's worth for me buying it atm since I'm not planning to root my Nexus 5 just yet. (Got it for 3 weeks now)

I plan to do it eventually, but I don't have enough time to set up the things I want to have when the device is rooted atm.

But as far as Llama goes, haven't heard of it yet, so I definitely will try this out!

Since it's a celltower based location service, I need to wait until my new SIM arrives, because I changed carrier today.

Greetings

Spiritreader
[Nexus 5 General] eshopper:
on stock OS .. my battery life deteriorating day by day getting just 8-9 hrs overall :(
[Nexus 5 General] :
How about some screen shots from gsam or something that is not the stock battery usage screens? Charge to 100....and let battery run low before screen shots.

Without these no one can do anything but take wild guesses. :)
[Nexus 5 General] mau1960:
I use Lux but I've not the impression it drains battery much.
[Nexus 5 General] hikarugo:
Here is another of my battery results. I left my phone with airplane mode over night. Wake up and do 15 minutes of gaming then manga reading. Still got 51% left with 4 hours SOT
[Nexus 5 General] :
There was a post here earlier talking about the PSR feature which essentially puts the device to sleep whilst the screen is on. Yesterday, I decided to test it out for myself.

Normally, I'd get anywhere between 4-5 hours SOT, and if it's an exceptionally good day, I'd graze 6 hours. Standby time varies anywhere between 14 hours to above a day.

My phone is running the following:

1. Custom kernel (linaro) + custom ROM (Carbon).

2. Greenify for most apps.

3. Lux auto brightness monitor.

4. Location reporting off, location set to battery saver mode.

5. Under clocked to 96 MHz min, 2 GHz max. No UV.

This is how my phone's been running for a while. Because I've done all this and I'm seeing a SOT of about 4 hours daily, I'd categorize my usage as fairly high.

Yesterday, the only difference I made to my usage was that I wouldn't switch the screen off when I'm done using my phone, and just leave it on the side. I set my timeout to 30 minutes, and interacted with my device enough so it didn't switch off much, if at all. I spent the day texting, Facebooking, on a couple of calls, about a half hour of music towards the end, pretty normal stuff. I was on WiFi the whole day, except for the couple times I went out; during this time I used my phone normally. Remove from pocket, switch on, tap-swipe-tap-swipe, off. Rinse and repeat. When I was at home, I didn't touch the power button.

The results are attached below, and they're quite mind blowing, to be honest. See them for yourself.

A valuable lesson I learnt from this was to not obsess too much over how much screen time I'm getting, and not to compare it with others. Usage is what dictates how much time you'll get with your phone. Another thing I learned was that the Note can shove it. :)

Disclaimer: Your mileage will vary. Your usage is different from mine is different from anyone else's.

Also note that your phone will be in deep sleep mode much less, but will spend much more time at your minimum clock speed, whatever that may be.

Third, I'm not sure how resilient these screens are to burn-in. If you mess up your screen or device, do NOT blame me.
[Nexus 5 General] bblzd:
Thanks for testing. As far as I know, Panel Self Refresh (also known as GRam to LG) won't put your phone to sleep but it will allow the screen to remain stagnant when there is no interaction. So rather than constantly updating the screen when nothing is happening it's allowed to keep the current displayed information in memory until there is something new to display.

Certainly a huge reason why these high resolution phones are still able to get great Screen on Time. Also why you'll see the longest battery life while just reading things, and the less scrolling/interaction the better.

BTW I'm assuming you meant 960Mhz for your minimum clock as I don't think 96Mhz would be a stable underclock, or very usable.
[Nexus 5 General] :
Yeah, it's amazing how they've done this. It's sort of like an e-ink display that way. Unbelievable.

Usually, my screen usage lies somewhere around 30% of total usage, and I get about 4-5 hours SOT that way. This time, it was at 55% - and that was despite leaving home for a while and having my screen off.

No, I meant 96 MHz. Linaro kernel has an allowance for this low clock to be set. I've been using it for the past week with no issues.
[Nexus 5 General] bblzd:
Wow that's an impressively low clock speed then. I didn't think modern CPUs could even function like that without becoming severely over volted. I wonder if the phone struggles to perform background processing tasks, or where the point of diminishing returns would be.
[Nexus 5 General] :
This is just my opinion....and to each their own... But I find kernel changes are unnecessary. Maybe you'll see slight improvements... And maybe you'll see bigger glitches....but I get great battery and performance on any ROM, any kernel....and I never change any kernel settings.

If tweaking the kernel is just for fun and learning....I get it...I get it even for trying to get the phone a bit faster. But if its being done to get more battery life ...then I don't get it. You'll only see minor differences, and potentially hurt performance.

All opinion here obviously. See my long standing averages on bottom left corner of screen shot. ;)
[Nexus 5 General] jd1639:
Totally agree with kg2112. This is on stock rom and kernel
[Nexus 5 General] bblzd:
Certainly, you can get great battery life stock and even unrooted, as I hope I've made clear by now. :laugh:
[Nexus 5 General] Spiritreader:
I agree with that, yes. Even Stock Kernel Power Management is pretty good.

Turns out that Lock-Screen Widgets seemed to drain quite a lot of battery for me. Sounds about right, but can anyone confirm this?
[Nexus 5 General] :
Don't get me wrong tho.....I still prefer using certain custom kernel and ROM combos for various reasons......but none of those reasons have to do with battery life.

And I personally never over or under clock or volt. See no noticeable point.

Just want to be clear. I greatly appreciate the work of our devs .....on roms and kernel development. ;)
[Nexus 5 General] Spiritreader:
In my opinion, which is similar to yours, I don't really know if it's worth the effort to flash a custom kernel for battery saving purposes only.

I'd say that if you have a custom kernel anyways, it's a great way to tweak battery life, but solely flashing a kernel for better battery life seems a bit unnecessary to me. (Ofc it depends on how much time you are willing to spend)

But, as stated by bblzd, good battery life is possible without a custom kernel.

And no doubt devs are doing a great job.

Concerning battery life on my phone:

I downloaded GSam Battery Montior and will check on my battery life with it. Applied some of bblzd's tweaks and I want to see the outcome in greater detail.

A question about GSam though: Is it a service that is constantly running? If so, wouldn't it also drain battery?

Another thing: I'm getting my new SIM from another carrier soon. That will upgrade my data connection from EDGE to HSPA. Reception should still be good, but will this hit my battery life? On my old phone (Ace 2), whenever I had HSPA connection, the battery drained farily quickly.

Greetings

Spiritreader
[Nexus 5 General] :
Yes gsam always runs....but no, it has no noticeable battery drain. I've used it for a very long time. A battery monitoring app that drained battery excessively would have to be from a very poor dev. Lol. ;)
[Nexus 5 General] :
Yes, I was pleasantly surprised when I saw the setting after I flashed Linaro kernel. I didn't think the processor could go below 300 MHz, as far as I know, the Nexus 7 can't even go that low.

The thing I've noticed with setting min clock so low is that it doesn't stay there. It oscillates up to 300 MHz (or higher), and back down again. I'm not sure whether this yields any improvements to battery life, but it sure seems like there's less "wear" on the processor, by it functioning - albeit minimally - at such a low clock.

I can't say I disagree with the premise that the stock kernel + ROM doesn't yield a good battery life - seeing as I've always been running custom stuff - but I will say that my main aim in flashing a custom kernel (at least initially) was battery life. After the experiment that I did, I'm not as concerned, because I know the phone's working as it should be, so battery life isn't my main concern anymore.

One thing I've noticed is that this phone is way too powerful for itself. I've ran the phone at 1.5 GHz without perceivable slowdowns. By underclocking it, it should, in theory, yield at least some battery savings. The less wear that the processor undergoes by running at a lower clock speed is just icing on the cake.

TL;DR: If you're considering flashing a custom kernel, go for it. Even if you don't notice an increase in battery life, you'll have learned something. And that's always worth something.
[Nexus 5 General] bblzd:
More low signal with mixed WiFi and 3G usage.

Stock, unrooted, 20% brightness.
[Nexus 5 General] mcvigo:
Awful battery life. Just flashed everything to stock too.
[Nexus 5 General] muyoso:
Bet you got hit with the Latin keyboard bug among other wakelocks. I randomly have very high Google keyboard usage as well, and it's always the Latin keyboard when I check BBS or wakelock detector. So random.

Also your screen brightness is probably mostly to blame. Just guessing.
[Nexus 5 General] mcvigo:
Brightness is like 10% and i use english keyboard
[Nexus 5 General] :
Try gsam, and see what it shows. Post screen from it if you want. The stock battery usage screens say nothing useful. :)
[Nexus 5 General] muyoso:
Yea, I use the english keyboard too. Thats why I called it a bug with regards to the Latin keyboard.

And if you are on 10% brightness and only getting 2 hours screen on time you have some narly wakelocks.
[Nexus 5 General] peeweew:
Music lovers. Google Play Music really is a battery hugger. That's only 3hours 51minutes of music. That system wakelock is the Audiomix.
[Nexus 5 General] bigant262:
What app is that?
[Nexus 5 General] PsychDrummer:
Has anyone noticed more battery drain from using high accuracy compared to battery saver? I know this sounds like a weird question (I'm probably going to test it out tomorrow), but I feel like even if you leave high accuracy on, it only uses the GPS if you're using navigation so the battery usage shouldn't be different from battery saver. I feel like in the past with older phones you would leave GPS on and it would def drain the battery but I'm not sure if thats the case with the N5.
[Nexus 5 General] muyoso:
I find device only is the most battery efficient by far. No NLP wakelocks draining battery.

---------- Post added at 12:17 AM ---------- Previous post was at 12:15 AM ----------

I'm running a test right now with my nexus 5 in airplane mode playing hours of music in Google Play Music vs Poweramp to see if there is a difference in battery life.
[Nexus 5 General] surrealjam:
GPS is only activated if a running application requests a location and you have high-accuracy mode on. Therefore, as long as you don't have apps running that are going to constantly ask for your location then the battery consumption should not be affected (much) by leaving it on all the time.

I don't think that's changed much through the life of android to be honest as even in the days of the G1 I left GPS on all the time!
[Nexus 5 General] muyoso:
Wow, there was a massive difference in battery life. Played 4 hours of music in both Poweramp and Google play music and GPM was significantly more battery friendly. 1.3% an hour for GPM vs 4.3% an hour for Poweramp. Did not expect that.
[Nexus 5 General] CPNowell:
Yikes! Time to stop using GPM then I guess... ;)
[Nexus 5 General] muyoso:
Sorry, didn't make it clear in my post initially, but GPM was the 1.3% an hour. I was extremely surprised at how battery efficient it was. Next I need to compare GPM in airplane mode against GPM on WiFi.
[Nexus 5 General] PsychDrummer:
Well, the reason I was asking is because I normally use battery saving mode since I use google now for location. The thing is, I want to use the geolocation reminds/features more and they would work much better when using high accuracy. Also, I I know it's very small but sometimes when I want to quickly navigate it's a bit annoying having to go into settings and change it to high accuracy (even though it does send you there automatically). I'll test it out today and see if it drains a lot more than battery saving.

That's interesting. I know I have a friend that uses an S4 and she always leaves everything on including GPS. She constantly complains about low battery life and I have seen it first hand. The phone barely lasts half a day. I've always assumed GPS was the biggest culprit, maybe she just had a bunch of apps that requested location.
[Nexus 5 General] CPNowell:
Mea culpa! Sorry, I didn't read or interpret your post correctly! [emoji15]
[Nexus 5 General] :
Nothing wrong with wanting to use a certain feature, but gotta accept the battery drain it will cause. That's just how it is. ;)

"Average" battery time is impossible to determine when we all set up our phones different, have different apps using those features, etc etc.

Not saying you, but half the people that have posted in this thread saying they have an issue.....didn't have an issue. It was their setup and usage. :)