yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] Sarg92:
I've recently been having bad battery drain for no particular reason. My usage of the phone has remained the same but it just seems to eat through the battery when the device is left stationary on a desk. The phone is dead within 12 hours and about 1 hour screen on time. Phone signal is set to 3G as my 4G signal is weak. I have uninstalled Facebook and other known battery draining apps and seen no real improvement. This has started happening a couple of weeks ago - prior to that, the battery life was great.

I have ran a couple of bug reports through Historian and it shows that I normally have 30-40% unaccounted power consumption with "MEDIA: AudioOffload" topping the wakelocks followed by "GOOGLE_SERVICES: NlpWakeLock". What do these wakelocks mean?

The Historian graph shows that the wakelocks keeping the CPU running all the time whilst the screen is off which could explain the battery drain but I don't understand how this has recently started happening.

Any ideas?
[Nexus 5X General] perceptualdoor:
I'm getting rather ****y battery life...typically 2 hrs sot...brightness is maybe 70%, running pure nexus ROM n elx kernel...where do I start? Drains pretty heavily in standby...I've experienced nothing of this "doze" thus far, it's a bummer cause this is a fun phone.
[Nexus 5X General] EeZeEpEe:
Nope it's the way I go to the app info for battery usage. Even Google Camera I can get a "com." name:
[Nexus 5X General] pankaj554:
Nexus 5 revealed some really weird battery claims. Many folks say battery life is great one day. I have been getting a good 10-15 hours on my nexus 5 so far. But I've always been able to pull long battery life out of my phones.
[Nexus 5X General] bblzd:
The way I see it, high background drain + usage = higher usage drain. The background drain only increases as you use the device as it's no longer being restricted by deep sleep or doze. When you say that you can get 5 hours SoT straight but not over the course of a day, that indicates high background drain.

If you unplug the device from the wall when it's close to fully charged, then let it idle for 1 or 2%, what does your battery estimate as remaining time? If it's less than 24 hours I'd say you have high background drain, this device should be able to idle for multiple days in my experience.

I'm not too familiar with specific wakelocks, but AudioOffload makes me think "OK Google" hotword detection. Just a stab in the dark but you could try disabling that feature temporarily to see if it resolves.

If not, could be some other audio related app you have installed or possibly even that old issue of media files being endless scanned, or a corrupt media file.
[Nexus 5X General] perceptualdoor:
How badly does Facebook/messenger affect sot?
[Nexus 5X General] dmudd:
I just made a thread over in the Q&A forum about this. Pretty much the same thing started happening to me out of nowhere. I have been getting mainly nlpcollectorwakelock and occasionally an IPA_WS wakelock whatever that is. I have been doing anything out of the ordinary.

I have (well had since I've had to disable location services because of the nlpcollectorwakelock) GPS on high accuracy (has never given me a problem before like a week ago), all location scanning settings switched off, and location history disabled.

I've tried determining if it's an app that causes this for me like Snapchat (I pretty much only use this to watch stories) or something else, but I haven't been able to tell. It seems like it doesn't show up until I start traveling and then the wakelock appears and won't go away even with a reboot or with wiping cache and dalvik.
[Nexus 5X General] jimv1983:
If I unplug the device from the wall when it's close to fully charged, then let it idle for 1 or 2% I do get more than 24 hours of estimated remaining time. That's what makes me think it isn't a high background drain issue. Like I said in a previous comment, overnight I drain about .666% per hour It's when I use the phone(SOT) that the estimated time drops VERY quickly. All of this is of course before the recent Facebook/Messenger app updates.

That's really strange. If I go to Camera's battery usage from app info I see the "com." name as well. For Facebook I get "Facebook" either way. I can't seem to test Camera from the battery history screen since I can't get the power usage high enough to have it show up.
[Nexus 5X General] mr5parkle:
i usually lose 3-4% overnight when sleeping. ever since the facebook update, i wake up to about 11-13% battery loss. i uninstalled it and just look at facebook in chrome now.
[Nexus 5X General] perrocaliente:
battery life issues

Alright so I was told to come here with my crappy battery life lol. So here's what it looks like. I never noticed before but kik is raping my alarms. Does anybody know how to find and limit that alarm with amplify? I'd rather not greenify kik if I can avoid it because then I'll lose my notifications and it's a texting app so of course I need notifications.
[Nexus 5X General] jimv1983:
I updated the Facebook apps last night and lost 5% over night(7 hours). Both the Facebook and Messenger app have kept the phone awake for 45 minutes each but that is after 18 hours off the charger. I am currently at 82% battery with 10 minutes of screen on time which is still disappointing considering the low use, great signal most of the day and wifi most of the day.

From what I can tell the newest updates from the Facebook apps improved the issue but haven't totally fixed it. Previously for me the Facebook apps NEVER kept the phone awake.
[Nexus 5X General] sasank360:
Facebook being notorious in keeping devices awake for long periods is common. FB+Messenger apps are about 100mb before installation. And they are very bulky.

I think you maybe aware of this tiny app called FB lite.. which does same thing FB and messenger do. Except it is less than 1mb is size. I use it.. and it also delivered notifications without any trouble.

http://www.apkmirror.com/apk/facebook-2/lite/facebook-lite-1-16-0-150-345-android-apk-download/

That's where you can get apk. It is official fb app. Also available on play store in some countries.

I use S4 Mini. Looking forward to buying 5X or galaxy S6. Still undecided. :)
[Nexus 5X General] queerquirks:
Anybody tried the LinkedIn app? Losing extra 5% overnight (4% to 9-11%), it's the only new app installed in the last 3days. I uninstalled fb and messenger awhile back
[Nexus 5X General] jimv1983:
That's strange. Until the recent update I never saw either one on the Facebook apps keep my phone awake. As for your next phone I recommend the Nexus 5X. I would never buy or recommend a Samsung phone to anyone.
[Nexus 5X General] ulxerker:
word :good:
[Nexus 5X General] bblzd:
Mobile data usage

In the future I will use this to compare my weak data signal's (about -100 dBm) impact on battery life as I've noticed that despite the graph showing mostly green the radio can use over 2x more battery. But first: strong signal mobile data (about -70 dBm). 100% 3g/H+ as my network does not offer LTE currently, with the following parameters:

Software: Stock 6.0.1, no root access. Dashclock and Feedly widgets.

Enabled: Google Now + on tap, Ambient Display, OK google Hotword detection, Google Imprint and Backup, syncing and notifications. Brightness roughly 40%.

Disabled: Locations, NFC, BT, WiFi, vibrations, Adaptive Brightness.

Screenshots with app details can be found in the full album.
[Nexus 5X General] EeZeEpEe:
Really amazing battery life and that was with WiFi off. Which popular 3rd party apps do you NOT have installed? Gotta give it a try.
[Nexus 5X General] WarlockMaggot:
My 5X is pretty terrible. I'll use it for about 45-60 minutes after taking it off charge and it'll be at 80%; I'll go to work at 8am and not really touch it all day and be on 10% by 3pm.

Phone that needs charging twice a day might be going to eBay soon.
[Nexus 5X General] ulxerker:
thats absolutely not normal ... check for background activities/apps/syncs and maybe you have a weak signal at work, which also drains a lot.
[Nexus 5X General] jimv1983:
That's about typical in my experience. On wifi, ~20% brightness, great cell reception, no GPS, no games, no video(local or streaming), no audio(local or streaming), no camera, Bluetooth off and just browsing and facebook burns about 20% battery per hour.
[Nexus 5X General] 2x4:
I'm a bit disappointed myself since battery life was terrible for me until i rooted and modded a ton (xposed, greenify, naptime, boot manager, EXKM), at which point i was able to get my phone to last through the day easily. This sounds OK but I SHOULDN'T HAVE TO MOD to achieve ACCEPTABLE PERFORMANCE/BATTERY LIFE.

My old OPO was ok stock, and after modding lasted me 1.5 days, with normal usage. N5X won't last me like that, AND it lags.
[Nexus 5X General] oeusr:
Are you guys on stock? I'm using Franco and cataclysm and I lose about 10% battery for 45 minutes of SOT. Location, Google now, snapchat, all used. No Facebook app though (use tinfoil). Will drain faster if I listen to music or use Android wear.
[Nexus 5X General] ibila:
With stock root and greenify I get 30 minutes SOT for every 10%. With pure Nexus rom I get 10 minutes more. I don't think you can expect much more from a 2700mah battery.
[Nexus 5X General] oeusr:
Agreed! Which I think is pretty good without eliminating features
[Nexus 5X General] jimv1983:
I am fully stock. No root. No unlocked boot loader. Just like it came out of the box.
[Nexus 5X General] ulxerker:
Exactly ... also, there is a great standby time if you don't us it much. In my case it lasts for up to amaizing 5 days!
[Nexus 5X General] bblzd:
Weak signal mobile data example

Same settings however this example is with weaker signal (about -100dBm). Looking at the colour under the graph it would be hard to tell how weak the signal really is, mostly green with just one small red area and 1% signal loss showing under Cell Standby. 40 minutes of screen usage and the device mostly sat motionless on my desk.

So compared to 5+ hours SoT it would be closer to 2 just because of a weak data signal that doesn't even seem much worse.

If you let me know which apps you mean possibly? Otherwise I can say I don't have facebook or snapchat apps installed.
[Nexus 5X General] perceptualdoor:
I'm running pure nexus ROM and downloaded greenify yesterday...I'm still lucky to get half that much SOT...what could possibly be going wrong?
[Nexus 5X General] perceptualdoor:
I'm really stuck here, battery should not be this crappy...any other ideas? What useful info can I provide for you to better help me? Thank you kindly.
[Nexus 5X General] tacofromhell:
Download BBS and see if you have any wakelocks that keeps your phone awake.
[Nexus 5X General] perceptualdoor:
PowerManagerService.WakeLocks (1h37m) is the only thing I see...what am I looking for really?
[Nexus 5X General] tacofromhell:
What about partial wakelocks?

You are looking for apps that keeps your phone from sleeping properly
[Nexus 5X General] perceptualdoor:
Spotify at 28 mins is at the top of the list...nothing crazy it seems...
[Nexus 5X General] jimv1983:
Why even bother having a smartphone at all? Seems like you don't even use it.

Based on one of your earlier comments you have your brightness at 70%. That can really kill battery life quick. I usually have my brightness at like 20%. Also, what kind of cell reception do you get? If the "Cellular network signal" bar under battery details has a lot of time being anything but green then that will drain battery fast too. And don't forget that a 2,700mAh battery is pretty small for a 1080p IPS LCD screen.
[Nexus 5X General] domrin123:
Insight into battery life problems?

Hi, my battery started draining terribly a few months ago.

Here is a historian report of leaving my phone alone while asleep. As you can see - 30% drain while doing nothing, even while having doze on!

imgur.com/a/DZLoe

The first part of the night, wifi was off. The second part, I turned on airplane mode to make sure it wasn't any radio related drain. It didn't seem to change the drain at all.

I'm running stock android, unrooted. When doing general browsing/reddit I can get up to 20% drain per hour which is clearly insane.

Does anyone have any insight into the problem based on my report? I think my last resort at the moment is to wipe and see if it makes any difference.

Thanks for any help :)
[Nexus 5X General] tacofromhell:
20% drain / hour is pretty good, thats 5 hours sot
[Nexus 5X General] perceptualdoor:
How do I fix cell network signal? It's mostly orange and yellow, what does that mean?
[Nexus 5X General] ppaasseeii:
Yep I had the same. The battery was clearly miscalibrated for me. I flashed stock again (without wiping) and it got fixed. Maybe it was root, maybe it was the custom kernel, I don't know. But it seems you are stock so that's weird.
[Nexus 5X General] bblzd:
It would be network related. As a user the only way would be to go relocate to an area that has better signal.

My last example showed how my work place signal which is still mostly green, lowers my SoT to about 2 hours versus 5+ with a strong signal under otherwise similar conditions (using mobile data).
[Nexus 5X General] jimv1983:
If it's mostly orange and yellow then that is most likely your problem. After the screen a weak signal will kill your battery the fastest. If it's really bad (orange and red or no signal at all) it can even be worse than the screen.

There is a SMALL chance that the problem could be a hardware defect but the most likely cause is just that your carrier doesn't have good coverage in your area. The most likely solution is to change carriers. Who do you have now?

---------- Post added at 08:49 PM ---------- Previous post was at 08:44 PM ----------

Not very good when you consider that is a total of not much more than 5 hours total off the charger. If it was 5 hours SOT and like 18 hours off the charger with a mix of real world usage then 5 hours SOT would be great. 5 hours SOT over like 5.5 or MAYBE 6 hours off the charger on wifi the entire time with great cell signal and only browsing isn't good at all.
[Nexus 5X General] perceptualdoor:
I work in a warehouse all day, I'm guessing that has something to do with it...I have Verizon n never had an issue with bad service...
[Nexus 5X General] jimv1983:
Yeah, being in the warehouse all day could be an issue. I've heard that T-Mobile uses frequencies that are good at penetrating buildings so if T-Mobile is good in your area it might be worth looking into. Also, if your work has wifi then you could use T-Mobile's wifi calling feature and just turn on airplane mode at work but I'm not sure if the Nexus 5X works with T-Mobile's wifi calling.
[Nexus 5X General] jimv1983:
It's hard to believe that going from dark green to light green(still pretty damn good) would cut the SOT time by more than half. Was there anything else that could have made a huge impact?

In the 9 hours I've been off charger and 1 hour 20 minutes SOT I'm currently at 60%. My cell signal was yellow for like 5% of the day, dark green for like 20% of the day and light green for the other 75%. All estimations by eye of course. Cell Standby shows as taking 0% and using 21mAh of battery.
[Nexus 5X General] EeZeEpEe:
I kind of gave up on trying to get 4+ hours SOT with 12+ hours total battery. After three months with this phone, I still miss being able to swap batteries so I got this for those days when I just don't want to worry about how I use my phone.

Anker Powercore+ 10050 paired with a short 1ft iCambond USB-A to Type C cable
[Nexus 5X General] duckxtales:
i was able to fit a 3000mah LG G2 battery into the 5x. its working so far. only issue is there is a slight bump when adding a Qi charger coil to it. battery mod requires desoldering off the 5x battery ic board onto the G2's battery.

its an extra 300mah, so safe to assume an extra 11% increase in battery performance?
[Nexus 5X General] domrin123:
Apologies, just checked my stats. Drain while screen on is around 32% which IMO isn't right. Whatever is contributing to my drain while dozing must be contributing to drain while screen is on. I can't get through a 12 hour day with only a couple of hours SOT :(
[Nexus 5X General] perrocaliente:
that's amazing. Do you have a tutorial of what you did?
[Nexus 5X General] EeZeEpEe:
Crazy mod! No bump if you didn't put the wireless charging coil I'm guessing?
[Nexus 5X General] perrocaliente:
Kinda just proves how lazy/cheap Google/LG is when that battery fits right in perfect basically. Phone shoulda had 3000 not this ridiculous 2700
[Nexus 5X General] bblzd:
Nothing else that would have much of an impact, the phone sits motionless on my desk for most of the day at work and always drains like that. You can see even my email sync (Exchange Services) on the list which I never see draining battery otherwise, and just loading and reading one article from Google Now with Chrome drops the percentage noticeably. At the very end of the graph where the line straightens out completely is when I left work.

One thing I can say for sure is the colour of the graph is not representing what the signal feels like in my work building. My SMS occasionally bounce and have to be resent, web pages sometimes take forever to load, uploading a picture usually fails and the signal seems to come and goes in waves throughout the day.

Basically the graph colour can be quite misleading, in the same way that "bars" in the status icon can be as well. True signal levels as seen in Settings > About Phone > Status > Sim Status are accurate though. My work is around -93dBm to -100dBm, where as most other places that I see solid green are closer to -70dBm. As dBm goes up the drain goes up exponentially, so it wouldn't be 30% more drain but closer to 100% or more.

Anything close to -100dBm is bad signal but the graph and bars won't indicate as such. I'm assuming it was designed this way based on average signal levels in the U.S. From what I've seen, -90dBm or higher is normal for most people so the bars and graph colour are calibrated in a way to consider that average. So it goes from green to yellow to red with a very small range of signals, and anything better than -90 basically just becomes solid green.
[Nexus 5X General] jimv1983:
Imagine what the size of the battery could have been if the phone was just a little thicker.
[Nexus 5X General] EeZeEpEe:
8.0 mm thickness is the sweet spot for me for a phone personally.
[Nexus 5X General] jimv1983:
The Nexus One was 11.5mm thick and I was just fine with that. Even like 9.5-10mm would allow for a noticeably larger battery. I'd say maybe a 3,400mAh.
[Nexus 5X General] EeZeEpEe:
The Nexus One was also only a 3.7 inch screen so that thickness didn't feel like much. 3400 mAh in a 5 inch screen phone would be pretty impressive especially when most 5.5 inch ones don't have that. I'd probably go 9.0 mm if it gave me that much battery or close to it.
[Nexus 5X General] jimv1983:
But it seems pretty clear that just because a phone has a certain capacity battery doesn't mean it couldn't physically fit a higher capacity battery. Look at the previous posts about the 3,000mAh battery from the LG G2 fitting in the Nexus 5X. And that is coming from a phone that, while 1mm thicker than the Nexus 5X, is smaller overall. If the G2 was able to fit a 3,000mAh battery then the Nexus 5X should be able to fit even bigger than a 3,000mAh battery without being any thicker. Imagine the capacity of the battery that COULD fit in a phone 9.5mm thick. 3,400mAh really should be no problem.
[Nexus 5X General] EeZeEpEe:
I agree. However, technically the G3 is a "bigger" phone in terms of volume if you multiply the dimensions (Yes I know these devices aren't perfect boxes. Just saying). Probably one of the reasons the 5X is a lighter phone. Thickness makes all the difference.

G2 above and the 5X below

That being said, I would take the G2 dimensions over the 5X. ☺
[Nexus 5X General] olivercervera:
Has anybody been able to defeat IPA_WS?

This is killing my battery every 24/48hrs.

I tried to disable Mobile Broadcasts services, no luck. I have frozen the app. No luck. IPA_WS still here.
[Nexus 5X General] robstunner:
If you could give a brief how to on how to get this done, I might actually buy a 5x and do this. I dont care about the qi as much as that extra 300mah!
[Nexus 5X General] _jordan_:
I think the battery life sucks just as bad as the 5 to be honest.
[Nexus 5X General] Evo_Shift:
I would get rid of s health and see how it goes. My wife's note 4 battery drained like crazy with that app enabled even though she didn't use it.
[Nexus 5X General] rgerrans:
Having come from 5 years on the original Maxx then Droid Turbo, my $.02 is that it really depends on how you use your phone. If you are looking for max SOT in a single day you should be buying the Turbo. If you are a more casual intermittent user then the 5X should be fine. Based on my first day of usage, with unplugging around 8:00 am, podcasting on the way to work, a couple of phone calls and other minor usage (30 minutes SOT), at 2:00 I'm looking at 77% of my battery left and a projected run time until 10:00 am tomorrow. My Turbo would usually be at about the same point at this time in the day with similar usage (obviously w/ 5.1 and no Doze which will make the Turbo a 3-4 day beast once it gets 6.0)

I was pretty nervous since I was so spoiled with the larger batteries, but in my first 24 hours I couldn't be happier. Obviously on a heavy travel day with lot's of gps, remote email checking, etc. I won't see the same usage I would out of the Turbo but with the fast charger (charged 90% last night in less than an hour) doing a quick mid-day topoff won't be much of an issue. I'm willing to make that trade off for the thinner / lighter / faster / more updated Nexus. We'll see if I still feel the same way next week when I have one of those travel days coming up ;)
[Nexus 5X General] jbdan:
Battery life is looking good for my 5X I've already had 5+ hrs SOT in about a 18hr day. Have had it 2 days now
[Nexus 5X General] nyjumpman:
I've been less than impressed thus far too. Very rapid drop in battery life though I've really been hammering it hard with usage in these first two days

Hopefully it improves or I may consider returning
[Nexus 5X General] km8j:
Screenshots?
[Nexus 5X General] nyjumpman:
Attachments included
[Nexus 5X General] szucsgf:
Loving this phone. Mostly WiFi at home, some LTE commuting to work. Location high accuracy, voice always on, ambient display, etc, basically all the battery draining stuff on except Bluetooth and NFC. This is the first battery half cycle on this phone.
[Nexus 5X General] strongergravity:
Any... You young people, up at 7 and staying up past midnight...the good old days. Battery life isn't as important when you can't make it past 10pm! :)

Seriously, I've been getting OK battery life, but I've been playing with it a whole lot since I got it yesterday.

I also had to order a longer charging cable too. The included one was shorter than I expected.
[Nexus 5X General] clninja:
Has anyone seen this? What is 10106?
[Nexus 5X General] FoleyRose:
I've also had an app with numbers like this in my battery stats. I can't remember if it was the same numbers though.
[Nexus 5X General] big_b0sss:
Hello again, on my 2nd charge cycle and looks lot better than the 1st one finished the day off with 37% battery left, got rid of the shealth app. I do want to keep track of my steps any suggestions for any alternative battery efficient app to do that instead of using shealth.
[Nexus 5X General] aamir123:
Not that impressed on my second day hopefully I can reach that 5 hours like others. Any advice would be appreciated.
[Nexus 5X General] mademan420:
Not sure if its as bad as Shealth, but Google Fit maybe?
[Nexus 5X General] leppo:
I had my sim in my other phone today, so this is only with WiFi on. Did some browsing, kindle app reading, and a bit of podcast listening.

- ambient display off

- high location accuracy

- screen brightness almost at lowest

- Bluetooth and NFC off
[Nexus 5X General] nyjumpman:
Phew, doing a lot better on the 2nd charge, I was getting worried there for a second :)