Wifi draining battery?? - Nexus 5 Q&A, Help & Troubleshooting

I've only had my nexus for a week now and I'm trying to hunt down the reason I'm getting poor battery life. At first it was nlp wakelocks but that went away on its own somehow. Now its my wifi draining battery, in 8 hours of idle overnight it went from 100% to 79% and wifi was the top usage. I've never seen this before on any phone with any rom so I'm not sure what to do about it.

Hi,
Try Settings/Wi-Fi/Menu/Advanced/ and untick Scanning always available...

This is what I did to improve my battery:
1. Location Services : If you are not in a neighborhood with a lot of wifi spots you will most likely feel this draining your battery life. Under settings make sure that Location Services is set to battery saving and not High accuracy.
2. Widgets : Weather widgets, games eat battery by constantly fetching information . Check the settings for these widgets and make sure they are using wifi and not updating the weather information every 30 mins or so. I keep my settings to update weather information every hour to keep it reasonable. The Gmail widget sometimes eats your battery too. I removed the widget and used an icon in the dock at the bottom to check my email. Another thing I noticed was that some widgets are just more battery intensive than others. For example I found HD widgets consumed nearly twice as much battery as Chronus on the home screen but both displayed the same information.
3. Restart your phone : Sometimes residual processes from closed apps could cause issues. Restart your phone if you haven't done it in a while and it should clear up any unnecessary things.
4. Keep wifi on during sleep : I made sure my phone uses wifi even when its sleeping. 3g / 4g eats the battery like crazy if you turn off wifi when your phone sleeps. This should be a default setting as pointed out by some users. In my case it had been changed probably when I was tinkering with the phone. You can find this setting in the Settings -> Wifi -> advanced -> Keep wifi on during sleep.
You can also use apps like Greenify , Tasker , and Llama.
5. Don't use Automatic Brightness : Turns out if the sensors are constantly looking to adjust brightness it takes up more battery. I set my brightness at around 60% and it works just fine throughout the day.
6. Use wifi over 3G/4G/LTE if possible
7. Switch off wifi when using Data: Android doesnt switch off your WiFi when you use data because Google wants you to use it for Locations and help build their database of networks.Switch off WiFi completely when using data to save a good chunk of battery.
8. Turn off Vibration on touch : Typing uses quite a bit of battery over the course of a day. Try switching Vibration on touch off.
9. Use Franco Kernel: : This will require rooting your device however it makes it a lot more power efficient.
10. Turn down the Facebook refresh rate : Make sure it updates not very often( every 3-4 hours) or never. IMO your phone is better off without Facebook or any other battery hog social networking apps.

Related

[Q] Is this considered abnormal battery drain?

I have been using my N5 for a couple of weeks and I know its battery life isn't the greatest. I have watched some youtube videos for tips on better battery life, and here's what I have done.
Turn off auto brightness, and screen brightness is about 1/4 of the way
Turn off haptic feedback
Turn off vibration on keypress
Turn off sync for most Google services
Turn off NFC
Location service set to battery saving mode
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Infiniteloop7 said:
I have been using my N5 for a couple of weeks and I know its battery life isn't the greatest. I have watched some youtube videos for tips on better battery life, and here's what I have done.
Turn off auto brightness, and screen brightness is about 1/4 of the way
Turn off haptic feedback
Turn off vibration on keypress
Turn off sync for most Google services
Turn off NFC
Location service set to battery saving mode
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Click to expand...
Click to collapse
7.5%/hr is high for standby time. You can get it down to 1-2%/hr by using more of the battery-saving tips you'll find in the various threads on the subject.
Sent from my Nexus 5
Check the wakelock with better battery stat
If you don't need GPS on all the time turn that off too saves quite a bit of battery even the battery saving mode isn't that battery friendly
Sent from my Nexus 5 using Tapatalk
Infiniteloop7 said:
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Click to expand...
Click to collapse
You really need to share your battery usage screen, and show what apps drained your battery. It is possible that you were had low signal strength, and so your phone kept trying to search for a signal and drained itself. Also, as dark_ente suggested, look at betterbatterystats results to see if you had wakelocks.
With no active use, that is very high drain - unless you were in a very low signal strength area, or had an app keeping your phone awake.
When I work from home, connected to WiFi, my phone drains about 3-4% in about 9 hours (assuming I don't actively use it. I use pushbullet to show me all notifications on my PC, so I don't have to turn my phone on at all)
Infiniteloop7 said:
Turn off auto brightness, and screen brightness is about 1/4 of the way - I do the same (actually, I set it to the lowest possible level), because it is too bright
Turn off haptic feedback - I do the same, because it is annoying
Turn off vibration on keypress - I do the same, because it is annoying
Turn off sync for most Google services - I leave sync on
Turn off NFC - I leave it on
Location service set to battery saving mode - I do the same - but set up a tasker profile to enable GPS when I launch maps - Disabling GPS helped the most in my case
Click to expand...
Click to collapse
jj14 said:
You really need to share your battery usage screen, and show what apps drained your battery. It is possible that you were had low signal strength, and so your phone kept trying to search for a signal and drained itself. Also, as dark_ente suggested, look at betterbatterystats results to see if you had wakelocks.
With no active use, that is very high drain - unless you were in a very low signal strength area, or had an app keeping your phone awake.
When I work from home, connected to WiFi, my phone drains about 3-4% in about 9 hours (assuming I don't actively use it. I use pushbullet to show me all notifications on my PC, so I don't have to turn my phone on at all)
Click to expand...
Click to collapse
When you say turning off GPS and only enable it while launching maps, do you mean turn off location completely? Does that affect other Google apps/services? Such as Google now
If all else fails, do a factory reset.
Sent from my Nexus 5 using xda app-developers app
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
kevtrysmoddin said:
If you don't need GPS on all the time turn that off too saves quite a bit of battery even the battery saving mode isn't that battery friendly
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
battery saver mode is actually very battery friendly. i've done extensive testing...
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
Infiniteloop7 said:
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
Click to expand...
Click to collapse
you need 'better battery stats' log. . . stock battery screen tells you almost nothing
Infiniteloop7 said:
When you say turning off GPS and only enable it while launching maps, do you mean turn off location completely? Does that affect other Google apps/services? Such as Google now
Click to expand...
Click to collapse
No. I keep location enabled all the time, but in battery saver mode - that way, google now, weather widgets etc can get my approximate location (using cell tower triangulation), but can't activate my GPS for accurate location fix.
When I use maps/navigation (which in my case is the only time when I need accurate GPS location fix), I change from battery saving location to the GPS type location fix, and when I'm done with maps/nav, I switch back to battery saving location.
If you turned location off completely, google now, and possibly other apps (like weather widgets for current location) won't work.
Infiniteloop7 said:
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
Click to expand...
Click to collapse
From your 2nd screen print, you can see that your phone was awake pretty often. As @Enddo wrote, betterbatterystats should help you figure out what is causing the wakelocks.
Enddo said:
battery saver mode is actually very battery friendly. i've done extensive testing...
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
you need 'better battery stats' log. . . stock battery screen tells you almost nothing
Click to expand...
Click to collapse
jj14 said:
No. I keep location enabled all the time, but in battery saver mode - that way, google now, weather widgets etc can get my approximate location (using cell tower triangulation), but can't activate my GPS for accurate location fix.
When I use maps/navigation (which in my case is the only time when I need accurate GPS location fix), I change from battery saving location to the GPS type location fix, and when I'm done with maps/nav, I switch back to battery saving location.
If you turned location off completely, google now, and possibly other apps (like weather widgets for current location) won't work.
From your 2nd screen print, you can see that your phone was awake pretty often. As @Enddo wrote, betterbatterystats should help you figure out what is causing the wakelocks.
Click to expand...
Click to collapse
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Infiniteloop7 said:
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Click to expand...
Click to collapse
Rooting is pretty easy. And it opens up a whole new world.
________________________
Sent from my Nexus 5
Infiniteloop7 said:
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Click to expand...
Click to collapse
While betterbatterystats will work on kitkat (unrooted), it won't give you partial wakelock summary That requires root)
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3 - see FAQ 1 and 3. You can download the kitkat compatible version from http://forum.xda-developers.com/showthread.php?t=1179809
As PhilipTD wrote, rooting a N5 is pretty easy, but if you don't feel comfortable doing it, don't.
If you decide to root, follow the steps in first post at the link that PhilipTD provided.
Note that Step 1 (unlocking bootloader) will wipe out all your data.
Before you root, why not disable GPS (keep location active) and see if that helps? Also, how often do you reboot your phone?

[Q] Battery life not as it should be?

Hi
First of all I'm back on Android and back on the forum after four years of iOS, really enjoying Android and the forum again!
I just got my Z3 for about 2 weeks now and I'm not getting the 2days out of my single charge, when I take the charger out at about 7 in the morning, I'm left with about 30-40% at 11 a'clock at night. I'm just wonderring if these 2 days should be able to reach with heavy whatsapp usage (groups, really almost receiving a couple of messages a minute ) and moderate Facebook, Snapchat, browsing, and maybe some app downloads? Are there some settings you guys recommend to increase battery life? (already using stamina, doesn't really make a big difference).
Thanks in advance!
You can follow the battery life thread.
I have autosync, location and WiFi calling enabled and I still get 6-9 hours of screen time out of a 24 hr period with heavy usage with or without WiFi calling. At first I got no more than 5-6 Hrs screen time but as I used it and it settled/calibrated it got better.
Whats your signal strength like? It can have a big impact.
As for battery saving tips:
Try turning off or reducing the nunber of apps syncing. Facebook can also be a killer at times, I disabled, I barely use it and when I do need to I just use the mobile site.
Also turn off background WiFi scanning and set the following option -> WiFi off when screen off or on w/screen off only when connected to power.
Lastly try calibrating the battery as even Apple as you probably know reccomends for their devices:
1. Full drain
2. Full uninteruppted charge
3. Discharge with regular use to 0-1%
4. Full charge and use normally
As for stamina its not done anything for me either so I disabled it. More like placebo effect lol, I think they will fix it.
abhinav.tella said:
You can follow the battery life thread.
I have autosync, location and WiFi calling enabled and I still get 6-9 hours of screen time out of a 24 hr period with heavy usage with or without WiFi calling. At first I got no more than 5-6 Hrs screen time but as I used it and it settled/calibrated it got better.
Whats your signal strength like? It can have a big impact.
As for battery saving tips:
Try turning off or reducing the nunber of apps syncing. Facebook can also be a killer at times, I disabled, I barely use it and when I do need to I just use the mobile site.
Also turn off background WiFi scanning and set the following option -> WiFi off when screen off or on w/screen off only when connected to power.
Lastly try calibrating the battery as even Apple as you probably know reccomends for their devices:
1. Full drain
2. Full uninteruppted charge
3. Discharge with regular use to 0-1%
4. Full charge and use normally
As for stamina its not done anything for me either so I disabled it. More like placebo effect lol, I think they will fix it.
Click to expand...
Click to collapse
Thank you for quick response!
I've searched for a battery life thread but I couldn't find one, where can I find it?
My signal strength most of the time has all the bars, except at my house I have only one or two bars in various rooms, I didn't know about its big impact so this might indeed be a reason for my battery drain. Turned off almost all the syncing for my apps, and did the WiFi settings you mentioned, if the setting 'WiFi off when screen off" is enabled should my WiFi be of when I light up the screen without unlocking my phone or just really when the screen is off? Thanks for the tips, I hope I can get more hours out of it now!
At some time I had a short battery too and after those same steps I have 3 days battery without any problem:
abhinav.tella said:
Facebook can also be a killer at times, I disabled, I barely use it and when I do need to I just use the mobile site.
Also turn off background WiFi scanning and set the following option -> WiFi off when screen off or on w/screen off only when connected to power.
Click to expand...
Click to collapse
The battery thread is in "General" its called "Battery Life is Insane".

[Q] Only getting around 1 - 1.5 hours of screen time

Hello,
my battery only lasts half a day max, before needing a recharge. I've already tried different custom roms, and currently I'm on Blisspop for android 5.1. The area I live in has good coverage, so that shouldn't be the culprit. I never play games on my device, but even basic web browsing drains my battery very rapidly. I do use android wear, but I don't think that is the reason I only get around 1 hour of screen on time.
Here are the things I've tried already:
- Turning off location reporting
- Disabling Google Now
- Removing Google Fit
- 'recalibrating' the battery by letting it discharge and then charge it fully without unplugging
- Using 3g instead of 4g
- Turning off location access
This is driving me nuts, and I don't know if it's my battery's fault or my phone's fault.
Thanks in advance.
Go to wifi, special, and disable scanning when the wifi is off. It helps A LOT. Also keep location reporting off, as setting it to network only creates tons of wakelocks even when mobile data and wifi are turned off.
I know some custom ROMS have had issues with Bluetooth battery drain in the past. Try turning it off and see what happens.
Turn down the brightness as well. There is significant difference in power usage between %50 and %100 brightness .
Hold power button and select power off. Helps

odd battery usage stats, poor battery life

hi
i have a new (3 months old) unrooted nexus 5 update to latest OS version which is showing some very odd stats wrt battery consumption.
first i had heavy battery drain but then i disabled the scanning options in the location menu which helped. but still even with brightness at only 18%, battery saver on 95% of the time, location & mobile data off all the time & wifi only used for short bursts it still seems to drain quite quickly.
app usage stats as reported by the inbuilt battery stats option differs quite a bit from other battery management apps (du battery saver, battery doctor, gsam battery monitor)
for eg. inbuilt battery stats doesnt even show wifi consumption in the stats even if i use it for few hours (then suddenly one time it showed up with some excessive consumption stats - 1500mah for 2 hours usage; photos attached). very often it shows gravity screen app as the biggest consumer of battery while other apps show gravity screen as consuming very little power. otoh gsam shows battery doctor as consuming the most of all the apps.
what could be the issue?
gsam shows average battery life with screen on as 3h 42m. is that ok?
was also wondering if the optimization options of the battery management apps work or are they gimmicks? for eg both du battery saver & battery doctor show 'x' number of apps consuming power in background & when you press the optimise/close apps button it shows some cool effects of shutting down those apps but you come back after a few hours & the same apps show up in the running in background.
also, the front camera is very grainy. cant believe its that bad in what was a flagship phone. is it just my phone or is that the how it is for other users?
anyone with any inputs?
You got nearly 5 days on a single charge??? Yes, your battery consumption is fine. Nearly 4 hours of SOT is fantastic.
The graininess of the camera will depend a lot on the lighting. Unless you have a light shining directly on your face, the picture is probably pretty dark. That said, it's "only" like a 3MP camera. It's well known as a sub-standard front camera (I'm not a selfie machine so I don't really care). When you think about how microscopic the light sensor is on the front camera, it's no wonder the picture is grainy.
exninja said:
You got nearly 5 days on a single charge??? Yes, your battery consumption is fine. Nearly 4 hours of SOT is fantastic.
The graininess of the camera will depend a lot on the lighting. Unless you have a light shining directly on your face, the picture is probably pretty dark. That said, it's "only" like a 3MP camera. It's well known as a sub-standard front camera (I'm not a selfie machine so I don't really care). When you think about how microscopic the light sensor is on the front camera, it's no wonder the picture is grainy.
Click to expand...
Click to collapse
thanks for your reply exninja
that 5 days was a one time thing where i barely touched the phone & then only to test it. i wish it were that good LOL. normally i get about 2 days with very conservative usage (brightness at only 18%, battery saver on 95% of the time, location & mobile data off all the time & wifi only used for short bursts, 0 talktime)
is 4 hrs SOT that good? i see a lot of people getting 5 to 6 hours + & that too without those conservative usage patterns.
the thing that got me worried is the strange battery usage stats reported in the stock settings.
Honestly I wouldn't worry that much about what each app says is using energy. They're each consuming very little anyways. I'm not familiar with gravity screen so I wouldn't know about it.
I haven't heard of many people getting 5-6 hours of sot, especially since lollipop. I got 4 hours on KitKat, then dropped to 3 or less on lollipop. Now it's usually around 2 hours.
@fguy76
First of all, just to let you know, recently Google Play Services have been acting up. Sometimes I get normal battery drain overnight when I sleep, and sometimes it drains like crazy. For now, there is nothing we can do about Google Play Services.
However, if u noticed that WiFi has been turned on the whole time via the battery history chart, despite the fact that you did not even turn on WiFi at all during that period, then this can only mean one thing. You must have enabled WiFi Scanning (the famous Scanning always available bug in Lollipop & KitKat).
To disable WiFi Scanning, go to Settings first. Then on the top of settings, there is a search bar. Type in "Scanning".
Then u will see the following options. Make sure u disable WiFi Scanning.
Having said this, there is another annoying bug. This bug is when you have left a WiFi hotspot and forgotten to turn of WiFi. So after awhile u realised it and u proceed to turn off WiFi. But hours later, u check your battery stat, and it still shows your WiFi have been active the whole time despite turning it off. For this, the only workaround is to reboot the phone. To avoid this bug, always turn off WiFi b4 u leave the WiFi hotspot area.
@pcphobic i have wifi scanning off & i always remember to turn wifi off when not using it so that second scenario is not an issue with me
fguy76 said:
@pcphobic i have wifi scanning off & i always remember to turn wifi off when not using it so that second scenario is not an issue with me
Click to expand...
Click to collapse
@fguy76
The other solution that I can offer is under Location settings, go to Google Location History and make sure it is turned off.
You can still use GPS based apps with Google Location History turned off.
I suspect that if u find intermittent wifi showing up in your battery history, it could only mean that Google Location History is periodically waking up and using wifi to get an approximate location. I used to get this until I turned off Google Location History.

[Fixed] Standby battery drain

Hello everyone!
So this thread is for those guys that are still having the standby drain even after trying everything and got no help.
My Device Is not Rooted​Since last 2 weeks my device was having super standby drain and I couldn't help that.
First I thought that it was due to the battery wearing out. But I had this phone(exynos version) for around eight months and that is not enough time for the battery to drain out fast. So I started looking for the fixes in the xda threads but none of them had a mass effect on what i was suffering from.
Then I read about that app named the "Better Battery Stats".
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats&hl=en
I used this app to monitor the usage that was being done by different apps.
Most of the battery i.e 61% was being consumed by the apps that were running in the background. And the second big consumer was the android system. So as was mentioned in most of the posts what I tried.
1) Settings> Display> Resolution> Fhd to hd
2)Settings> Device Maintenance> Battery> Save Power and All apps put into always sleeping apps.
3)Setting> Connections> Location> Google Locaation History and disabled it.
4)AOD Disabled.
5)Sync Disabled.
6)Wifi> Advenced> Keep wifi turned on while sleep and set it to never.
7) Reset> Reset network settings
8) Boot into recovery and wipe cache patition
9) Reset factory data(Wipe everything).
And after doing all these steps nothing much changed my battery life since when i after resetting my phone again updated all apps from play store and resetting battery got an SOT of around 3 hours.
Then I again started searching for the problem.
I installed the accuBattery app from play store.
https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en
And saw that phone was not entering deep sleep for hours that was causing the standby drain!
The major reasons for the drain were.
1) TOUCHWIZ HOME!
2) Google Chrome.
3) Facebook app.
To fix that I applied Lawnchair as my default launcher.
set the theme to dark. Disabled the location permission in the facebook app. And disabled google chrome.
Other settings that also helped were
Change the resolution to hd. Disable google location history.
And boom.... It worked Like a Charm....
Now to add an extra something to the battery life i switch to MID Power Saving mode. That Also helps alot when phone is not being used as it stops background data usage by apps.
Now the average sot that i get from my phone is around 6 to 7 hours.
And the phone sleeps like a baby. 5% Drain in 10h and wifi was on for the whole night. Deep sleep for 9h 41m.
PS: I use most of the time my phone for gaming and heavy usage.
Hope this will work for you guys too.
Screenshots Are attached for the proof!!
Thanks for this man
How are your notifications? I'm having a lot of trouble with delayed notifications, emails/messenger/etc just wake up when I take the phone and I don't even have to wait more than 5-10mins for what seems to be doze to kill everything.
I get whatsapp calls that I miss because the phone never receives it.
And STILL my battery life is far from great.. borderline bad I'd say. So sad
In settings go to device maintenance and hit battery you'll see an option for "always sleeping apps" enter any apps you don't want to run in the bsckground, which will probably be most of them. Saves a lot of data and a lot of battery.

Categories

Resources