yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] cribcaged:
Hi guys, I think I have a problem with the battery of my nexus 5 :/ today at 18:00 it was 100%, now at 23:00 is at 10%.. so 90% of the battery in just 5hours, in this 5 hours didn't I use it too much, just standard commuting from work (music and maps), some games (few minutes really) and usually stuff (internet, facebook, twitter, etc..).

What can be? it doesn't seems that there is something going on in particularly :/

Screenshots are attached.
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
Gravity Screen is not a battery friendly feature as it's constantly polling your sensors and enabling your screen. Try disabling it and compare then.

That seems like normal usage to my untrained eye (I'm better at analyzing stock screenshots than GSam lol). 3 hours of SoT is the most people can hope for with battery draining features enabled, using social media apps such as Tinder and Facebook and using bluetooth and a data connection. You won't be able to get much standby time if you're using most of the battery up.

Also I noticed you had both WiFi and data enabled at the same time, "double dipping" as I like to call it. One of the easiest things you can do to save battery is to disable your WiFi when you're using a data connection.

This stuff is covered in the beginning of this thread. Please go back and read Page 1 again as you may have missed some of the basic tips there.
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Hmm. FB honestly is bad for battery. Get rid of it and reassess. Also turn your animations off if you're on a 5.0.1 ROM.
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
I have my animations enabled on stock 5.0.1 and am not currently experiencing any memory leak issues., though I was on 5.0.0 and have since removed some 3rd party background services. I think the memory issue might creep up on users with lots of 3rd party background services as all the screenshot I've seen from affected user's Running tab have multiple 3rd party services stuck in "Restarting" status.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Mine boots up with system using around 200mb, then over a day it goes up to 400mb, but then it doesn't go up any further, even when I went a week without a reboot.
[Nexus 5 Q&A, Help & Troubleshooting] Thakis:
ty bblzd for your feedback

I added a new screen, you can see there that without whatsapp+ and facebook+messanger I have also a battery drain. (sry, i forgot to deactivate gravity -.-")

Have you other reasons except gravity, why my battery go down soo extrem fast?

ps. I used Euphoria and ElementalX again.

Edit: the We-are-one-app closes itself after 15min
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
How long does your battery last if you keep the screen on continuously until it dies?
[Nexus 5 Q&A, Help & Troubleshooting] Thakis:
I have absolutly no idea, why?

What I can say is that with Catalysm and ElementalX I had a longer batterylife, also when my screen was always on, but with Euphoria and various kernels I have not so long time.
[Nexus 5 Q&A, Help & Troubleshooting] :
With all those social apps, and whatsapp topping your usage list, and Facebook and messenger... I'd suspect you'd get mediocre battery life unfortunately.
[Nexus 5 Q&A, Help & Troubleshooting] :
In 5 hours you didn't really use it? You have 3 hours screen time. Lol

Based on what you've said, and if you have auto brightness on, I'd say your battery life is normal, for your usage/setup. ?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Because if, as a last resort, you're trying to see if your battery has a physical capacity problem, leaving the screen on and doing nothing will rule out any sort of wake/sleep issues, as it is continuous use.
[Nexus 5 Q&A, Help & Troubleshooting] Animec:
Quick question:

Is there any reasonably simple way to either disable multicasting entirely or to ferret out and break "multicastlock"?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Post 3
[Nexus 5 Q&A, Help & Troubleshooting] Thakis:
But why i had this problem with catalysm and code blue, too. But with catalysm and with elementalX not?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
The kernel has absolutely nothing to do with application wakelocks. Kernelspace is separate from userspace.

The ROM does not affect 3rd party application wakelocks either, short of having a feature to block specific wakes.
[Nexus 5 Q&A, Help & Troubleshooting] Thakis:
I believe you, when you say this, but i hope you can understand me, that im confused because i have very different batterylifes with the same apps and settings, only different rom and kernel combinations.

Edit: at the moment i test how long my screen can be on, without wlan and running apps.
[Nexus 5 Q&A, Help & Troubleshooting] Animec:
I must be missing something very obvious... which part of post 3?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
Just wanna update u guys

I had quite impressive standby battery time

Not sure about the sot, around 2 hr max.

Let me know ur feeling about it
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Because your apps decided to wakelock at that particular time.
[Nexus 5 Q&A, Help & Troubleshooting] Falco33:
Anyone who can look at this please?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
All I see is social media apps and music.
[Nexus 5 Q&A, Help & Troubleshooting] Parideboy:
Mediaserver ate like 20% of my battery and worked in the background for like 30 minutes. How d9 I fix this?

Inviato dal mio GT-I9505 AICP 5.0.2
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
CM12 elementalx can't get more than two hours SOT!

All greenified, no gps, low brightness, sync off...

Please help me I don't know what elseto do!
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
You do not want to greenify everything. The only I can see from your log is your phone was awake for no good reason. I don't see any partial wakelocks that looks out of place so the only idea I have is reset your greenify app and only greenify apps you know are causing severe wakelocks like social media apps. You do NOT want to Greenify everything.
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
So anything with GSM on it?
[Nexus 5 Q&A, Help & Troubleshooting] rye&ginger:
Bad battery life the past week

Hi, I cannot figure out what is causing the drain issue I'm having. Here are some logs and SS.

It started about a week ago when I stayed at hotel for a few days, apps were updated there too such as Play Services.

SInce I got back 3 days ago, the drain has continued. Seems to be wifi related but also had high drain on a celuar related wakelock.

What I do notice is system is always using CPU cycles in the range noted on that SS.

Hope someone has some ideas of what to try, cheers.
[Nexus 5 Q&A, Help & Troubleshooting] :
Turn WiFi on all the time. You've got it set to turn off when screen is off it looks like? That alone will likely kill more battery then it saves...

But also, while your WiFi was off, your signal was bad and your battery got hammered.

Try WiFi on all the time. And/or toggle data off when in bad reception areas.

To me it looks like this is your big issue. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
I'm not great with BBS, which is why I personally recommend the far simpler to read Gsam, along with gsam root companion. ?

But it appears to me that play music and light flow could be causing issues.

And you may have the WiFi bug that happens with certain routers. You'd need to try another router or try data a day, if your signal is good....to test.

Again, my advice is shaky... BBS is pretty foreign to me.
[Nexus 5 Q&A, Help & Troubleshooting] rye&ginger:
I'll try disabiling light flow for now. The Play Music use was during driving and it was connected to BT and downloading the music over mobile, so I dont think its an issue. I will check out the router too, but it was just fine up until a week ago.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
What does GCM have to do with the apps that cause wakelocks often?

GCM is Google Cloud Messaging, Google's method for sending push notifications. That's all it means.
[Nexus 5 Q&A, Help & Troubleshooting] Falco33:
I tried uninstalling Facebook but that didn't help... :/
[Nexus 5 Q&A, Help & Troubleshooting] :
My wife has my old moto X. My average screen time was over 6 hours. Same exact setup, she gets about 4 1/2 hours. The difference is all usage. She uses Facebook a lot and plays games a little. That's it. And our screen time average is nearly a 2 hour difference.

I think people under estimate how hard social apps and even light gaming can be on battery life.

3 hours is likely the average screen on time on the N5 from what I've seen. People with less could have battery hungry usage and an unfriendly setup for battery. People with more have a more battery efficient setup and their regular usage is easy on the battery tasks.

Many think they have problems, when they don't. It's just their usage and setup.

All I ever use is xda apps, some browser and texts. And my setup is very lean... So many, even in the M8 forum chase after times like mine... When really it's hopeless, cause their usage style is far harder on the battery than mine is. Yet they keep chasing.

Comparing times with each other is almost useless really. ?
[Nexus 5 Q&A, Help & Troubleshooting] n1234d:
Hey, [MENTION=4036181]Darth[/MENTION], how long do you think a battery should last in good condition? An approximate amount of time or maybe number of charge cycles? I have the m8 too, and now, after 9 moths of usage, I don't notice any decrease in the battery performance, still get about 5 hours of screen time, which I'm satisfied with.. I charge once in around 15-18 hours, sometimes more or less depending upon usage. Looking at all the battery problems in the n5, do you think that all those hardware problems *should* occur in the next year or two?
[Nexus 5 Q&A, Help & Troubleshooting] rye&ginger:
Here are some Gsam SS from today. Still having the issue of something keeping the phone awake so its not Light Flow it seems. Cheers.
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
Can someone help me by explaining why these two images show different levels of 'Active'?

Thanks in advance
[Nexus 5 Q&A, Help & Troubleshooting] Luka12:
your signature link doesn't work :(

[Battery Life Help] Troubleshoot Battery Issues Here....and Tips
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
You are in the right thread lol. That is this thread
[Nexus 5 Q&A, Help & Troubleshooting] :
I haven't read about many batteries gone bad for the N5. A lot of times people say they think they're battery is going...only caused they don't know they have a drain issue, or they can't solve it and blame the battery. [emoji6]

My S2 battery still is as good as day one after all this time. [emoji106]
[Nexus 5 Q&A, Help & Troubleshooting] :
4hrs and 31minutes screen on time. is my battery good? no wakelocks, pure wifi for net and facebook, some games. location is 100% off, 2g signal since 100%, sync 100% off.
[Nexus 5 Q&A, Help & Troubleshooting] :
As soon as you say Facebook and some games..... I'd say 4 1/2 hours of SOT sounds pretty good. [emoji106]
[Nexus 5 Q&A, Help & Troubleshooting] :
is that so because i'm really jelly to people with 6>hours sot :silly: anyways, my decision is now final to change my n5's battery :D thanks, btw.
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
That is pretty good!
[Nexus 5 Q&A, Help & Troubleshooting] Greatday1:
I hope this is not too far off-topic but I couldn't think of a better place to start, or be re-directed by everyone as needed! Coming from KK I have always had a tasker profile disabling Locations (using secure settings) when the screen is off and re-enabling it once the screen is unlocked. This has always allowed me to keep those pesky NlpWakeLocks away and still give me all my bells and whistles. Now I find myself on Lollipop and while the same profile still works the wake-locks have reappeared! The strange thing is that toggling it by hand kills the wakelocks but secure settings doesn't seem to do it albeit it does change the settings successfully. Any ideas would be appreciated!

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Falco33:
Darth, is it normal for a Nexus 5 to randomly reboot, and the battery percentage increases without a charger connected? Also, it happened multiple times now that my nexus shutdown, and I couldn't boot it up because it gave me a red blinking light.

I'm pretty sure something is broken with my nexus. Should I get it replaced?
[Nexus 5 Q&A, Help & Troubleshooting] rye&ginger:
It might be that wifi scanning location option? wifi > advanced settings.
[Nexus 5 Q&A, Help & Troubleshooting] Thakis:
So, i tested my onscreentime from 2:39pm with 100% battery until 11:43pm with 19%.

My Wlan and other apps were closed during this time. So I think its a good result, isnt it?

On the three new pictures you see my "tests" from the last three night. I had always the same gapps and apps.

Maybe I'm too stupid but I dont understand why my battery goes down 0,6%/h with catalysm and on euphoria 2,9%/h and 3,4%/h.

Some say my social apps are the problems, but catalysm dont care these apps.
[Nexus 5 Q&A, Help & Troubleshooting] -sheldor-:
Hi, I can't figure out what´s the problem with my phone waking up every few minutes. No matter if I lay it down with display on and waiting for it to go off or if I lock the screen using the power button.. after a few minutes the display is turning on, without any notification (email, sms, whatsapp, facebook and so on) received.. it just turns on out of nowhere, so it seems.

My setup:

Cataclysm ROM Feb-19 (just flashed five days ago)

Code-Blue Kernel

location completley off

GNow off

Display screenout time 1m, Auto Brightness (20-25%), dt2w disabled

Signal Strength: Good at work, bad at home (has no effect on the issue I mentioned)

Wifi: off at work, on at home (no effect on my problem)

Began to disable the ability to "Keep awake" for some apps (app ops) after the I recognized the wakup-thing.. no effect​

I couldn't find any relations to apps or specific times or situations the issue appeared.. though the screen-on-times are short in these situations, it can be perceived in the gsam-screenshots I attached.. maybe the wakelocks can tell you guys what's the problem there.

Thanks for any information,

Regards
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
Have you tried

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector

To help identify the wakelock?
[Nexus 5 Q&A, Help & Troubleshooting] -sheldor-:
No.. but does it really show information that gsam doesn't?
[Nexus 5 Q&A, Help & Troubleshooting] :
Gsam or wakelock detector both show wakelocks if rooted, you're fine.

But I don't see anything odd that would cause that. Could be an app causing it, but gsam won't really help with that.
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
For me it shows the names of the wakelocks.

What phone so you have. It might help some of the experts
[Nexus 5 Q&A, Help & Troubleshooting] -sheldor-:
What phone? Nexus 5 ofc..

Okay, thanks.. then I'm trying to deactivate app by app to find out what's causing this.
[Nexus 5 Q&A, Help & Troubleshooting] Greatday1:
Thanks for the idea! I tried it but it really appears to be related to either secure settings or Lollipop that for some reason the "physical" toggle works different than the secure settings one. Perhaps there is an alternative app?
[Nexus 5 Q&A, Help & Troubleshooting] lchazl:
Hi guys, been having not great battery life on stock 5.0.2 so I decided to switch to xTraSmooth rom with Franco Kernal. Helped but not much, getting just over 2 hours of SOT.

All location turned off, GNow off. I am in China and google is blocked here (sometimes emails and hangouts messages eek through without my vpn turned on) but what I'm concerned about is the exclamation mark always on the wifi and signal icon meaning it can't connect to google. Is this hurting my battery life because of repeatedly unsuccessful connection attempts?

Why I posted here: Full charge and Wifi at 12a, unplugged and went to bed. woke up at 7:30a with 65%. Hmmm?

Edit: Solved, issues with being in CHINA http://xdaforums.com/showpost.php?p=58252752&postcount=38
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 3 should likely help you. Read it carefully and it might control the Google play services wakelocks.
[Nexus 5 Q&A, Help & Troubleshooting] lchazl:
Ok thanks, I just turned off google sync completely along with wechat to see if that would change things.

Edit: Solved, issues with being in CHINA http://xdaforums.com/showpost.php?p=58252752&postcount=38
[Nexus 5 Q&A, Help & Troubleshooting] Sanjay Varma:
My Nexus Battery Status

Nexus 5 (16gb)

Rooted : NOPE

Using any battery saver apps : NOPE

Andriod : Lollipop 5.0.1

Brightness level was : 2/10 (Manual)

Location Service was : Turned off

Connected to : DataNetwork/Wifi (through out the test)
[Nexus 5 Q&A, Help & Troubleshooting] :
I see no issue for you.... Seems pretty good.

Did you have concerns? That's what this thread is for. The battery thread in general is for sharing results. :)
[Nexus 5 Q&A, Help & Troubleshooting] Sanjay Varma:
Yes I do ! This is what I'll get out from my Nexus 5 ? . I tied my hands myself trying not to install any apps to avoid battery drain :(

Can you let me know the Maximum out put readings you have noticed though out this thread ?
[Nexus 5 Q&A, Help & Troubleshooting] :
It all depends on your setup and what you do while using your phone. You can't expect to get the best average times unless your setup is very battery friendly (see post #2) and unless your usage is very battery friendly. Many apps/activities use more battery than others.

All that said, you have no extreme wakelocks, and 4 hours screen time is probably at or above the average for the majority.

Again, if you have any issue, it'll be setup or usage related. Not from wakelocks or drain issues. ?
[Nexus 5 Q&A, Help & Troubleshooting] Sanjay Varma:
That does make sense, now I can live with it ;)

Once again thanks for your reply in a very short time :)
[Nexus 5 Q&A, Help & Troubleshooting] Zalligan:
Hello all, I'm getting pretty terrible battery life, and have been ever since 5.0 came out. For reference, I used to get 4-5 hours SOT on KK. I've done the standard tweaks to increase battery life and not much seems to make a difference. Pretty frustrating having to have a charger nearby most of the day. The screenshots just show my use over the last hour or so, started at 100% fully charged.

Rooted on 5.0.1

Edit: Screen always on dark, location set to device only, reporting on(if I turn this off can I still locate my phone via device manager?) , history off. Using Nova Launcher so no gnow however I have a gnow widget on my 2nd page.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
This looks like a defective battery. Might wanna look and see if your battery has any physical issues like expansion. Try setting your screen to never turn off, then leave it for a while without touching it and see how long it lasts.
[Nexus 5 Q&A, Help & Troubleshooting] Zalligan:
Dang, that's what I was afraid of. I'll give that a try this evening. I should also note that it only takes an hour to an hour and a half to show full charge from dead, which seemed odd when I started noticing it as IIRC it used to take much longer.
[Nexus 5 Q&A, Help & Troubleshooting] Penemue:
My first post here, hello.

I flashed 5.0.2 OTA file to my Moto G (1st Gen.) when it first came out. Until last week, I was able to get 2 days with minimal usage on it. Since last week, I need to charge it every 20-24hrs even if I don't use it at all. I know it is still not that bad but I'm bugged about this sudden change. I suspect I'm affected with that infamous "mobile radio active" bug a alot of users experiencing. Here is some screenshots to clarify things.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Charging speed depends on the charger, with a good one you can charge up the Nexus 5 in 1.5-2 hours.

---------- Post added at 10:13 ---------- Previous post was at 10:12 ----------

Look at your fourth screenshot, you have a wakelock keeping your device awake while your screen is off. Post screenshots of your app wakelocks.
[Nexus 5 Q&A, Help & Troubleshooting] Zalligan:
Sorry, shouldve specified, that's charging from a USB 2.0 on my laptop which typically charges pretty slow. I think my battery stats may be wonky sonehow. Today I ran a twrp backup with 70% battery, restarted the phone, and it was at 40% when it booted back up. I then let it sit at my desk and when I looked at it again, it had climbed to 62%, all the while not being charged.

This makes me wonder if my phone may show 100% but in reality be at 50% or something, making the battery seem like its draining twice as fast. Not sure if that's possible. Did a wipe in NRT and factory reset, now up and running with minimal appa to see how it works out.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Battery stats are an estimation, the sudden drop and random gain was a recalculation.
[Nexus 5 Q&A, Help & Troubleshooting] :
Strange though.... Gsam says he has 10 minutes of awake time, but the stock graph disagrees.

Curious to see what app wakelocks are. Maybe stock awake time includes kernel wakelocks, where I don't think gsam does.

(just noticed the name change. ?)
[Nexus 5 Q&A, Help & Troubleshooting] Zalligan:
Update: Earlier I put the phone in airplane mode and set the screen to not time out. It got about 1.5 hours of SoT using only 30% battery so that was promising.

I have now flashed stock, unrooted, factory reset, rooted and custom recovery, nova launcher, location set to device, location services off, fit/hindi and other languages disabled, sync set to bare minimums (gmail, contacts,etc) no social media apps, and manually toggle BT and WiFi. Here's some new screenshots after updating google apps.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Yeah I found that conflict too. Stock graph includes all wakelocks I think, including kernel ones.

And yeah I had it changed lol :p

---------- Post added at 13:15 ---------- Previous post was at 13:11 ----------

Hmm. Leaving the screen on seems to give you a decent amount, but during normal use it drains way too quickly. This is strange.

Your usage does have some wakelocks from calls and music which are unavoidable, but it shouldn't result in only 30 mins of screen on time and 2 hours of battery life.

I'd still suggest replacing the battery, or if you have warranty then RMA the device.
[Nexus 5 Q&A, Help & Troubleshooting] :
There's always the old classic "CPU spy". I have it still. It will say if the phones been deep sleeping.
[Nexus 5 Q&A, Help & Troubleshooting] Zalligan:
Ya - I think a big part may be my signal which hovers around 100dbu and 40asu. Can't understand for the life of me why my signal would be poor living in the DFW metroplex. I'll give the app [MENTION=4036181]Darth[/MENTION] mentioned a shot and then look into replacing the battery - I hear it's kind of a crap shoot though with quality. I bought this thing 13 months ago - so just out of warranty. If you all have any more strokes of genius with this issue, I'm all ears. Really miss the days of only having to charge once a day or every day and a half.

Side note - is the testing screen you can get to by dialing *#*#4636#*#* accurate? It says my battery health is good.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Even if you had a single bar of signal the entire time, it should last much more than 30 minutes. I've had my Nexus 5 for about 12 months now and my battery is still fine. Possibly just unlucky/physical defect.

I'm not sure what it uses to determine the "battery health" on that screen, as it obviously cannot know if the battery is physically damaged. I've never seen anything say anything other than "good", lol.
[Nexus 5 Q&A, Help & Troubleshooting] n1234d:
Lollipop is not a problem [emoji14]