yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] jimv1983:
So what is good in terms of signal strength? Any idea what your phone typically gets when you get those 2 days off the charger with 4 hours screen on time? Are there any apps that actually track the actual dBm number over time to get a more accurate history of signal strength?

My horrible battery life (at least compared to yours) is either bad signal strength that is just misreported by Android or some unknown reason for the OS keeping the phone awake. Or a combo of both. I've mostly ruled out any specific app keeping the phone awake. Although, it does seem to me that Chrome is a battery hog when in use. I've also been keeping a closer eye on what is requesting location and it's still only the same 4 with "Low battery use" (Android Pay, Google App, Google Play Services and Phone).

I'd really like to get to the bottom of this. With as good of battery life as you are getting I must be able to do better.
[Nexus 5X General] ibilln:
This is so far from what I get that it's completely unbelieveable. Maybe you photoshopped the gifs? :).

I see you are in India? Maybe you have an H791, ie, international model, and that is for some reason better...?

Well, I'm on my last gasp. I'll try your config as noted. If nothing, I'll jump off the bridge. Anyway, thnx for noting this.
[Nexus 5X General] sasank360:
Yes. I use the international H791 variant.

And no, my photoshop skills are non existent. :laugh:

When i use Wi-Fi, I get stellar battery life.

While on 3G, not so much, but still decent.

Keep in mind though, I did not flash gapps on my phone till yesterday. So all stats i posted in last month were without gapps.

However i will, shortly, come up with more stats with gapps installed.

Cheers. ;)
[Nexus 5X General] nondroid:
I am using Dirty Unicorns + Phasma kernel with Redhawk v3 profile
[Nexus 5X General] ibilln:
Can you use Android Pay? Thx
[Nexus 5X General] sasank360:
I do not use android last pay. It is not all that prevalent here in India
[Nexus 5X General] sasank360:
My first day with gapps installed. Used 69% in 14 hours.

Only mobile data, 3G , used. Did not notice any misbehaviour of Google apps.
[Nexus 5X General] ulxerker:
but from Play Services ... and you mentioned to disable both ;)
[Nexus 5X General] bblzd:
You want the signal around -90 dBm or less in my experience, and as it gets higher the power usage goes up exponentially. Typically I'm around -80dBm unless inside large buildings or underground. The built in Battery Historian would have the info you're looking for.

Possibly submit some fresh screenshot examples if you're still not getting anywhere. It could just be the apps you have installed and radio usage but I can only guess.
[Nexus 5X General] suku_patel_22:
So this is what I managed on day 6 with my N5X. This is on stock with latest Franco.

Considering the poor network, I would say I am happy with it.

The battery life is same as my old N6 which had a much larger battery.
[Nexus 5X General] JoshHankins:
I have been trying to optimise my battery life. So far I am averaging around 3 hours screen on time (stock unrooted) but I am aiming to average 4 hours SOT. I have disabled google now and I am using location battery saver mode with location history turned off. I was wondering if for an unrooted phone, greenify is worth using or if there are any other tips to help improve screen on time?
[Nexus 5X General] bblzd:
I've heard a few people assuming that Ambient Display is a large battery drain and logically that would make sense as the display is not AMOLED.

However in testing with Ambient Display disabled for a few cycles I have noticed no battery gains. I'm sure there are some savings to be had but they are in the realm of 0-3% of a full battery discharge and not going to change my personal screen time or run time in any noticeable way.

This is most likely due to the Android sensor hub, as well as the time the screen being on is minimal (3 seconds per flash, 9 seconds per notification).
[Nexus 5X General] suku_patel_22:
You can use greenify without root. I would suggest instant Greenify and enabling aggressive doze. See how it impacts your SOT.

The thing about ambient display is that I find it irritating and it breaks the doze cycle
[Nexus 5X General] suphan95:
Which rom have you? Use another kernel?
[Nexus 5X General] sasank360:
I am using Pure Nexus ROM with ElementalX kernel.
[Nexus 5X General] suphan95:
You have some kind of problem with the battery ? It happens that the percentage drops of 2 % ? When you turn off the battery LED , and then reboot your device , you will restart ?
[Nexus 5X General] Donnie Sins:
About the 2% drop: that's a common issue, like explained in, among others, the PN thread (so please search the next time).

Furthermore, I do run PN, but I don't have that LED problem. You could contact the dev personally, or try to provide a logcat so others can help you, as already suggested in the PN thread.

Sent from the Matrix
[Nexus 5X General] ibilln:
I'd like to thank [MENTION=4517909]sasank360[/MENTION] for his several posts. Using info from him, I'm getting reasonable battery now. Not spectacular at all, but satisfactory - for me. Highlights: Just a hair under two days total time unplugged, moderate usage, with 3 hr SOT. Setup:

Stock, rooted with BETA-SuperSU-v2.68-20160228150503.zip soas to get systemless root - so I can use Andriod Pay. (Howto. Comment - various posts, including the latter, say PureNexus can be gotten to do Android Pay. I've not been able to. From my experience AP needs stock system.img but others clearly disagree).

Elemental X kernel with

GhostPepper profile loaded via The EX Kernel Manager app. (Dashboard->menu->CPU->Governor options->load. Set Apply on boot)

CPU/Touchboost disabled

Graphics/Max GPU frequency set to 450 MHz. Set apply on boot

About halfway through the session below I enabled Aggressive Doze in Greenify, and installed and ran ShutApp app. Not sure what if any help the latter provided. Will try to narrow this down over the next few days,
[Nexus 5X General] Joms_US:
That seems like an average SOT of stock NX5 without any tweak at all.
[Nexus 5X General] Donnie Sins:
With two days on one charge? I didn't manage that untill I rooted my device and started using profiles with ElementalX;)

Sent from the Matrix
[Nexus 5X General] Joms_US:
You should be aiming for longer SOT not standby time. With Doze 2.0, NX5 can last more than a day standing by.
[Nexus 5X General] Donnie Sins:
I know. All I'm saying is that even in standby mode, my device drains a little too much battery to hold on for 2 days with about 3 hours SOT. But it doesn't matter anymore, because PN with ElementalX saved me[emoji6]

One thing I'm curious about: what do you mean with Doze 2.0? You mean Aggressive Doze?

Sent from the Matrix
[Nexus 5X General] ibilln:
Yours maybe.
[Nexus 5X General] fillonov:
What if we can use battery from LG Flex (BL T8)? Does it fit the BL T19?
[Nexus 5X General] EeZeEpEe:
I'm guessing he might be talking about Doze for Android N.
[Nexus 5X General] bblzd:
I'm not sure if it does really, for Ambient Display to flash it needs to have received a notification to the point where the LED light would blink, or sufficient movement detected from the gyros. This would mean Doze is already broke for these conditions to take place.

In the last week or so with Ambient Display disabled I've yet to have 1 result that showed an improvement battery wise. There's definitely a lot of optimization that went into the feature for it to work on IPS displays.

I've noticed sometimes it allows me to not unlock the device as I can see what the message/email/notification is specifically and choose to ignore or swipe away without engaging the device further. Otherwise if I am to unlock the device with my fingerprint and dig into the notifications I'm also more likely to continue using the device for a period of time. Basically Ambient Display interactions allow the device to deep sleep better.

Anyways here's what my results have been looking like with Ambient Display disabled. That's the only setting I changed from my last few results. Google features enabled, about 30-40% brightness, stock device. One thing to note is this is after about 500 hours of uptime.
[Nexus 5X General] suku_patel_22:
Interesting points. Does the phone wake up while you are walking around?
[Nexus 5X General] :
Just found this screenshot I've been meaning to share. I have absolutely no idea how I managed it but as you can see I was down to 5% battery at the time. Running stock ROM, EX kernel with some heavy governor tweaks. Minimal data usage (I usually leave it turned off unless needed, which helps) as well as using Greenify.

If only I saw this SOT consistently :crying: I typically get 4.5-5 hours though.
[Nexus 5X General] bblzd:
It will wake from Doze while walking, but can continue to deep sleep unless receiving a new notification. Similar to the LED light.

Last example with Ambient Display disabled as I'm turning it back on after this. Played around with my Google Cardboard for about 45m - 1h which sets the brightness to 100%. Stock device, average 35% brightness otherwise. 500+ hours since the device was rebooted.

http://imgur.com/a/UjDUu
[Nexus 5X General] fillonov:
I need help. I got battery from G2 (BL T7 3000mah) installed in 5x (took board from T19 battery). And I have Q: can I just use battery from LG G2 without soldering board from native nexus 5x battery? Will it work if i just solder the connector of G2 battery from left to right as nexus 5x has it on the right?
[Nexus 5X General] nitinvaid:
Still some left.
[Nexus 5X General] blackangel10:
hi guys, ive got this terribile awake value and i really dont know from what depends. with my simple usage (whatsapp..telegram..facebook with chrome without notification,) im wondering about the have 4h sot at least... but i never got it!!

yesterday when i made this screens i was with metal facebook that i've unistalled and running now with chrome but i got the same results....

my configuration is elementalx 1.12... xtrasmoot rom.... in the past ive tried also pure nexus with ghostpepper profile..and running greeinify..amplify..ecc as the guide here on xda...

can someone help me pleaseeee!!??:)
[Nexus 5X General] EeZeEpEe:
That's some crazy standby time but I don't think I could get by using my phone only 1 hour a day.
[Nexus 5X General] EeZeEpEe:
This was definitely without charging right? Cause that's definitely possible with a few little top offs which doesn't reset the time.
[Nexus 5X General] :
Yes. It would have been in my pocket all day at work (aggressive Doze works magic for me [emoji1] ), light usage off and on over the course of a 10 hour shift, plus actual SOT during the morning and evening. I was floored when I saw those numbers, I just wish I would've gotten a screenshot of the overview and app consumption.
[Nexus 5X General] ibilln:
Yep. I call foul...
[Nexus 5X General] bblzd:
Ambient Display back on. Average 35% brightness, stock device no root, Google features enabled. Mostly streaming 1080p video in Netflix/Youtube and browsing.

It has been about 550 hours up time with no RAM related issues. On to the April OTA after this.
[Nexus 5X General] suku_patel_22:
I did have ram issues once where the launcher was realoaded everytime i went to home screen. It was after using maps and navigation for around 2 hours.
[Nexus 5X General] Donnie Sins:
If you keep on the screen for a very long consecutive time, it surely is not impossible. I too did manage something like that when, for work, I had to run an app for 5 hours straight with the screen on. I did use for like 60% of battery, so my total SOT could be much higher if I didn't charge it afterwards. Just saying[emoji6]

Edit: I use PN with ElementalX (Eclipse profile). Normally I get like 5,5/6h SOT on one charge over 24h.

Sent from the Matrix
[Nexus 5X General] Il_Moralizzatore:
Hey guys, first time ever I write on XDA. I have a fair share of experience with battery tweaking on my devices (starting with the LG G2 with its unbeatable battery life once tweaked) and I am trying to do the same with the Nexus 5x. However my results are being poor, and especially makes me frustrated because I am not being able to understand why the phone drains so much (especially in standby mode).

As you can see from the graph below, I basically left the phone idle, wifi on, cellular network on 2g. With a % of Deep Sleep superior to 82% I am still finding that my drain is over 2%/hour. Just sitting there in deep sleep. Partial Wakelocks are negligible, and so the alarms from goole play services.

Running Pure Nexus (March) with EX kernel - Ghostpepper settings, just tweaked max frequency for GPU down to 450 - Greenify with aggressive doze and Power Nap.

Anybody can help me figure out why the drain is so big? (for comparison with my LG G2 overnight with wifi on etc I would get a drain of 1-2% TOTAL. On NExus 5x it's about 14-16%).

*edit* how can I add pics from pc? XDA app is not uploading my screenshots
[Nexus 5X General] Joms_US:
Turn off auto synch services of your mail and other apps.
[Nexus 5X General] Il_Moralizzatore:
That's not an option. Didn't have to prior to the Nexus 5x. If you could see the screenshot you could have a better idea. I don't think that's what is draining my battery.
[Nexus 5X General] kdh2834:
How low is ur brightness..?
[Nexus 5X General] sasank360:
20-50% depending on where i am. While in transit, it is 50% or more.

Indoors it is 20%.
[Nexus 5X General] nitinvaid:
This is mine.
[Nexus 5X General] robstunner:
OK,

11hrs off charge.

Google now off, Google location history off location mode is battery saving. Ambient display is off, led blink is on. No apps syncing no notifications on via any app. Only Google sync and only my small handful I require (contacts, mail etc). Auto brightness on with the slider at 25%.
[Nexus 5X General] bblzd:
Big improvement over the N5

Battery life is very good. I would've had to disable most settings on an N5 to get the results I've been seeing all this week.

All Google features are enabled except Locations and adaptive Brightness which instead is set to 50%. I haven't touched anything related to Doze and battery saver mode remained off.

Ambient display, all syncs, backups, OK google, Now on Tap, just about everything else is enabled. I'm still in the process of setting up the device and installed around 1GB worth of apps and updates as well as transferring 3GB of files via Pusbullet's Portal app (works great BTW).
[Nexus 5X General] Highland3r:
Battery life after around 7 days of having the phone is good. Shade under 4 hours SOT with none of the sync stuff disabled. There's a missing chunk in timeline due to OTA update installation and associated optimization.

Forgot to get a SS before putting on charge this morning, but screen wasn't used while device was charging.

Doze is doing an awesome job overnight of keeping drain to pretty much nothing!
[Nexus 5X General] keijikage:
I've been less than impressed with the battery on the N5. SOT looks like it will be a little over 3 hrs based on my usage...I usually got 4hr on my S6, and the S6 isn't known for great battery.

Saving grace is that the idle time is pretty good(for android) so the run time will probably be pretty consistent, but active time is pretty brutal. I ran Geekbench 3 last night to see if it was really worse than what I'm getting on the S6, and the numbers seem to line up with my experience.
[Nexus 5X General] aamir123:
How are you guys getting such good battery life? I have yet to reach 4 hours, I actually barely reach 3 hours. Also Doze doesn't work that great imo about 1% per hour drop.
[Nexus 5X General] km8j:
Wtf how are you getting 5.5 hours SOT? That is Sony territory. 1.5 hours SOT chewed 40% for me.
[Nexus 5X General] vtmike:
Screen brightness normally effects sot alot. Are the people reporting lower times cranking the brightness at or past 50%.
[Nexus 5X General] fix-this!:
i was thinking of getting one but the overwhelming responses ive seen is the battery life is pretty bad. its such a shame that google just cannot get this right after all of these years. im tired of the lag and crap battery life on these devices. ive been through 4 different phones the past 6 months and all had terrible battery life. its such a shame. :mad:

i cant imagine the 6p will be any better with the 810 and that qhd display.
[Nexus 5X General] Highland3r:
Auto-brightness set at no more than 50%, otherwise doing nothing else special. Pretty much always in good/strong 4G signal which probably helps as well.
[Nexus 5X General] bblzd:
Seems fine to me. It's a noticeable improvement over the N5 and most reviews I've read say the battery life is good.

Once Anandtech and Gsmarena have their battery tests out people will see it does well in the battery department. Until then I'll try and post some more shots from my usage. Currently with only WiFi I'm on point for 6-7 hours SoT.

It's basically a more efficient CPU (4 low power cores) with the same type of screen and a larger battery than the N5.
[Nexus 5X General] dwang:
battery life is better than the 5 but not as good as the 6 so right in between. :) at least for me.

On wifi and no gaming, I typically get

4:30 hours of SOT with the nexus 5 (just put in a new battery last month)

5:00 hours of SOT with the nexus 5x

5:30 hours of SOT with the nexus 6

Hoping to get 6 hours of SOT when the 6p comes in.

On LTE, its less by about 30min...

Gaming will destroy the battery no matter what phone you have. :)
[Nexus 5X General] B3RL1N:
I'm trying to figure out if I'm expecting too much out of my device.

I've been fairly unimpressed with my battery life. It's been 6 days of usage and I've noticed maybe around 30% better battery life than my Nexus 5, although I still struggle to make it through a day My average seems to be 2h 30m SoT with general use, versus my Nexus 5's 1h 45m.

Yesterday I took my phone off the charger with 96% at 5:30pm and went till 2:30am at 38% with 1h 32m SoT @ ~40% brightness.

I listened to about 30 minutes of Spotify and mostly just text / email / Reddit and took some photos. If anything, the pictures hurt the most, because I snapped ~50 or so photos. Which attributed to maybe ~18% battery loss in total. (Estimate)

So that's 40% of general use (Plus Spotify) gives me ~1h SoT (Minusing the Camera SoT time). So with my usage, 2h 30m is the norm.

Location is on battery saving, WiFi is normally off unless I'm using it (forget yesterday) and I don't have my device searching for open networks. Google Now is on and I do use Android Wear, but as mentioned, I don't use any location services. I'm on T-Mobile and at my desk my reception is horrible. I had WiFi calling on, but it seemed to negatively affect my battery life. (Very odd)

I'm currently unrooted, locked bootloader and stock because I told myself I'd try it for at least the first week.

Is there anything anyone can think of to help with battery life? Or are these numbers normal? I've been logging ever day's battery life usage for the past week with my 5X and past two weeks with my 5. I have a lot of data and it's all pointing towards "your use patterns just suck brah." Or there's something weird going on because some days are good but most are awful.

Also, Gsam is losing it's mind on my 5X. I normally use Gsam, BBS and Wakelock Detector, but without root they are worthless.
[Nexus 5X General] kbbeer:
Full charge from 5% in one hour, I can live with that.

Strange it doesn't have a led indicator when charging, unless that is just me.
[Nexus 5X General] jimv1983:
Here are my results from the second full charge cycle

This is with brightness about 20%, wifi the entire time and very good cell reception. The battery life isn't impressive by it's not awful either. Noticeably better than my Nexus 5 when it was new but not by a huge amount. Not sure how a few people are getting 5.5 hr SOT. If I push I MIGHT be able to get tot 4.75 hr and that is with great reception and wifi the entire time.

The big test is to see how it holds up on my work's wifi network where my Nexus 5 wouldn't sleep at all since I upgraded to Lollipop.

UPDATE: Looks like the wifi wake lock issue is fixed. My Nexus 5X actually sleeps on my work wifi. It looks like it should spend a little more time in sleep while I'm not using it but FAR better than not sleeping at all. Now I can actually USE my work wifi without having to turn on wifi every time I use the phone and turn it off every time I am done. I'm actually very surprised that it's fixed. It worked fine on the Nexus 5 with Kit Kat but had the problem on both Lollipop and Marshmallow so I figured it must have been a software issue but the Nexus 5X has Marshmallow so it's not that either.
[Nexus 5X General] km8j:
I cannot get more than 2.5 hrs SOT with doze, all apps are optimized etc
[Nexus 5X General] CapnBoost:
I'm still waiting on my screen protector and case so my N5 is still my DD. This is only on Wifi and only periodic SOT.

Very first full charge, I've done no optimization.
[Nexus 5X General] aamir123:
You can try factory resetting and don't restore apps but do reinstall them one by one.
[Nexus 5X General] bblzd:
50% adaptive brightness with Locations off. All software features enabled (syncs, ambient display, LED pulse, Gnow on tap, OK google, etc.) Wifi the whole time and yet WiFi never appeared on my list, unlike with my N5 which usually shows WiFi near the top.

Results have been great so I'm going to try with Location services next.
[Nexus 5X General] PhilipL:
Hi

Something is waking your phone a lot. Look at the Awake line and compare to the line showing screen on, ideally the phone should only be awake when you have your screen on and are actually using it. So the more these match up the better, of course your phone will sometimes wake up when you are not actively using it, but generally this is fairly limited when things are working good.

So you can see there are quite a few periods where your phone is on but you aren't using it, so some app is doing that, if that app is constantly pinging home or doing CPU intensive stuff it will be taking a chunk of power, power that would otherwise by yours to use when you have the screen on.

You can check your apps in the plays store and look at permissions in detail, any app that has the permission to keep your phone awake is a candidate for battery drain.

I would reset to factory defaults if you can, go a day without installing any apps and see if awake time is now mirroring screen on time, then install apps carefully checking what affect they are having.

Doze will help with battery draining apps but only when it decides you are not using your phone, each time you read a notification or move the phone around, Doze is postponed as it sees you are actively using the device.

Sometimes Wi-Fi access points can be broadcasting a lot of broadcast noise, some of this could be constantly waking your device, music and streaming apps can sometimes mean the phone starts listening to this traffic it would otherwise ignore. Work/public Wi-Fi access points can sometimes be quite noisy in this way.

Hope that helps.

Regards

Phil