yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] ibilln:
I'm using same settings but with stock firmware. I get the 1-2-ish % drain overnight - quite happy with that. Not so happy with drain during usage - have not found any culprit apps though. But I've always said, what I want is a phone that does not use power when I'm not doing anything. That I have now.

I don't use XDA app. Gif's upload nicely using the browser (chrome) uploader. Unfortunately I have no suggestions for tracking your leak except Better Battery Stats app or similar.

For a while recently I had a Nexus 6p, purchased from BBUY via a "deal" on Ebay. -Great- battery life w/ no tweaks at all. I just did my thing w/o looking at the battery all the time. What a nice experience.

I really think the battery performance on the n5x varies a lot with the build of the individual device. The people from "foreign" places (Canada, India, Germany...), sans doubt with the international version of the 5x, seem to get much better results than those with the US version, although some US people do well. I sent my first 5x, bought the first day they were available, back to GOOG bc of terrible battery performance.. The next one, using various kernels and roms, did much better. My current device is just barely kept afloat via the tweaks mentioned above, but I'm always checking the battery. I think longer term I'll be able to get in a 24 hr day with moderate+ usage.

What I -really- want is something which has the battery of the 6p I just reluctantly let go, but is useable with one hand. The battery on the LG G5 looks promising.
[Nexus 5X General] ibilln:
YAIV win. (Yet Another International Version)
[Nexus 5X General] blackangel10:
ive got your same problems, tried many roms with many kernel (usually the best is xtrasmooth + elementalx), xposed with greenify,amplify,ecc... ghostpepper too ( no facebook, no messenger, only whatsapp and telegram, and fb by chrome )... and i've never had more than 3h45mins of sot... too bad in many posts ive read that ppl can do easy 5-6h.

---------- Post added at 06:17 PM ---------- Previous post was at 06:04 PM ----------

oh my god!!... how can you have this sot? which rom and kernel or other stuff are you running on your phone? fb..whatsapp?
[Nexus 5X General] Il_Moralizzatore:
I guess we have same model cause I bought it in Switzerland. Still on stock I was not even close to that, even if just using it under WiFi. My best was 6h SOT. But as I said I am more worried about standby time. Also your graph line are almost linear when not used. Mine are just @&#;?@+)/?
[Nexus 5X General] Il_Moralizzatore:
Yeah, same model. Guess I will try to go back to stock and just use EX kernel, see if I get improvements. So far is ridiculous to leave phone over night and find myself with 20% less battery in the morning
[Nexus 5X General] :
I can understand why. But keep in mind I consistently get 5+ hours SOT, no data or WiFi on, and keep my brightness at minimum during work to conserve battery. Besides, what would I have to gain by cheating the system? This is all about pushing battery life to the very limit, and it would appear that this is my personal limit.
[Nexus 5X General] Infinite Jest:
I've generally found that I get much poorer (~3hr SoT) battrry life when I'm at work with poor signal while at home or out and about I can get anywhere from 3-5 hours SoT. I haven't been able to really get stable battery life, but it does seem to have improved from when I first bought it a few weeks ago.

Here is a most recent example of good battery life (includes a quick 10 minute stint on the charger early in the day):
[Nexus 5X General] ibilln:
Thx. I never picked up that you were not using the network. Sorry - my bad. Must say, though, that having a 5x on all day with no cell data or wifi, seems ...pointless. To me. Clearly you get something out of it, so, great! I think you are a semi-unique case.
[Nexus 5X General] sdthelord:
I want to share my 5+ SoT experience with you, see the attached screenshots.

Phone: Stock Android, ElementalX, Greenify, XPosed, Gravitybox, Tasker

In general Location off, WiFi on all time, K-9 syncing five accounts every 15 minutes, whatsapp, no facebook.

Location: Germany

In my case, of couse the most influence on sot has the display brightness. My setting in the quick settings keeps around 30%+/-5%. Go even further and use Gravitybox MM with XPosed to tune the brightness of each setting accouring to a measured ambient light. I used a lux meter and applied a personal value to each setting, more or less about -20 to -50 compared to stock values. This saves a lot!

Additionally I highliy recommend to read and apply this thread: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

Third and for my important, I have a bad signal at work, so whenever I am connected to a wifi, I set my network to 2g. Usually my places are covered with wifi, so I dont waste energy on LTE connection. Of course this is done with Tasker.

Alltogether I'm really happy with the performance of the battery and phone with these tweaks.
[Nexus 5X General] blackangel10:
are you using xposed with his modules or something? i remember that my experience with stock is worst than every other custom rom.... probably my phone is just a little bit weird!:)
[Nexus 5X General] bblzd:
I do believe Canada gets the same model as the U.S. Nexus 5x. We tend to use the same LTE bands here.
[Nexus 5X General] ibilln:
Semi-agree. The model for sale at Best Buy in Canada is QLH790BX. The model for sale at bb in the US is LGH790.AUSABK. Still, the CA one is not H791 as I assumed. Separate builds of the same hardware? IDK. I -still- think it's the luck of the draw on the build of one's phone as to how well one's battery performs. My experience w 3 N5X's seems to bear this out - plus the very widely varying results reported here from experienced users.
[Nexus 5X General] bblzd:
I believe there are only 3 models of the 5x:

H790 (North America), H791 (International), and H798 (China). They all use the same parts but support different LTE bands. Otherwise identical, and won't get different battery.

There are many, many things that can affect battery life but the version model of the phone is on the very bottom of that list (if on it at all). Which carrier the device is being used with would be near the top, however.

It would be much more surprising to not see this wide range of battery numbers. If we all use our devices differently with different apps, how could we ever expect to get similar battery life?
[Nexus 5X General] croccio:
Hi guys, with my N5x (H791 (International)) i get only 1h30m max of SOT. i use it very low, for example today i''ve done 27m of call and nothing else. now i've 62% of battery. SOT is 35m. is there any config for last it 5h as i've seen in this thread? i've 3g enabled, and nothing else. thank you.
[Nexus 5X General] lyall29:
I just got this phone on Monday this week, and battery life sucks. I have not rooted the phone yet because I wanted to stay stock for as long as possible, but I think I will have to go ahead and root the phone and try a different kernel.
[Nexus 5X General] bblzd:
If you mostly do phone calls, why do you expect to have long screen time? Phone calls are an example of a battery drain that does not use your screen, therefor the more phone calls you make the less screen time you can expect.

If the main use for your phone is voice calling and you'd like your device to last longer doing so, you can disable things that are not needed for phone calling such as the internet connection.

This might seem like an oversimplification but to get long screen time you do need to actually use the screen a lot.
[Nexus 5X General] Javi22:
I was thinking of buying 5x but I was afraid of battery

I heard people saying there was 3h sot or so....And I came here and see things like this

that stats are pretty good. Do you have google now or location on?

I am being convinced of buying seeing these stats xD
[Nexus 5X General] bblzd:
Yea I've kept most of the features enabled. Google Now + On Tap with lots of Now cards running rampant, Locations set to Battery Saver mode but the only apps I've allowed Location permission are Google ones (currently: App, Dialer, Maps and Rewards).

The Google features that I don't use are Smart Locks and Trusted Voice. Let me know if you have any other questions. :good:
[Nexus 5X General] Joms_US:
Enroll your device to get N Preview 2. I am easily getting 5 hours SOT with 1000+ mAh usage. Well 6 hours 12 min SOT to be exact =D
[Nexus 5X General] croccio:
yes but i don't think that only 27m and few messages suck 38% of battery. how can i set my phone so battery last more time?

my phone lost 8-10% of battery every hour, also if i dont use it
[Nexus 5X General] Javi22:
That´s good, however I see people with very different opinions...:confused: but I think I will go for it as I really want to try nexus

I guess enabling ok google when screen off drains a lot battery? cause that feature would be really useful for me
[Nexus 5X General] EeZeEpEe:
You do any cloud syncing? Dropbox, Google Photos, etc? I set all those kind of apps to sync via WiFi only.
[Nexus 5X General] lyall29:
[MENTION=7367957]Joms_US[/MENTION], I tried the N preview on my Nexus 6. The problem I had with the preview is, one of my must have apps would not work. I may have to contact the dev and see if it will be fixed. Other than that I liked it.
[Nexus 5X General] bblzd:
Even better with Google Photos, you can set it to only perform backups when the device is charging. :good:
[Nexus 5X General] Joms_US:
Compromise, compromise..

Yes there are compromises so I chose longer SOT with occasional hiccups. At least majority of my must-work apps are working so far.
[Nexus 5X General] croccio:
only google photos, but only in wifi. it's very strange. i've location disabled also. only gmail with auto sync
[Nexus 5X General] lyall29:
I flashed Chroma last night and so far my battery is way better. My battery was dropping at least 15% per hour while listening to podcasts on the stock ROM with no root. Now my battery is only dropping about 7% per hour. I also use a Pebble and Bluetooth headphones so 7% drop is fine for me.
[Nexus 5X General] EeZeEpEe:
Take some battery graph screenshots and try using one of many battery monitor apps to see what's really draining for you.
[Nexus 5X General] vk135:
I want to share my new 5X's battery life in hope you guys might be able to pin point the problem.

First I have google now on but have always listening off for okay google. No ambient display and autobrightness. No facebook or snapchat. Bluetooth and location is on with high accuracy. NFC and wifi calling is also on. I'm almost always on wifi. Pulse notification light is on.

My first link will show my battery life yesterday while the second set is my obnoxious 40% drop overnight today. And it seems like Doze is definitely not kicking in.

I'm really considering to factory reset the phone . https://imgur.com/a/7bSA4
[Nexus 5X General] jimv1983:
I've heard about the Battery Historian but I don't know how to access it.

Plus, doesn't that require a rooted phone?

---------- Post added at 09:12 PM ---------- Previous post was at 09:05 PM ----------

I like Ambient Display but I don't like how it will continue to flash the screen on and off every few seconds when a notification comes in until you dismiss the notification. Notification and wake up the screen once. After that just strobe the LED notification light.
[Nexus 5X General] jimv1983:
Here are my results from a few days ago.

Even with no apps seeming to keep the phone awake too long. Play Services was the worst at 5 minutes. Way more time awake with screen off than I would expect based on what the apps recorded. No streaming audio, no streaming video, no games, no GPS, brightness ~20%, location on with battery saving mode, only a few apps requesting location with "Low Battery Use" (didn't take a screen shot but remember looking at it), no camera usage, wifi most of the day.

I still only managed to get 4 hours SOT over ~12 hours off the charger. Many people seem to be getting like 20-25% more SOT and 3x the time off the charger doing much more power intensive tasks. Bad reception is really the only other thing I can think of but even that shouldn't cause the phone to be away as much as it was.

If I do more power heavy tasks like streaming, GPS, games, more mobile data, etc the SOT goes to about 2.75-3 hours.
[Nexus 5X General] Javi22:
Do you feel that features like: Google now enabled, ok google enabled, ambient display, location in battery mode, nfc on, Bluetooth on (only enabled but not connected), double tap to wake, should be draining too much?

Because I'm looking forward to this phone and I would be fine with 4h sot and ~16h battery life. But supposing those features are enabled.... As I want a fully working smartphone

Will those things kill my battery?

On the other hand I would like to keep location history enabled. But that for sure would kill battery
[Nexus 5X General] bblzd:
With this years Nexus phones Google has something they call the "Android Sensor Hub" which is basically a low power core to handle tasks while the device is sleeping. So sensor based polling adds very little drain to this device, including OK Google hotword detection. Similar to Moto devices.

Hardware functions like NFC and BT will come down to how much you use them. Google Now as well, on its own doing nothing it adds only a small drain but as you layer in the Now cards it will go up. Besides the obvious location based Now cards, I find App based Now cards to drain more than expected.
[Nexus 5X General] Joms_US:
This is my normal usage throughout the day.

24hr-ish power on time, 4.5hrs SOT (browsing, social media, some video playback) + ~2hrs google music streaming on BT via LTE

N DP2 really rocks!;)
[Nexus 5X General] bblzd:
3 days off charger with light usage. Locations disabled, Google now and Ambient on, brightness 0-50%. Stock device.
[Nexus 5X General] EeZeEpEe:
Are you basically using it then placing it down? If not, I don't get how you can get it to doze so much if it was in your pocket.
[Nexus 5X General] dmcttu:
My question: Does Doze occur if the phone is being carried in pocket with a fitness tracker installed (withings in this case) recording your steps?
[Nexus 5X General] EeZeEpEe:
I thought regardless of having a tracker or not, doze only kicks in when the phone isn't moving.

From Android Central's article on Marshmallow features.
[Nexus 5X General] Joms_US:
I thought they changed it now on N. Once you turn off the screen, even when the phone is in your pocket, Doze will start.
[Nexus 5X General] EeZeEpEe:
Yes but the majority of people here have been posting Marshmallow based battery stats.
[Nexus 5X General] bblzd:
Sometimes it goes in my pocket or on my desk. Sometimes it sits in my cup holder in my car. After 3 days it has been in all sorts of situations.

Other then that last night on WiFi I don't see any real Doze periods though, looks like regular old Deep Sleep to me. Deep sleep works independent of device movement and relies on the software installed to not wake it.

Heavy usage example. 24 hours of mobile data (3g/H+) and Locations on High Accuracy, including 1 hour of GPS navigation. Brightness 50-75%. Quarter of the battery remained unused (92% to 17%) for an estimated 4 hours SoT. Signal was around -85 dBm in the areas I checked.

BTW my 5x battery temperature hit 50C while sitting in the sun doing turn by turn GPS navigation. I've never seen it get that hot before, even during gaming. However the device still felt fast and snappy even with the 2xA57 cores disabled. 4x A53 cores at 1.44Ghz is no slouch and I find it very hard to believe any users are experiencing noticeable slow downs after only minutes of light usage.
[Nexus 5X General] EeZeEpEe:
Don't really get what's so different with my usage versus those that get 4+ hours SOT AND 12+ hours of total battery. Yesterday I just used my phone basically the whole evening and got only 3.5 hours SOT and ended with 5%. I can't even get 4 hours SOT by using the phone from full to the end.
[Nexus 5X General] roofrider:
And I just cannot stop Google Play Services from topping battery usage list (when not connected to WiFi), even if I barely use the phone!!! Looks like I have no option but to start using Xposed again. I envy those who get 4+ SOT without having to go to war with Google Services.
[Nexus 5X General] netinetinet:
Chroma rom + EX kernel + Ghostpepper 1.1 CPU governor

24h usage, wifi+3G
[Nexus 5X General] bblzd:
In my experience that's mostly from Location Services. Try either with Device Only mode or with that setting disabled and compare Google Service drain.
[Nexus 5X General] Javi22:
Is it normal that in one night idle, 8h, airplane mode ON, but wifi ON as well, battery drained 3% (mostly by Google play services)

Stock rom, location off, ambient display off
[Nexus 5X General] Donnie Sins:
For me, it always drains between 3-6% in the night in about 8 hours. It doesn't matter if I leave 4G, wifi, location services on or off.. I remember it being about 1% on Kitkat on my Nexus 5, but I simply can't get it that way with my 5X;)

Sent from the Matrix
[Nexus 5X General] suku_patel_22:
For me with wifi, 4g, sync off and location in battery saving, it drains about 1-2% in 8 hrs overnight
[Nexus 5X General] EeZeEpEe:
Wow 1% for the night on KitKat? I was lucky if I got 1%/hour during the night.
[Nexus 5X General] jimv1983:
For no connection to the cell service 3% does seem high to me. I lose about 3% in 8 hours over night with airplane mode off and signal strength in the mid -90's dBm. I haven't tried airplane mode. I'll try to remember to do that tonight before bed and see what I get.

---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------

3% is normal for me for 8 hours. My Nexus 5 on Kit Kat lost between 8-12% in 8 hours.

---------- Post added at 09:44 PM ---------- Previous post was at 09:43 PM ----------

What is your signal strength during that time?
[Nexus 5X General] Joms_US:
That is most likely a myth and on Kitkat? 30 days standby time is impossible. N DP2 had the best battery optimization right now and that will take 5X up to 10 days only. :p
[Nexus 5X General] Donnie Sins:
I'm not sure what my setup was back then, but I remember it being great in standby time. SOT however didn't pass 4 hours, and that is something the 5X can. I'm really curious about N, but I want a stable rom so I'll wait a little longer;)

Sent from the Matrix
[Nexus 5X General] sasank360:
Hey bros. I am back with some stats. Same old setup. MHC19Q PureNexus Rom + ElementalX kernel. Ghostpepper interactive profile.

Usage began at 7:30AM on 20th April and screenshot was taken today (22nd). 2 days 9 hours. 90% used. 4 hr SOT. Phone calls, web browsing

and instant messaging. Occasional camera usage. Good results if u ask me. :good:
[Nexus 5X General] roofrider:
Was your GPS on?
[Nexus 5X General] sasank360:
No. Location services were switched off. I only turn them on when I need them. Like maps or cab booking etc.
[Nexus 5X General] MaLiXs:
really good usage for me

on latest N preview build
[Nexus 5X General] roofrider:
This is what I could achieve today with Device Only mode. There was one reboot to install V4A and a few minutes of light gaming. I'll try with gps completely off too. But I'd be happy if I could get such SOT with location on battery saving tbh, and not turned off.
[Nexus 5X General] khanjui:
Dirty Unicorns v10.1 + franco.Kernel - r8 (default profile/settings)

Daily usage, generally around 30% brightness and used 100% about 40 minute or so. I listened the music 2 hours.

No ****ty battery tweaks, background limiters or something like that. They are totally useless and not worth. Also no Xposed and Viper4Android. If you want to battery life, change the Kernel settings (Just change profile if you don't know much about them). Don't use any battery saver thing. Use Firefox instead of Chrome, don't use Facebook app. I promise you will be happy with your device, much more than before.

I was getting around 7 hours SOT with my LG G2. But around 5 hours with LG Nexus 5X is fine too.
[Nexus 5X General] teo_3:
If you have an idea do help me out.

After my Nexus worked flawlessly for one month, I donwloaded the WhatsApp which I immediately uninstalled cause it asked me for too many permission. After I uninstalled it the mobile rebooted itself!

After that I noticed that the mobile all of a sudden activates a wakelock (Android System), keeps the mobile "awake" and eats my battery.

I wiped cached it but it happened again.

Any idea on what to do or what caused it?
[Nexus 5X General] sfhub:
Was this a "partial" wakelock or just a "wakelock" System does wakelocks all the time but for very short periods of time.
[Nexus 5X General] teo_3:
First time was 6 and a half hours stack on "Awake". Second time for one hour. I performed a hard reset and Set as new the device from the start. I really do not know what caused it. But it is annoying to say the least.
[Nexus 5X General] um.z:
I'm not suffering from anything I'd call 'battery drain', but I've noticed that probably since the April update (I'm on stock, unrooted), Doze doesn't work as it used to before. While before the upgrade my battery life graph would almost go flat during the night - so that next morning I'd have almost the same battery percentage as when I put the phone away - it now discharges continuously when lying around unused.

See the screenshot - that's from last night. Can anyone help?
[Nexus 5X General] Erps-Kwerps:
Pooorest battery

Hello guys!

Maybe you can help me somehow to solve my N5X battery issue.

I've suffered from poor battery just from the start of the phone usage: cat get only 1,5-2 hours SOT max, neet to charge the phone twice a day.

I'm totally stock, done factory resets several times, tried N-beta, then got back to total stock 6.0.1 now.

All the security patches are up to date.

Last night I tried some experiment to see how fast the battery is darining overnight.

The phone was in Safe mode, Battery Saver ON, Airplane Mode ON, Location OFF, Sync OFF.

The phone way laid down on a table, not tuched until morning. It was 92% evening, and 80% in the morning:

Overnight stats are: 12 pct drop @ 1.96 %/hr over 6h8m14.071s

I made a bugreport for battery historian tool, but cannot find anything there.

Unfortunately I cannot post a link for you to look at it, but if anybody sufferred from such a disaster, I would appreciate any advice.

I'm now ready to give up nexus, if nothing helps... :(
[Nexus 5X General] sfhub:
For the settings you gave, you should be seeing 0-1% drop over 6 hours.

With everything turned off and in safe mode seeing that type of drain is probably a bad battery. You probably want to exchange the unit.
[Nexus 5X General] Erps-Kwerps:
I teested with phone off - there is no battery percentage drop when the phone is totally off, so there is no battery self-discharge.

I still hope it is some firmware bug that wil be eliminated in future, because I really like the phone and the camera.

Unfortunately exchange is not possible as I bought the phone through online store from other country...
[Nexus 5X General] Joms_US:
N DP2 powah.. ;)
[Nexus 5X General] sfhub:
I didn't mean with phone completely off. I meant you tested with all your apps/services turned off except stock and you turned off all wireless using airplane mode. Your drain should be very little maybe 0-1%.

For example, a 1year old battery will not have self-discharge overnight if your phone is completely shut off. However, it won't hold charge as well when the phone is running and will drain quickly.

Maybe you can try disabling "OK Google" recognition and turn off Ambient display.

I am not even running in safe mode and I have cell signal enabled and this is my overnight drain on MHC19Q...
[Nexus 5X General] Erps-Kwerps:
I would appreiate if you can make a bugreport in the morning for Battery Historian, so I can compare mine and yours to find any difference.
[Nexus 5X General] ibila:
In the same boat...sometimes doze kicks in..sometime it doesn't. Very annoying.