yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
What is everyone's typical wifi drain. For example, when looking at GSAM I normally have about 10-15% (currently it's at 20%) of the battery used by wifi which seems strange. The more I leave my phone idle the higher it is. When I leave it overnight, the drain itself is only a few % for about 8 hours which is good. However the wifi % is about 45. So, I'm not really sure if it's draining my battery but I was wondering what other people have been experiencing.

Also, when I looked up this issue people were talking about the wlan wakelocks and mine are only 30 seconds in 3 hours.
[Nexus 5 Q&A, Help & Troubleshooting] :
I wouldn't be concerned. It's high when there's a lot of standby because not much else has run.... So there's no other apps taking up battery life. It's actually a good sign. Lol

As long as you don't have wakelocks going with it, I wouldn't be concerned.
[Nexus 5 Q&A, Help & Troubleshooting] swat4samp:
So i disabled each and everything mentioned under play services using autorun app, revoked wakelock permission from app settings xposed module, disabled some services from disable service app, turned off google now, reporting and history, location services, bla bla bla, went to bed thinking everything is fine, and after waking up, i found that i had 9 hrs deep sleep but my phone didn't :p still i had 3% battery drain. I quit! That 3% is haunting me even in my dreams. Damn my OCD.
[Nexus 5 Q&A, Help & Troubleshooting] :
That's less than half a percent per hour.... That's great. Lol

You're on a witch hunt.... And the witches are extinct already. ?
[Nexus 5 Q&A, Help & Troubleshooting] swat4samp:
Even that 3% is bugging me a lot lol Guess i have to dig even more and finally come up with something which once and for all, calms my senses :p
[Nexus 5 Q&A, Help & Troubleshooting] :
I think if you disable and uninstall everything... You may do better. :)

Or turn it off. Lol

Best I get is about 0.4 pet hour. ?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
0.04166667 per hour if I don't turn on screen, but what use is that? :p
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
Won't get much lower than that unless you use airplane mode.

Are you unplugging it as soon as it reaches 100%? The phone actually continues charging for as much as 30mins after it hits 100%. I've never seen it drop 20% but 5-10% is normal if you unplug right as it hits 100.
[Nexus 5 Q&A, Help & Troubleshooting] IWRH:
[MENTION=4036181]KJ[/MENTION] please add this useful tip to OP. Working like charm my battery is better than ever. Hopefully my drain fixed. (Only for Wi-Fi drain guys :D)

http://xdaforums.com/showpost.php?p=27953786&postcount=2647
[Nexus 5 Q&A, Help & Troubleshooting] swat4samp:
But how :-/ Tell us what you know :p
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Because I'm me

Jk, I honestly just have zero wakelocks, not sure what else :p
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
So, is this basically saying that ipv4 results in less wakelocks? Also, since the N5 is automatically using ipv6 from what I read, would it be better to switch it ipv4?
[Nexus 5 Q&A, Help & Troubleshooting] :
I'll look into it. It's not a widespread issue tho... And I don't want to clutter the info to much.

Let me see. ?

I may devote a post to member tips. But they will need to be short but sweet. Links instead of how to's .

Busy weekend for me (long weekend in Canada).... But when it's done I'll come up with something. ?
[Nexus 5 Q&A, Help & Troubleshooting] IWRH:
Thank you :D BTW im trying to create a init.d command for trigger the diasble_ipv6 0 to 1. Itworks after reboot but doesnt stick when you disconnect from Wi-Fi and reconnect. Can you suggest me someone who knows init.d stuffs?

---------- Post added at 08:56 PM ---------- Previous post was at 08:54 PM ----------

No some routers causes wakelocks because of DHCP and it has a connection to ipv6. If you dont have Wi-Fi wakelocks there is no need for that. wlan_rx_wake and wlan_rd_wake are wakelocks im talkin about if i remember their names true.
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
Is that different from the tasker instructions to automate the disabling in that thread you posted?

Yeah, but if you're disabling ipv6, that means you're just running on ipv4, right? Also, I'm not sure if I have the issue. The wakelocks do show up for me, but it's about 45 seconds in the 3 hours (today). However, when I look at the number of wakelocks it's over 2,000. I know I've read somewhere that it all depends on how long the device is on for, and not the number of wakelocks, but I'm not so sure. Intuitevly if the device is being awoken 2000 times for some tiny fraction of a second within 3 hours that seems like it might be using more battery than if it were in deep sleep the whole time. I could be wrong though. Do you think I have the issue?

Edit: oh and also, would you mind telling me what your wakelock time/number of wakelocks are after the fix?
[Nexus 5 Q&A, Help & Troubleshooting] IWRH:
Dunno about wake lock counts but my device is deep sleeping so good 6 hours overnight and no battery drop.

No difference. I just think who doesnt buy tasker. Otherwise i have tasker so lol :D
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
Gotcha. And what was your drain before the fix? Also, so far I don't see much of a difference in wakelocks for me.
[Nexus 5 Q&A, Help & Troubleshooting] IWRH:
Please use tasker method :D And it was 5 percent for every 1 hour overnight -.-
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
Wow, that's insane. I did use the tasker method. Maybe I just never had the issue. The wakelocks were showing up in GSAM but not that extreme.
[Nexus 5 Q&A, Help & Troubleshooting] greyhd:
What is thus Tasker method? Have a link?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Its linked in the previous page
[Nexus 5 Q&A, Help & Troubleshooting] Johnassel:
When in airplane mode and the phone is idling I'm getting 2-3% drain per hour which doesn't look correct to me. Over night it loses about 20% while doing nothing.

GSam or Wakelock Decetor are looking good to me, the device is sleeping most of the time.

I tried downgrading the radio to 4.4.2, disabling syncs, location, any other app which runs in background, removing obsolete apps but nothing helped.

I currently have no idea where the power is going...
[Nexus 5 Q&A, Help & Troubleshooting] :
Your screen shots are excellent.... But, they are for only 2 percent of your drain. ?

Go from 100 to like 10 percent and take them. That will paint a better picture of any issues. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
And don't reboot during the drain or Gsam will reset.
[Nexus 5 Q&A, Help & Troubleshooting] Johnassel:
Ok - I'll leave it in airplane mode over night (this was 1h) - that should drain more. :)
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Hey guys is google.android.gms play services? BBS says it's waking my device 37/hr. But my idle drain is fine. Just curious what this service is and if 37/hr is Normal. I'm not too worried about it though.
[Nexus 5 Q&A, Help & Troubleshooting] greyhd:
A bit high. I've got it down to 8 per hour. You need the app Android tuner and uncheck the gcm services.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
OK. It's dropped down to 24/hr now that I've put the phone down for a bit lol. I was using the phone pretty heavily this morning. I'll do what you suggested and report back later tonight or tomorrow. Thanks.

Edit. Which section do I go to in Android Turner? I'm not even sure what it is I'm disabling.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Something is very wrong with my battery life. And it doesn't seem to show up on battery statistics. I'm a little bit under 3 hours of SOT and running on 28% battery already. Here are some screenshots.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Tap on this:

and see whats causing wakelocks. Your current screenshots hardly tell us anything.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
It won't let me click on it. Nothing will pop up. But here are some wakelock detector screenshots.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
What about this screen:
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Here it is
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
It's just your usage then, there aren't any wakelocks keeping your device awake when the screen is off. Most of your usage is social media/messaging and those tend to use more battery with constant image loading and network activity.

It's perfectly fine for your type of usage.
[Nexus 5 Q&A, Help & Troubleshooting] greyhd:
Go by the Google Play services, not the framework

http://xdaforums.com/showpost.php?p=35755907&postcount=11160

Let me know if you need help.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
You sure about this? Shouldn't I at least get 4.30 hours of screen time? I have syncs off and facebook greenified. I only auto sync once or twice a day. Location services are always off, and so is google now.
[Nexus 5 Q&A, Help & Troubleshooting] :
You wouldn't have that many wakelocks with Facebook greenified.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Thank you grayhd I appreciate it. I will definitely give that a try tomorrow. Won't time tonight unfortunately.

I thought I would post battery for today. This is what my typical usage is going to be on most days. The slight bump in graph was me tranfering a file. Only a couple of minutes
[Nexus 5 Q&A, Help & Troubleshooting] :
Nice!

I think 4 1/2 hours SoT with location on and Facebook......that's pretty good. My wife has my Moto X now, and she's about an hour and a half less SoT and the only difference is she's on Facebook....a lot tho. Lol
[Nexus 5 Q&A, Help & Troubleshooting] unsivil_audio:
Well regardless I feel like I can make it better.
[Nexus 5 Q&A, Help & Troubleshooting] fxdil:
One thing I'm very certain is that there are too many variables to consider, on a personal scale. On a working day, I could get 60-70% battery use with 3-4 hours SOT. And then this past weekend, I was at home the whole day connected to Wifi, 80% battery used in 15 hours with 8 hours SOT. One thing for sure is, it's best to play around with your settings to fit your current demand. Using an app like Tasker definitely helps to automate things to fit your needs at that particular time.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
It just depends if it's keeping your device awake. Before I deactivated my fb, I would still get 4-6 hours (depending on listening to music) even with receiving notifications and a little browsing through the app.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Aadilnz:
Could you please guide me where this feature is on Carbon if you're still on it? Thanks bro

Edit: Disregard, found it! Bye lux!
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
You mean adjusting the autobrightness levels?

Enable auto-brightness, then tap on the brightness Quick Settings tile, there should be a gear icon to the right of the adjuster. on the window that pops up you can select the sensitivity of autobrightness, and if you tap "adjust" it'll let you change the brightness level for specific Lux values. Long press a value to be able to split it into another if there aren't enough values that you'd like to adjust.

It should be the same for any custom ROM that supports it.
[Nexus 5 Q&A, Help & Troubleshooting] adityameena26:
Whats wrong with me?

Location turned off completely..device mainly used for facebook messaging..whatsapp..tapatalk only..:(

brightness is very low too..:(
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Seems the amount of battery used while the screen is on is more than normal.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] adityameena26:
what does that mean?

sry..couldnt get meaning of that line..:(

I am getting 3-3.5 hrs SOT after turning off location and I have also greenified maximum possible apps..dont know whats wrong :(
[Nexus 5 Q&A, Help & Troubleshooting] granets:
Seems as I have the same issue as you. I don't use Facebook all that much, but I watch youtube videos and maybe some twitch streams. Location is off, google now is off. Using latest franco kernel and latest slimkat. Brightness is set to lowest setting. Still when screen is on, battery life rarely goes close to 4h of SoT. Usually phone sleeps well. Will do a power cicle and post some pictures, as I just installed GSam and it shows nothing now.
[Nexus 5 Q&A, Help & Troubleshooting] jj14:
Since updating to 4.4.3 (rooted with stock ROM/kernel, XPosed/XPrivacy/GravityBox), I've noticed that drain while on standby has increased significantly.

I usually recharge the phone to 100% just before I go to sleep, and then, disable data/WiFi, and leave it off the charger till morning (with no usage). Before 4.4.3, in the morning, my battery would indicate about 98% remaining. After 4.4.3, with the same scenario, my battery life is about 83-85% (every day). Biggest culprits are always Phone Idle and Android OS. (My GPS is set to device only). Drain during the day (when WiFi is on) has also increased.

I thought it might be because of some rogue 3rd party app causing wakelocks (though BBS didn't seem to show that). So last night, I switched to safe boot (3rd party apps disabled), and this morning, got similar results. (though this morning, Android OS dropped in the battery usage - usually, Android OS is #2 on the list.

Screen prints of relevant screens at http://imgur.com/a/ZvYYr

Any suggestions why my battery is getting drained so much? (compared to 4.4.2)

P.S. I did read the op, and have installed GSAM monitor, and will provide results tomorrow morning (GSAM got disabled because of safe boot)
[Nexus 5 Q&A, Help & Troubleshooting] Aadilnz:
Did you install the new radio with 4.4.3? If yes, try reverting, if not, try flashing it.
[Nexus 5 Q&A, Help & Troubleshooting] jj14:
I had installed the OTA package, so I assume it installed the new radio too. The signal strength doesn't seem to be bad - on the contrary, I'm getting better signal strength (-95 to -102 dBm RSRP), compared to -105dBm to -115dBm with the radio included with 4.4.2. Also, getting spark speeds with this radio, so hesitant to change to older radio :)

Is excessive battery drain on idle (without data connection) a known issue with the new radio? (I'm willing to try it - assuming that is the issue)
[Nexus 5 Q&A, Help & Troubleshooting] :
Seems your battery is really dropping while screen is on. And nothing else seems abnormal.

I'd double check screen brightness. In gsam on the main screen, click screen. It will say what percentage your spending at each brightness level. Full brightness will drop the battery like a rock.

No gaming??

And if you're using Facebook a lot, or other apps that load a lot of pics, it will drain battery a lot....especially on a weak data signal....or WiFi. Remember, you're basically downloading the pics as you load them.

Not sure what else. Especially if location is definitely off.
[Nexus 5 Q&A, Help & Troubleshooting] :
And to add....you are getting fairly average battery life times really....tho if you do actually have screen very dim and location off...it should be better.
[Nexus 5 Q&A, Help & Troubleshooting] :
Videos will drain battery far quicker than say Tapatalk. 4 hours SoT is probably about right. Depending what else you do too.
[Nexus 5 Q&A, Help & Troubleshooting] :
Try airplane mode one night. See if your weak signal is causing it or not.
[Nexus 5 Q&A, Help & Troubleshooting] granets:
not much else. I have facebook on to check things every now and then, and facebook messenger to chat with friends, but again not that often. I use youtube for about 2h every day, and combined with everything else I do, I get about 3h of SoT and I have to charge my phone at the end of the day. So I'd say SoT is not that good. Will see how things are tomorrow. I just charged my phone back up to full and will use it as I normally do, then take some pictures and report back on how things are.
[Nexus 5 Q&A, Help & Troubleshooting] jj14:
I will try that tonight (in regular mode - not safe-boot) - that way, I should have GSAM stats to post tomorrow
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
YouTube for 2h is relatively quite a bit since it would use more videos than Fb/Messenger/Tapatalk/Etc

This thread spams notifications on my phone now since I'm subscribed to it.. [MENTION=4036181]KJ[/MENTION] lol
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Facebook IS greenified. Proof:

Also, I don't check it that often.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
I don't use Facebook, messenger, whatsapp, whatever, at all.

He probably has donation package and he gets way too many notifications lol. Or checks it too often.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
I think you got ninja'd. Lol
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
And you failed to quote me properly. :p Yes I saw it.

If he checks Facebook/whatever that many times, it would be better not to have it Greenified since you'd be constantly hibrenating it again and again..
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
I repeat, I do not check facebook that often...

anyway should I hibernate anything else? anything that sticks out?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
I don't understand the 300+ fb wakeups if you have it Greenified and you don't check it that often, then.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Me neither. I will try reinstalling both apps, and see if that works.

From what you see in the wakelocks screenshots, is there anything else I should hibernate?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Your reception seems to be decent, not the best but its okay, and its hardly keeping your device awake while the screen is off. I wouldn't say wakelocks are a problem, although the 300 wakeups makes no sense. Are you over/under clocking or anything?

Other than that, might just be your usage.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
No, I have franco kernel but with no changes to voltages.

I also haven't used WhatsApp and Viber for days, but they're still causing a lot of wakeups... is that normal?

Also, isn't Timely acting up? Seems to be causing a lot of cpu wakes and I only use it as a widget on the home screen.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Widgets are refreshed every time you go to the home screen or wake the device. I don't use any widgets at all. WhatsApp and Viber are probably trying to sync something.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Do those wakes caused by widgets consume a lot of battery? Should I consider removing them?
[Nexus 5 Q&A, Help & Troubleshooting] :
Facebook messenger isn't there. It's causing tones of wakes and waking Facebook when you get a notification.

It's the only explanation for that many wakes by the two.
[Nexus 5 Q&A, Help & Troubleshooting] :
And this .

Never greenify apps you use frequently. Defeats the purpose and causes more battery drain in the end, since it can't just sit in memory. It's constantly shutting down and starting.
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
I agree. In addition to fb messenger, there are a ton of apps that wake up fb. Flipboard for example is another one. Everytime I used flipboard I noticed my fb was awake. I ended up just uninstalling fb and using the browser. Also, [MENTION=4641032]ColdFire InOx[/MENTION] I noticed that you wake your screen very often just to check the time I guess, or any notifcation. Constantly waking up your screen will drain it quickly. Someone did an experiment in the original battery thread where he used his phone normally, but left his screen timeout at 30 min. When he checked his phone he would just leave it with the screen on. He ended up getting something like 6 hours+ of SOT. If you're curious you can try it out and see what results you get.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
dang it! Lol. Stop spamming the refresh button and next time you won't see it [emoji14]
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
But why does Gsam show 19% battery discharge while screen is off? Isn't that odd?
[Nexus 5 Q&A, Help & Troubleshooting] :
Seems leaving the timeout at 30 minutes is just cheating to get 6 hours SoT. It's not 6 hours of actual use. Lol
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
You could boot up Android with absolutely nothing enabled/installed and on lowest brightness, do nothing and get 9 hours! ;)
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
I know, but with the same usage this person would have his desired 4.5 hours easy =P
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Why does my Gsam show 19% battery drain while screen is off? Isn't this odd?
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
I think it's showing your total %. So out of the 65/68% 19 is when screen is off. So 19% in about 7 hours? Not really sure. I wouldn't really pay much attention to it. Right now I have 18/16% as screen on and off respectively.

Edit: It might be phone calls. Phone calls drain a lot of battery even if the screen is off.
[Nexus 5 Q&A, Help & Troubleshooting] ColdFire InOx:
Well it does seem like an awful lot to me... normally people report 5% lost per night, that's 5% in like 8 hours... and now I get 19% in 9 hours?!
[Nexus 5 Q&A, Help & Troubleshooting] PsychDrummer:
It might just be inaccurate I don't know. My overnight drain is only around 2-3%.
[Nexus 5 Q&A, Help & Troubleshooting] Mr hOaX:
IMO, you should Uninstall social networking apps..(Keep limited once) Those are the ones which are draining out your battery at faster rate..

First Uninstall FB standalone app and it's messenger and observe your device for 1-2 days..

Then others and do the same procedure.. And at last Uninstall all social networking apps and see the change in your battery life..

I am not telling you to stop using it.. But if you want a good battery life Uninstall some of them..

3-4hrs SOT is pretty good if you have these apps installed.. :)

You'll surely get 4:30hrs SOT(Battery charge from 100% to 4%) without those apps in the way you are currently using your nexus :)

Try it out for some days mate :)

I've experienced same battery drain and did same thing what I am sharing with you and others ;)
[Nexus 5 Q&A, Help & Troubleshooting] Johnassel:
It seems as if something was wrong with my CyanogenMod setup. I switched over to Paranoid with the same setup and now my drain is at less than 1% in 7 hours.
[Nexus 5 Q&A, Help & Troubleshooting] :
Nice!
[Nexus 5 Q&A, Help & Troubleshooting] rogerchew:
is the only way to detect wakelock issues is to have a rooted phone? I use my phone for work and the email app will not function if my phone is rooted. i'm at 1hr12min SOT and battery is at 57% (4 hours since i unplugged) which comes out to be a little under 3 hours before battery dies. under app usage Android system is by far the highest. wish i knew what rogue app or process is causing this...any help?
[Nexus 5 Q&A, Help & Troubleshooting] :
Unfortunately you do need root to see wakelocks.

That's why it's hard to narrow down issues on unrooted devices.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
There are ways to hide root.
[Nexus 5 Q&A, Help & Troubleshooting] ruantr:
Wow, if that is true I will switch to Paranoid too.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
It likely wasn't the changing of ROMs that gave him better battery life. It was the clean flash and new setup. I fantastic battery on just about any ROM and it's due to my great setup. Keep control of your wakelocks and you should be fine on CM. I have used both CM and PA and like any other ROM they have comparable battery life. I prefer CM but that's due to features not battery life.
[Nexus 5 Q&A, Help & Troubleshooting] swat4samp:
Can someone recommend me a good autorun manager like gemini app manager? I had problems with that. Tried system tuner but it doesn't show complete list of receivers for an app (unlike gemini app manager)
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Autostart
[Nexus 5 Q&A, Help & Troubleshooting] :
Yup ^^^

I think it's Autostarts with an S ... paid app tho, but worth it. ?

Assuming it's updated for current kit Kat. I haven't used it since jelly bean.