[SOLVED] What is eating my battery on Nexus 5? - Nexus 5 Q&A, Help & Troubleshooting

Let me get straight to the point.
Nexus 5 Lollipop 5.0.2, with xTrasmooth ROM with no problems with battery whatsoever... but suddenly I get around 16% drained overnight when I would get much less before.
After a clean install, the only thing I did was install alpha xPosed with a few modules (Xgels, Gravity, Youtube adaway, Youtube background enabler).
Can anyone tell me how to show logs or look for wakelocks and things like that to show battery stats?
All I have is this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Use Gsam battery monitor, it will tell you your wakelocks

You could have been in a dead zone or something and as a result, your phone kept trying to search for the signal. It also helps if you turn down your brightness

Jarshdude said:
You could have been in a dead zone or something and as a result, your phone kept trying to search for the signal. It also helps if you turn down your brightness
Click to expand...
Click to collapse
The op is talking about 16 percent drain overnight. I dont think turning down his brightness will help him. Like the other poster said, use either bbs, or wakelock detector to determine wakelocks. As jarshdude said bad cell signal could be the culprit. For this I use the smart radio function on cataclysm, to change to 3g when on wifi. As my lte service is spotty at best in my house. But im guessing its a rogue app causing wakelocks.

See posts 1 to 4 in the battery help thread in my signature. And if you still need help, post the recommended screen shots there. ?

I used to have this issue as well. Mostly the main culprits are Google apps and social networking apps doing syncs, disable Google syncs for services you don't need/use and if there are social networking apps that you would like it to sync, perhaps increase the sync refresh interval.

Is it not xposed as it's still in testing?

thenetvines said:
Let me get straight to the point.
Nexus 5 Lollipop 5.0.2, with xTrasmooth ROM with no problems with battery whatsoever... but suddenly I get around 16% drained overnight when I would get much less before.
After a clean install, the only thing I did was install alpha xPosed with a few modules (Xgels, Gravity, Youtube adaway, Youtube background enabler).
Can anyone tell me how to show logs or look for wakelocks and things like that to show battery stats?
Click to expand...
Click to collapse
Here you go, this will help
http://forum.xda-developers.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128

Darth said:
See posts 1 to 4 in the battery help thread in my signature. And if you still need help, post the recommended screen shots there.
Click to expand...
Click to collapse
Sanjay Varma said:
Here you go, this will help
http://forum.xda-developers.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128
Click to expand...
Click to collapse
OKLYMY said:
I used to have this issue as well. Mostly the main culprits are Google apps and social networking apps doing syncs, disable Google syncs for services you don't need/use and if there are social networking apps that you would like it to sync, perhaps increase the sync refresh interval.
Click to expand...
Click to collapse
I should've read these threads before, sorry guys.
Anyways, I think xposed alpha for lollipop was the culprit, but it got resolved after a few restarts wiping cache and dalvik, or so I think, because that's all I did. Now I only drain 3 to 4 % overnight, which is pretty good for me, since that's what I was draining on stock before.

Related

Google services draining so much battery.

So ive been using PA 4.3 for a couple of days now and ive noticed that google services is using up my battery. I do have location services on, only have GPS satellites ticked and WiFi & Mobile network location unticked. Is there any other way of google services to stop draining my battery? I did turn off Location services for 1 day and to be honest battery life didnt change..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EDIT 1: Managed to fix google services, all i did was update the gapps then google services never came back up. Still have GPS on.
EDIT 2: Encounter another problem after installed new gapps Android system use to use 70% of my battery but now its only under 10%. Battery life amazing so far! GPS still on. I didnt freeze anything. I didnt use any app to fix these issues.
Darell3 said:
So ive been using PA 4.3 for a couple of days now and ive noticed that google services is using up my battery. I do have location services on, only have GPS satellites ticked and WiFi & Mobile network location unticked. Is there any other way of google services to stop draining my battery? I did turn off Location services for 1 day and to be honest battery life didnt change..
Click to expand...
Click to collapse
I've read about this same issue on different ROMs and phones recently. We all have to remember that the 4.3 ROMs are still in the very early stages and bugs like this are to be expected but will be clearing up soon. :thumbup: In the meantime, depending on how much you rely on Google services, this might be useful to you:
http://forum.xda-developers.com/showthread.php?t=2357417
If I had a dollar for every time I said that, I'd be making money in a very weird way.
Its a known issue.. Freezing Google service might solve it.. And share me that dollah!!
Darell3 said:
So ive been using PA 4.3 for a couple of days now and ive noticed that google services is using up my battery. I do have location services on, only have GPS satellites ticked and WiFi & Mobile network location unticked. Is there any other way of google services to stop draining my battery? I did turn off Location services for 1 day and to be honest battery life didnt change..
Click to expand...
Click to collapse
Just try turning off your GPS it drains a lot of battery check my battery life on the same ROM
darth_nihar said:
Just try turning off your GPS it drains a lot of battery check my battery life on the same ROM
View attachment 2241020
Click to expand...
Click to collapse
darth_nihar said:
View attachment 2241023
Click to expand...
Click to collapse
Screen time on that one?
hafizkris90 said:
Screen time on that one?
Click to expand...
Click to collapse
2 hours odd bare usage only phone calls ...............

[Q] Inactive YouTube drains a lot of battery

So of course I know YouTube uses a lot of battery when watching some video's, which I do a lot. This, however, isn't the problem I'm experiencing.
So lets say my phone is 100% charged and still on its charger, and I start watching a video or two. Then I close the app (still in multitask bar) and take it off the charger. I use my phone a bit, put it in my pocket and just forget about it. After a few minutes/hours battery has dropped almost 10% (depends on time). Checking battery stats shows YouTube using most of the battery, more than screen and other processes.
Here's a screenshot of today. Just normal battery usage, then i watched two 4 minute videos over WiFi, closed YouTube and put it away. Got about 10% drop in the following 30 minutes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Clearing the YouTube app from recents does get rid of the problem, but it seems that this is something unusual, and I hoped someone had a more permanent solution.
My device is running on stock rom with Franco kernel v50 (Vomer settings), although I've had this problem with earlier versions of Franco kernel with other settings. Furthermore I'm using Xposed with App Settings, AppOpsXposed, Gravitybox and Unicon. Using custom DPI for whole system and certain apps (using App Settings). If I forgot some crucial information I'll hear it.
I hope someone can help.
Reboot the device and see if the problem continues. It probably just got hung up the one time.
Sent from my Nexus 5 using XDA Free mobile app
from your screenshots, youtube doesnt look like your problem. it only used 18% of your battery thats already used, and only kept your phone awake for 2 and a half minutes. when you close an app in your app via the multitask bar, you arent actually closing the app(its the same as just backing out of the app). but google play services is taking much more battery than it should.
Greenify.
I had the same issue, but only happens sometimes. If you check FKU - CPU usage you'll notice sometimes it will be on four cores and as soon as you close it from recents it will revert back to two cores. Also happens on Instagram if im using it for a long time.
Rebooting won't fix anything, been having this problem for months now, just always cleared recents to avoid the drain. Plus its a consistent problem, i can predict it draining battery when i leave it open, and it stops draining when I remove it from recents. That's why I'm confused. I will try Greenify, and thanks for the tips everyone.
Still, I find it strange that, even though you say the drain can't be from YouTube, it's always YouTube causing the problem in the first place. And the thing about Google Play Services, mostly it's this high in the list. It reports 7m52s CPU and 43m11s Keep Awake right now (1hr after OP). Is this not good? What can I do to fix that?

[Q] Is my battery life normal?

I have an office job that does not provide me with wifi. So when I'm on my phone at work I generally stick to 3G. I got frustrated with my poor battery performance using stock + root greenify. So, yesterday I changed to Elementalx 1.0. I was running 4.4.3 yesterday and was surprised that the results using the new kernel weren't much better. I then decided to compare using 4.4.4. This showed about a 30 minute increase in SOT but obviously my usage wouldn't be exactly the same as it was yesterday.
Android 4.4.3, ElementalX 1.0, and Greenify (root)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Android 4.4.4, ElementalX 1.0, (no Greenify)
So in summary, the first scenario gave me 3 hr 9 m of screen time. The second gave me 3 hr 44 m.
Other things to note, I run location tracking set to battery saving mode. I also do not disable wifi poling. Both of those are going to ding my battery life but I would imagine that the lack of wifi and relying on mobile data is what's really killing me. Any advice guys?
prnz said:
Other things to note, I run location tracking set to battery saving mode. I also do not disable wifi poling. Both of those are going to ding my battery life but I would imagine that the lack of wifi and relying on mobile data is what's really killing me. Any advice guys?
Click to expand...
Click to collapse
If you turn location off and disable the WiFi polling, you'll get better battery life. Also your signal is weak at the beginning of those screenshots and that'll drop your battery life quite a bit.
Lethargy said:
If you turn location off and disable the WiFi polling, you'll get better battery life. Also your signal is weak at the beginning of those screenshots and that'll drop your battery life quite a bit.
Click to expand...
Click to collapse
Are you aware of any apps / xposed modules to handle turning off wifi polling, or is this something that people do manually?
your battery life is fairly normal. there are ways to improve it, but it wont be a huge improvement. anyways, with what i see from your signal, and with a little tweaking, between 4-.4.5h should be your norm. what brightness do you keep it at? the percent will make a significant impact in battery life. i keep mine around 20-25% usually.
anyways, kernels dont really play much of a role in battery life, despite what many say. battery life is mostly determined by how you personally use your phone, how you set it up, whichbapps you use, and the quality of data/phone connection that you receive. everything else plays a very minor role in battery life.
---------- Post added at 10:40 PM ---------- Previous post was at 10:37 PM ----------
prnz said:
Are you aware of any apps / xposed modules to handle turning off wifi polling, or is this something that people do manually?
Click to expand...
Click to collapse
go to the phones main settings, wifi, press the 3 dots on bottom right, advanced, niw disable scanning always available. that should help a little with battery as well.

Help with Battery life

I recently got one of this phones off ebay deal. So far the phone has been really good (after going to 5.1.1) other than the battery life which is super terrible. I leave for office at 8AM and by the time I am back around 6:30 in evening its already down to 8-9% with barely 1 hour of SOT. While using the phone I can clearly see battery going down by 1 percent every two minutes.
One of the other things I noticed is it takes a while to charge battery. Almost takes 4 hours to charge it.
Have done everything listed in various thread on XDA to fix battery drain but nothing is helping. To summarize I have
- Rooted my phone
- Disable AT&T enhanced 4G LTE
- Tweak setting with kernel auditor
- Disable ATT bloatware
- Install greenify and amplify
- Installed CF.Lumen to control brightness
Not sure what I am missing here now. Any help is appreciated from you guys.
Does the phone feel warm on the back when it's just sitting?
If so, you probably have a runaway app. You can check the battery section in options and see what's eating battery.
I had this a while ago on nexus 5 with the ebay app, the same also happened to a friend of mine with the same app.
hello, there.
i had the same problem, it seems that your phone is not going to deep sleep mode.
i fixed my problem with Nitro X, you can find it here on xda.
now i am very happy with my battery, for example now it says on battery for 2 days 15h 29min 22s and still 60% battery remaining.
hope this helps.
an old example :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PEACE.
meangreenie said:
Does the phone feel warm on the back when it's just sitting?
If so, you probably have a runaway app. You can check the battery section in options and see what's eating battery.
I had this a while ago on nexus 5 with the ebay app, the same also happened to a friend of mine with the same app.
Click to expand...
Click to collapse
It only gets warm when playing some games. I will look at some of the apps as you suggested. Thanks,
mokalux said:
hello, there.
i had the same problem, it seems that your phone is not going to deep sleep mode.
i fixed my problem with Nitro X, you can find it here on xda.
now i am very happy with my battery, for example now it says on battery for 2 days 15h 29min 22s and still 60% battery remaining.
hope this helps.
an old example :
PEACE.
Click to expand...
Click to collapse
Thanks. I am gonna give it a shot. I see they have 2 versions - X86 and Non-X86. which one should I flash? Also since flex 2 doesn't support any recovery (twrp etc) should I just flash it with Flashfire app?
hello kunalmalviya,
i downloaded the non x86 (=the arm version).
i do not know about flashfire, you should ask on the forum.
Please click the thanks! button if that helped.
PEACE.
Try reflashing latest software via LG Flash Tool.
I have no issue with battery life. It is slightly better than on LG G2 which is awesome. (3-4 hours SOT without any problems, no tweaks, no root, brigthness on 100%, Wi-Fi, NFC and LTE enabled all the time, Google Now enabled, Google Location Services enabled and lot of apps running in background).

General Standby / idle battery drain

Standby / idle battery has been terrible. I've googled and barely found anything on this issue. The first time I activated the phone it was google play services near the top. Did a factory reset and I've been using since.
Battery drain is worse when no data / wifi is connected. If I connect to wifi , battery drain is less. A step below having airplane mode. I hate charging the phone to 85-100% just for it to drop considerably over 12-24 hours. I've gotten between 2-4 hours of Screen on time but I feel like it should average 5 hours atleast if I use the phone moderately.
Would betterbatterystats help in this situation?
Goggle Backup Transport or other cloud apps running in background.
Best to an adb edit or package disabler to kill it.
In lieu of doing the above or in conjunction, temporarily disable Google play Services when not needed like at night.
I had a similar problem, lowering the brightness level in the settings helped a little. I also recommend using Wi-Fi in places where it is available instead of 4g, which is much more energy-consuming and disable all background applications that are not needed at the moment. If it doesn't help, only useful solution to change the battery, if it's possible.
Here's an update . Fully charged battery and just let it idle. Google play services running for 11 hours
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mine does it as well. After night (6-8hrs) drop about 4%, disabled network and 5G, no changes with airplane mode, another flip also has this problem, battery drain does not occur when device is off
Cream$ickleHJ said:
Here's an update . Fully charged battery and just let it idle. Google play services running for 11 hours View attachment 5495637
Click to expand...
Click to collapse
You do realise that battery "drain" over those 11 hours was 0.2%
That's tiny in the grand scheme of things .. or am i missing something?
dezborders said:
You do realise that battery "drain" over those 11 hours was 0.2%
That's tiny in the grand scheme of things .. or am i missing something?
Click to expand...
Click to collapse
As long as other play services dependencies like Backup Transport didn't suck down a huge amount during that time...
Cream$ickleHJ said:
Here's an update . Fully charged battery and just let it idle. Google play services running for 11 hours View attachment 5495637
Click to expand...
Click to collapse
how did gou enlarged the status bar? it look greater than mine status bar/
Check out the app called "don't kill my app"
Also check out there website. It will help... probably
blackhawk said:
As long as other play services dependencies like Backup Transport didn't suck down a huge amount during that time...
Click to expand...
Click to collapse
First of all you shouldn't be charging to 100% ever. There is an option to stop at 85%. Enable it then use package disabler or adb to stop tons of background garbage.

Categories

Resources