Poor battery life - help needed - Nexus 5 Q&A, Help & Troubleshooting

Hello,
I sold my Note 2 last week and got a Nexus 5. I paid the equivalent of $500 here in my country for the phone because I love the Nexus experience and developer support.
However, the battery life on my phone has been nothing but outright poor. I haven't really kept it on stock because I flashed CM11 as soon as I got it but I tried the CM kernel and with poor battery, switched to franco. However, it has all been downhill for me. Is stock any better?
I'm posting screenshots of the amount of drain I'm getting. Heck, I didn't even use my phone today of the fear of losing battery and it's still the same.
Google Play Services was eating a lot of battery but after a restart, it just stopped and I haven't had it since last night.
{
"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"
}

Bump! I'm having the same issue. I went to bed last night and left the phone at 90% and I turned off WiFi and LTE and 3G. Made sure all apps were closed. And woke up 6 hours later and my battery was at 75% please help us guys.
Sent from my Nexus 5 using XDA Premium 4 mobile app

WiFi is on! There is a stupid option in by google....it keeps scanning for WiFi even after your WiFi is turned off....Kinda of a bummer really...Also turn off the Hotword recognition("Ok google" crap).
hit thanks if helped

Over here on the htc one verizon we were having similar problems flashing 4.4 to 4.3 to gpe to sense that it just screwed the battery and would drain awful just like your pic
The fix came to flashing a stock ruu image which helped greatly, then just flashed back our rom of choice
But i dont know really, just giving some insight for you nexus owners!
Sent from my M7 using xda app-developers app

After I rooted my phone and installed all the root-specific tools (still on stock rom) my idle battery drain is under 1% per hour, with wifi permanently on (even during sleep).
What I've found is very effective is, make sure you force close certain apps that cause idle-drain.
Certain apps also continue giving large idle-drain even after FCing them, and a hard reboot is the only way to solve this.
Youtube is the only major culprit though, and usually shows up as "phone idle" or one of the other OS-specific ones.

@DryEagle
Are you running a custom kernel or stock? Any other root tools that you may utilize as you speak of them?

whisky_ said:
@DryEagle
Are you running a custom kernel or stock? Any other root tools that you may utilize as you speak of them?
Click to expand...
Click to collapse
i have:
stock rom (still on 4.4)
stock kernel
used cf-auto-root
xposed framework, with: bootmanager, gravitybox, crt effect disabler, batterystats permission (the last 2-3 shouldn't affect anything)
titanium backup, here's all the stock stuff i've freeze'd away:
calculator, keyboard, email, cloud print, exchange, face unlock, gmail, non-english inputs (hindi, japanese, korean etc), google movies, google music, google newsstand, google +, hp print service, keep, stock launcher, stock news+weather, picasa, talkback, tags, google wallet
nova launcher
hd widgets
sd maid (though i only use it like once a week to clear out crap)
adaway
i think that's everything really

to me it appears your phone was not going into deep sleep in the first post. Did you go into all of the sub menus and look for "device keep awake" time? I only ask because I keep my wifi on most of the time and with average use I can manage 2 days and 5-6 hours of screen on time. Catacylsm ROM and Franco kernel. 4.4.1, I've been seeing too many reports of issues when going to 4.2.2 so I've held off.

No issues here with stock CM as i lost 1% after a full charge and unplugged at 12am. Woke up this morning at 7am and still had 99%. Had LTE on (not connected), WIFI and bluetooth and NFC off. Ok Google is not running when the screen is off so that shouldn't matter. I don't have a ton of widgets and crap but Sunbeam Live Wallpaper is my normal. This is the norm for me on stock as well.
So no idea what's going on with your device but i don't have those issues with battery life.

whisky_ said:
[...]
However, the battery life on my phone has been nothing but outright poor. I haven't really kept it on stock because I flashed CM11 as soon as I got it but I tried the CM kernel and with poor battery, switched to franco. However, it has all been downhill for me. Is stock any better?
[...]
Google Play Services was eating a lot of battery but after a restart, it just stopped and I haven't had it since last night.
Click to expand...
Click to collapse
Could it have happened, that you got the buggy franco r22? There was an issue with deep sleep states, which ate a lot of battery. Update to r23 and everything should be fine for you again. If this does not fix your problem, you could try to post some Better Battery Stats - Screenshots.

@DerItaliener
It may have been because of franco R22. But the drain was insane.
@DryEagle
Thank you very much.
I am happy to report that I flashed the Google factory 4.4.2 image and flashed TWRP and rooted my phone. Installed Whatsapp & Viber and charged it to 98%. I am happy to report that I woke up to 95% of battery in the morning so a total 3% lost with WiFi turned on over night.
I'm a happy man. However, I do miss the CM specific features. Also, stock seems to be much more fluid and faster. Maybe because of being odexed?

whisky_ said:
@DerItaliener
It may have been because of franco R22. But the drain was insane.
@DryEagle
Thank you very much.
I am happy to report that I flashed the Google factory 4.4.2 image and flashed TWRP and rooted my phone. Installed Whatsapp & Viber and charged it to 98%. I am happy to report that I woke up to 95% of battery in the morning so a total 3% lost with WiFi turned on over night.
I'm a happy man. However, I do miss the CM specific features. Also, stock seems to be much more fluid and faster. Maybe because of being odexed?
Click to expand...
Click to collapse
Have you got xposed and gravitybox and the other stuff going? That adds in a whole heap of features to stock that are otherwise only available with a custom rom. Very highly recommend.

Draning about 1% every two minutes, with regular use browsing and listening to music would that be a drain issue?
Also the screen have consumed 31% in one hour! I think that an issue #?

menaaboud said:
Draning about 1% every two minutes, with regular use browsing and listening to music would that be a drain issue?
Also the screen have consumed 31% in one hour! I think that an issue #?
Click to expand...
Click to collapse
8 month necro, nice.
See the sticky thread for battery help.

Related

I can't win vs battery drain!

I used to run AOSP JB (_thalamus kernel) with every possible sync turned off (except contacts, calendar and browser) so as to maximize Deep Sleep.
I had Google Location off, location reporting off and a weather widget with a manually set city. I had deleted Talk and had no 3rd party maps app installed.
My phone would sleep great overnight (-6%) and then every time i left my house it would drain insanely (-20% per hour) without being used.
For the time being, i'm back on Rascream, but i'd really wanna join the party with JB, what could i do? (to better diagnose or...)
Did you have Google now disabled? That's a battery killer.
Sent from my Nexus S
mutantlx said:
Did you have Google now disabled? That's a battery killer.
Sent from my Nexus S
Click to expand...
Click to collapse
Yep
dinuvali said:
I used to run AOSP JB (_thalamus kernel) with every possible sync turned off (except contacts, calendar and browser) so as to maximize Deep Sleep.
I had Google Location off, location reporting off and a weather widget with a manually set city. I had deleted Talk and had no 3rd party maps app installed.
My phone would sleep great overnight (-6%) and then every time i left my house it would drain insanely (-20% per hour) without being used.
For the time being, i'm back on Rascream, but i'd really wanna join the party with JB, what could i do? (to better diagnose or...)
Click to expand...
Click to collapse
It would be easier to diagnose if you were running it right now...
polobunny said:
It would be easier to diagnose if you were running it right now...
Click to expand...
Click to collapse
I got it Nand-ed, so i can go back and try new things, but i had run out of ideas of what to do.
Have you try running Better Battery Stats to pinpoint what has been devouring your battery?
Are you online via 3G mobile data? That's a huge battery drainer. Try switching to 2G only mode especially if you don't plan on doing some hard core browsing. Or better yet, turn off mobile data and switch to 2G mode when possible for maximum battery savings.
Another thing you can try is start from a clean install, with only the ROM and all the system apps that came with it. Disable the apps you don't use, like GoogleNow for example, then add your favorite apps one by one, and see what is causing more than normal battery drain.
Sent from my Nexus S
mutantlx said:
Did you have Google now disabled? That's a battery killer.
Sent from my Nexus S
Click to expand...
Click to collapse
How to disable Google Now?
sossio18 said:
How to disable Google Now?
Click to expand...
Click to collapse
I have used BSS and the most wakelocks were cause by NetworkLocator, as shown.
{
"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"
}
Google Now was disabled, Location services were ALL disabled (including Latitude), i had no 3rd party maps apps, no google talk, no nothing.
dinuvali said:
I have used BSS and the most wakelocks were cause by NetworkLocator, as shown.
Google Now was disabled, Location services were ALL disabled (including Latitude), i had no 3rd party maps apps, no google talk, no nothing.
Click to expand...
Click to collapse
I used to have that. Disabled Google Now, logged out of Latitude (log in then out), Locations services w/ cell tower and gps disable and I used Autostarts app to disable ANY automatic start of Maps. No problem since.
Edit: Oh and that's nothing too crazy by the way. Not exactly a battery killer.
polobunny said:
I used to have that. Disabled Google Now, logged out of Latitude (log in then out), Locations services w/ cell tower and gps disable and I used Autostarts app to disable ANY automatic start of Maps. No problem since.
Edit: Oh and that's nothing too crazy by the way. Not exactly a battery killer.
Click to expand...
Click to collapse
It turned out to be 20% per hour only when leaving home (somehow the phone knew i was moving around and it just wouldn't have none of that). While sleeping, it would stay in deep sleep for 90-95% of the night.
I am not having any issues on ICS and it kinda seems cumbersome to use an app to prevent another app from starting, although i understand the idea.
dinuvali said:
It turned out to be 20% per hour only when leaving home (somehow the phone knew i was moving around and it just wouldn't have none of that). While sleeping, it would stay in deep sleep for 90-95% of the night.
I am not having any issues on ICS and it kinda seems cumbersome to use an app to prevent another app from starting, although i understand the idea.
Click to expand...
Click to collapse
I know. The last step might be extreme, but that's all I did to save myself. Otherwise sometimes maps would go crazy and just consume battery for no apparent reason.
dinuvali said:
I used to run AOSP JB (_thalamus kernel) with every possible sync turned off (except contacts, calendar and browser) so as to maximize Deep Sleep.
I had Google Location off, location reporting off and a weather widget with a manually set city. I had deleted Talk and had no 3rd party maps app installed.
My phone would sleep great overnight (-6%) and then every time i left my house it would drain insanely (-20% per hour) without being used.
For the time being, i'm back on Rascream, but i'd really wanna join the party with JB, what could i do? (to better diagnose or...)
Click to expand...
Click to collapse
Hi,
You mentioned everything but turning off your Data. I live in a horrible area with only 1 maybe 2 bars and it totally drains battery much faster.
I leave it off until i need it, plus I have everything off that you mentioned including Google now(it has its own settings which you can turn off as you are in the actual app)
IIm currently running DaXmax's JB Rom http://forum.xda-developers.com/showthread.php?t=1824381
and I have good to great battery life once I turned off everything like you did.
But I guess first try the DATA off issue and maybe it will help with your ROM
Or
try what other person said and run the ROM bare to see if its the ROM or an App you have that could be draining your battery
Good luck
vidaljs said:
Hi,
You mentioned everything but turning off your Data. I live in a horrible area with only 1 maybe 2 bars and it totally drains battery much faster.
I leave it off until i need it, plus I have everything off that you mentioned including Google now(it has its own settings which you can turn off as you are in the actual app)
IIm currently running DaXmax's JB Rom http://forum.xda-developers.com/showthread.php?t=1824381
and I have good to great battery life once I turned off everything like you did.
But I guess first try the DATA off issue and maybe it will help with your ROM
Or
try what other person said and run the ROM bare to see if its the ROM or an App you have that could be draining your battery
Good luck
Click to expand...
Click to collapse
Considering that i'm not changing the radio when switching from ics to jb, nor am i having low bars on jb, i don't see how data could be the source of the drain. (nor am i willing to run a ROM without data).
Thanks for all you replies (i've thanked you all) and i'll try to Autostarts app when i get the chance.
Autostarts is a great application. I always use it to keep Maps under control.

[Q] Moto G idle battery drain

Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
What kind of battery do you have?
fertchen said:
Hi,
I have searched the forum for this and even though there are a number of cases they all seem different from this one. Instead of confusing matters more I decided to open a separate thread.
My Moto G (European version, en. DE, Android 4.4.2) so far had always been running for 7-10 days on a charge. Mobile data is off, GPS is off, data is off, WiFi is on only occasionally, no calls at all.
This has changed. My use is the same but the battery now drains at around 1.5-2% per hour, effectively cutting running time in half.
The only thing I (consciously) changed was to install SwiftKey. I have read that there have been issued like this with a previous version of it but that seems to have been fixed since 4.4 or so. Either way my other android device handles SwiftKey well so I am really not sure what might be causing this.
Of course I removed SwiftKey but that did not fix the problem.
The OS reports this battery usage: idle 35%, display 27%, cell standby 23%, Android system 5%, Android OS 3%.
Also I have no idea what kind of background update might have been made without me knowing it.
Do you have any idea what might be causing this? Is anyone of you experiencing the same issue?
Click to expand...
Click to collapse
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
mugenbatteriesOwner said:
Just curious to find out what kind of battery do you have and where did you purchase it? It may be the new installation but hard to tell.
Click to expand...
Click to collapse
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
fertchen said:
What kind of battery I do not know - I did not change anything on this phone and as far as I know the battery can not be removed. I bought the phone in early January 2014, it was one of the cost to be delivered and still had the previous android version (4.3?) back then.
Click to expand...
Click to collapse
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
NextGenGTR said:
Go to developer Options in settings and if you do not have this option then go to About Phone and tap 5 times on Build Date or number (should be last one) then go to "PROCESS STATS" which is under "ENABLE BLUETOOTH HCI SNOOP LOG" and when you are at process stats click on the three dots on top right and change the duration for 1 day and then you might be able to find the application that is running in the background constantly, mine is Facebook lol and Facebook Messenger....
Click to expand...
Click to collapse
this is mine lol
{
"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"
}
bublz654 said:
this is mine lol
Click to expand...
Click to collapse
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
NextGenGTR said:
From that i cant see anything but im sure that you are facing a wakelock from the qcamera2factory, you usually get this wakelock from apps such as Skype and Snapchat, force close these types of applications and hopefully you will get your great Battery life back. Those apps didnt allow me device to enter deep sleep so i was loosing a lot of battery life and to check if you have this wakelock you need root because of kitkat permissions but if you dont want to root then just force close those applications and wait a few days and test it out.
Click to expand...
Click to collapse
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
bublz654 said:
what's qcamera2factory ? yeah I am rooted, I hibernate my apps with greenify whenever I can. what app can you suggest for viewing battery stats and wakelocks ?
Click to expand...
Click to collapse
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
NextGenGTR said:
Just search wakelock detector on Play store and it should be the first application there. The qcamera2factory is a wakelock inside of the "Media Server" wakelock. Check how long your device has been on for and how much screen on time you have and compare to how long you have had deep sleep, if you have like 10 hours of on time and 1 hour of screen on time you should have about 9 hours of Deep sleep, if it is anything weird like 1 hour or 2 hours then you have something preventing your phone from deep sleeping.
Click to expand...
Click to collapse
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
bublz654 said:
OK I'll search for that app . what happens if I'm on my phone all the time n don't switch off screen. does that count ?
Click to expand...
Click to collapse
lol if you are on your phone all the time then you will see somethinh like this xD 10 hours on time - 9 hours screen on time and 1 hour deep sleep. lol
https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector is this it ?
Hmm... No app like that (Skype etc.) is running on my phone. Could it be the camera app itself? Never had any issues with that before though.
My phone is not rooted. I just want to use it in place and not think about it too much. Researching which is the best path to root for Moto G was to mich for me back when I bought it and I have been happy with it or if the box - so far...
here was my stats after one night. kernel wakelock
CPU wake lock
in kitkat, wakelock policy was changed and you cant clearly see any system wakelock without root (i have tried many apps like wakelock detector and there is nothing to see in compare with Jelly Bean 4.3)
i had this annoying battery idle drain - it happened randomly, sometimes battery ran 7 days with light usage of phone but sometimes 30-40% was gone in 24 hours = 1-2%/h
i didnt have any apps installed like Skype, Facebook, or any other "keep awake" app - i also set up my gps, wifi settings, nothing helped
i also switched to ART runtime..again, didnt help
i decided to switch back to factory Jelly Bean 4.3 - you CAN flash stock ROM without unlocking bootloader (im locked without root) and now im running 4.3 with battery drain 0,1-0,4%/h in idle...battery life is now amazing - final battery drain is always ~0,6%/h (light usage)
im charging my phone from 30% to 80% and now it enough for 3 days ! for my 6h night it is only 1-3%
in background i have 3 apps running for battery monitoring (battery hd, batterydrain [analyser], gsam battery monitor) and few schedule apps...i disabled unnecessary apps like motocare and few other google/motorola apps
yes, im missing better alarm (kitkat), better RAM (now i have 60-100MB less...but if 380MB free or 460MB free...it doesnt matter for me) and some other little things that everything i can handle for MUCH MORE BETTER battery :good:
Mine drains 10% when it's in plane mode per hour...
But others days can last longer for at least 8-9 hours of screen time.
Is your phone running hot? I've had a problem with some custom kernels that caused my phone to run hot and drain fast without any visible signs.
this is after some time. im concerned by the second one on the list because it has Wheelock's at the end of name and it has x1441
I just rooted the thing and installed Greenify and GSam Battery Monitor. Now I'm down to 0,3-0,4%/h. That is fine for me.
It is a bit sad that it had to come to this but that is how the world works these days, I guess. Isn't it amazing how mch technology we can fit in these small packages?
0,3-0,4%/h is amazing !
im on 0,34%/h as final result now (BatteryDrain [Analyser])
yesterday i ended 5 days cycle on 53% battery i charged to 82% then with very light usage i need to charge after 5 full days (120 hours) on 29% (= no idle battery drain)
this idle battery drain is not hardware related, its issued by (stupid) KitKat - i really dont believe that it will be fixed in any next release (4.4.x or 5)
im enjoying JellyBean 4.3 much more than KitKat - all you need is flash stock system image WITHOUT unlocking bootloader/root/losing your warranty

[Q] New owner of my OPO and experiencing battery issues :(

Hi all, I've just purchased a OPO 64GB and have been using it for 2 days. So far, I'm not liking it.
I've tested the official 12S ROM and while everything was fine, the battery drain is just unbearable. I understand the issue is main due to the GPS v7.3.29 systemupdate wakelock, but CM already has the fix applied and I've even applied this as well:
http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
I've also tried reverting GPS to an older version but it didn't help. The battery drains regardless of GPS and I don't even have any of my apps installed other than BetterBatteryStats! Why don't I have apps installed? My habbit is to test out the raw stats of any brand new phone I purchase so I have some sort of benchmark to compare against.
So I thought, OK maybe CM 12s has issues, I'll try another ROM. I've tried Smoki's ROM and still has battery drain. I'm now testing BlissPop, again the same. Keep in mind, I don't have anything installed other than BetterBatteryStats. Currently on BlissPop (latest version), I'm seeing a 1 hour wakelock on Android system while the SOT is only 5 minutes. That's rather ridiculous.
I've done a lot of research and have seen good reviews on the Exodus rom, however that's currently 5.0.x I believe and I kinda want to move forward to 5.1 roms. I realize that most 5.1 roms are probably still in early stages (although some rom chefs tagged them as "Stable" so who knows), but still it seems like most roms have more or less the same common issues. From what I've researched, many people tried out various combinations of roms + kernels and had more or less the same result.
I've also seen many people reporting getting only 2~3 hours or probably 5 hours of SOT and not many able to achieve past 6~7 hours. Of course, I'll be installing Greenify, Disable Services and Servicely to tweak it a bit, but just disappointed that even on stock settings, most roms I've tested have more or less the same result. Just wondering if there's anything I can do to fix it because from what I've researched, the only thing that can be done is just keep trying new roms and kernels and that's just a waste of time and experimenting constantly doesn't guarantee results.
I realize I'm ranting a bit here, but having come from my Galaxy Note 3 and Galaxy S5, the battery life on my OPO is just way too unbearable.
PS: I've updated my firmware to the latest and factory reset and wiped everything (except internal storage). I've been in the scene for ages so I know what I'm doing, yet this phone just drains battery like crazy and BBS doesn't pick up anything abnormal.
Try this
http://forum.xda-developers.com/showthread.php?t=2832525
It'll stop your GPS drain dead in its tracks.
XDA Moderator
Transmitted via Bacon
Hi timmaaa, thanks for the reply.
I've actually came across your thread a long time ago and have already applied the suggested tweaks. However GPS isn't really the issue here, it's not showing much drain under BBS.
I did notice the com.cyanogenmo.lockclock.cLock partial wakelock and it seems to be caused by the clock app? I've disabled all the weather settings for cLock and that didn't help. Currently I've frozen it with Titanium Backup and the time on my status bar still works. Weird thing is, BBS still shows the partial wakelock time counting up. I am using BBS (paid version) v2.0. I know that there's a new beta version that's compatible with Android 5.1 so maybe the current BBS I'm using isn't working fully with 5.1 yet, so may be displaying incorrect/outdated data despite the apps being frozen.
I'll also start to apply some tweaks for Disable Services, but yeah the drain even on idle is just disappointing. It's a good phone and I appreciate all the chefs for making their custom roms, but just so frustrated after having purchased a new phone. I've done my research on it and thought I could deal with the battery issue but wasn't expecting it to be this bad. Or maybe I'm just used to my Galaxy S5 having 9 hours of SOT....
chaoscreater said:
Hi timmaaa, thanks for the reply.
I've actually came across your thread a long time ago and have already applied the suggested tweaks. However GPS isn't really the issue here, it's not showing much drain under BBS.
I did notice the com.cyanogenmo.lockclock.cLock partial wakelock and it seems to be caused by the clock app? I've disabled all the weather settings for cLock and that didn't help. Currently I've frozen it with Titanium Backup and the time on my status bar still works. Weird thing is, BBS still shows the partial wakelock time counting up. I am using BBS (paid version) v2.0. I know that there's a new beta version that's compatible with Android 5.1 so maybe the current BBS I'm using isn't working fully with 5.1 yet, so may be displaying incorrect/outdated data despite the apps being frozen.
I'll also start to apply some tweaks for Disable Services, but yeah the drain even on idle is just disappointing. It's a good phone and I appreciate all the chefs for making their custom roms, but just so frustrated after having purchased a new phone. I've done my research on it and thought I could deal with the battery issue but wasn't expecting it to be this bad. Or maybe I'm just used to my Galaxy S5 having 9 hours of SOT....
Click to expand...
Click to collapse
I use BBS 2.0 as well so that isn't the issue. I've heard of the cLock app causing issues before but I can't remember if there's a solution or not. Exodus is indeed very good for battery life, but still waiting on the 5.1 update for that one. Nameless ROM is also quite light on the battery, they're not on XDA but you'll find a link to their G+ community in my signature if you want to try it out.
XDA Moderator
Transmitted via Bacon
Lockclock
Set location to manually
And update to never
Make sure you turn off daydream and ambient display in the display settings
Thanks for the rely waterdaan. Already tried what you suggested and currently it's frozen by Titanium Backup. Still had wakelocks though. It only disappeared after several reboots and now I'm getting Google Play Store *alarm* partial wakelocks instead.
Pull out your SIM Card or switch to Airplane mode. If it's gone then, it's your carrier's fault.
Update:
My phone has been in deep sleep over the past 13 hours. I haven't plugged in my SIM card in yet and it's been on airplane mode this entire time. Data roaming options are disabled and it's on 2G right now, data turned off. BBS now shows that it holds an alarm count of 75 for the connectivityservice_pkt_cnt_sample wakelock.
I've tried the suggestion in post #5 here:
http://forum.xda-developers.com/moto-x/moto-x-qa/connectivityservice-wakelock-wifi-off-t2899450
Didn't help though. Under partial wakelock, everything looks fine except Google Play Store *alarm* is holding a wakelock of 8 hours 30s with a count of 2. I don't understand this because the Awake and Screen On time is very close, Deep Sleep is close to 13 hours, the BBS graph looked normal to me, yet somehow Google Play Store is holding a wakelock??? By the way, I've also frozen Google Play Store so I'm not sure why it's holding a wakelock. I was getting the same thing prior to it being frozen.
Not sure if I need to apply the fastdormancy tweak to address the connectivityservice wakelock issue, I guess I'll need to test it out.
Update 2:
Unrelated to fast dormancy. Have updated to OxygenOS modem (00241):
http://forum.xda-developers.com/one...dio-updated-modem-radio-files-oxygen-t3072516
Still getting the damn connectivityservice alarm wakelocks though. Will probably switch to Exodus and try it out or switch to 44S and see how that goes...
Fastboot flash cm 11s 44s. Greenify donation package/xposed + amplify. Root it then download root uninstaller and remove all bloat such as Google plus etc. In privacy guard turn off wake up and keep awake and location in apps such as Facebook, messenger, play store and Google play services. Do this and report back and you will be amazed, well I was. I had maximum of 2/3h SoT literally 2 days ago . I've done all above yesterday and boom over 8h of SoT! You can find my thread if you don't believe where I ask for tips on what to do and why my battery was so terrible on lollipop. I'll attach few screenshots
{
"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"
}
wow that's pretty damn good!
What settings do you use for amplify and greenify? I have both paid versions and have been using it for ages but to be honest I don't think they help improve my battery much. I've applied most of the settings suggested here:
http://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
I don't use facebook, google plus etc. I keep everything at stock and have very little apps to be honest. Kinda wanna stick to lollipop but if kitkat gives better results, I guess I can give it a try.
I used to love flashing roms but now just don't have the time. I'm also getting frustrated and sick of it too because it takes so much time and effort to test it and troubleshoot for wakelocks etc. I just want something that works out of the box without having to worry so much about fixing things....
Sorry for the late reply. Hmm, with amplify I block all the wakelocks and alarms I can that won't affect my phones functionality, if I'm not sure what one does I let it turn on every 240seconds but I make sure to test it before leaving it. For greenify, I hibernated everything except of whatsapp and apps like adaway or android system apps etc as to lollipop, I was never able to reach more than 5h SoT so yeah I was pretty pissed because I'm one of them people that if I see someone reach 8h SoT, I myself must get 9h SoT haha. Lollipop was supposed to give better battery life but I don't see it as of now. Also kitkat seems to be more stable for me haha . In addition you could play with profiles so for example if you're only texting you can change the performance profile to power saving. You can set it up so that it's in your notification toggles. I have also heard that lollipop doesn't turn off 3g on deep sleep or something like that thus draining more battery that kitkat but who knows you can always play in multirom and see what suits you best.

Inaccurate battery monitor?

Nexus 5, 16GB, MRA58N (stock, not rooted)
Anyone else notice that sometimes the power percentages shown for each process in the battery monitor do not add up to the total battery drain?
I am finding that sometimes they add up to within 1% of the total shown.... and sometimes they are WAY off with as much as 30% of the displayed battery drain unaccounted for.
Since I don''t have access to the battery terminals, I can't determine independently whether the percentages shown are simply inaccurate, or whether there are missing processes (ie., processes not shown at all in the battery monitor).
Paul
Further on this..... here is a screen shot from today. It was pretty accurate until I left the house for several hours. At that point (and accompanied by less than stellar cell signal levels), the battery drain increased significantly as expected with lower signal levels but that did not seem to show up on the usage stats.
{
"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"
}
I know this does not show all the entries, but the rest of them were between 1% and 2% and the total added up to about 30%, not the 70% drain shown in the graph.
Paul
This has been happening since the first Lollipop release. Not only on the N5, but also the N7 2013. There isn't a known fix, but for what it's worth, I think it's radio related.
Some days I seriously consider going back to KitKat, I miss 0.2% drain per hour overnight I could consistently achieve with it. And I didn't have to reboot twice a day to stop the stupid drain. It was just better. I think Lollipop was rushed, and it's been a ****show ever since. The other day, I even went so far as to download SlimKat v9 stable, still available on their website.
Ah, good to know it isn't just me. Your suspicion that it is the radio makes some sense.... when it happens to me it is usually after transitioning from WiFi to cell data and with a sub-optimal signal level.
Did you say 0.2%/hour on KK??????? Please elaborate! Best I could ever do was about 1.2%/hour and that was after a LOT of optimization. But that was on my 2013 Moto X. I replaced the Moto X with the N5 when Motorola abandoned us on 5.1, which made my Moto X very unstable.
Is 0.2%/hour possible with KK on a stock non-rooted N5 with no apps updating in the background but with BT, cell and WiFi on and sitting idle on WiFi? What revision level? Or does that require root and Greenify? If anything close to that level can be had on stock I think I'll try flashing it. I had no other issues with KK, I don't mind setting my phone up again and there is nothing except doze that I will miss on MM (so far).
Paul
pgoelz said:
Ah, good to know it isn't just me. Your suspicion that it is the radio makes some sense.... when it happens to me it is usually after transitioning from WiFi to cell data and with a sub-optimal signal level.
Did you say 0.2%/hour on KK??????? Please elaborate! Best I could ever do was about 1.2%/hour and that was after a LOT of optimization. But that was on my 2013 Moto X. I replaced the Moto X with the N5 when Motorola abandoned us on 5.1, which made my Moto X very unstable.
Is 0.2%/hour possible with KK on a stock non-rooted N5 with no apps updating in the background but with BT, cell and WiFi on and sitting idle on WiFi? What revision level? Or does that require root and Greenify? If anything close to that level can be had on stock I think I'll try flashing it. I had no other issues with KK, I don't mind setting my phone up again and there is nothing except doze that I will miss on MM (so far).
Paul
Click to expand...
Click to collapse
Actually 0,00%/h can be achieved on LP and probably on MM too.
A couple threads to give you clues (and proofs ):
http://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Ouch! Reducing my standby drain has been a mild obsession with me but the steps on those sites are way beyond what I'm willing to devote to it
Just for grins I flashed KK 4.4.4. Too early to tell for sure, but while my standby drain is not quite as good as I can get in MM with Doze active, it does seem to be more consistent and the various battery percentages in the monitor did add up to the total reported drain. Lets see if this continues. If so I may just leave it on KK for a while. Now if I could only find a way to get rid of the "System Update Available" notification.....
Sooooo nice to have a phone that allows easy flashing of any firmware I want!
Paul
It just dawned on me what you all (I think) have been talking about.... the cell or WiFi standby current suddenly is significantly more than the nominal level that is used to calculate the battery percentages. Right? I have always assumed the battery percentages were MEASURED, which is why I was puzzled by the fact that they didn't always add up correctly. But from what I read, they are CALCULATED based on an ASSUMED nominal consumption (unlike my laptop, which actually measures and integrates charge current delivered and discharge current withdrawn). So what I have been reporting in this thread is probably the same "cell standby" issue everyone has been talking about..... and that I didn't think I was experiencing
OK, I get it (I think). Now that I am happily reverted to 4.4.4, I think I'll wait a couple days and see if people start reporting that it is fixed in 6.0.1.
Paul
@Primokorn
Thank you for these links. I was aware of the existence of Amplify, but had never used it. I tried it, and while it did help curb the wakelocks and alarms, I don't think they are the problem. BBS never reports any runaway wakelocks when I mysteriously lose 20% overnight on Lollipop and Marshmallow.
@pgoelz
I apologize, I meant to reply earlier but got busy. Back when KK was new, the only thing I used was Greenify. I used device only location, on 2.4GHz wifi, sync on, with little to no cell signal. I don't think you really need Greenify though, it's kind of outlived it's usefulness You just need to avoid garbage apps like Facebook.
Anyhow, I flashed SlimKat v9 stable, ParanoidAndroid KK pico gapps, and franco.kernel v63. Pretty much what I used to run back in the KK days. I did eventually switch to code_blue kernel, but the last KK version sometimes caused apps to freeze. I wouldn't use stock ROM and kernel on KitKat. But if you really want to, there are ways to disable the OTA popup. You can use Xposed and Gravity Box, or I think there are also some files you can delete. But you don't really need GravityBox with SlimKat.
I was also on the KK KTU84Q bootloader and radio, but my signal wasn't good enough, so I flashed the 6.0.1 radio released earlier today. Currently running the above ROM/kernel with MM 6.0.1 radio.
Now all I can do is install BBS and wait.
6.0.1 is an update that adds emojis, some weird tablet layout, and a few security fixes. Nothing else.
Thanks for the heads up re: 6.0.1. I think I'll stay on KK for the moment. Battery life isn't as good as it is on MM when doze is dozing and cell isn't draining, but it seems more consistent and predictable. I'll wait for 6.1 to be released. Maybe I'll take a side trip to CM land in the mean time.....
Paul
pgoelz said:
Thanks for the heads up re: 6.0.1. I think I'll stay on KK for the moment. Battery life isn't as good as it is on MM when doze is dozing and cell isn't draining, but it seems more consistent and predictable. I'll wait for 6.1 to be released. Maybe I'll take a side trip to CM land in the mean time.....
Paul
Click to expand...
Click to collapse
My first night running it got me 0.3% drain per hour. Are you running social media or chat apps? Also, I would recommend giving my setup a try if you're feeling patient.
No, I don't run social media or chat apps. With the exception of calendar and contact sync, any other installed app (mainly Email) is set to manually sync and where possible do NOTHING unless I am actively using it. My concept of a smart phone is that I want a smart phone when I am looking at it and a dumb phone (phone calls and texts only) when I am not. I'm trying to get back to the week of standby I used to get on my last flip phone
Marshmallow and doze get me there and would be even better if we could disable the motion sensing part. But whatever issue is causing my sporadic battery drain (that does not show up in the battery percentages but DOES sow up in the graph) negates that.
I do not plan on staying on KK long term so I'm not sure it is worth the effort to go through your setup but I may get bored at some point and give it a try. Hopefully, the battery drain issue will get fixed soon and I can go back to MM. Or maybe CM13 will be the answer... I have read suggestions that it might allow some customization of the doze functions.
Paul

Standby drain

When you sleep, does your phone sleep, or does it stay up all night and crunch 1s and 0s? Rate this thread to express how you deem the speed at which the Xiaomi Mi 5's battery drains under standby conditions. A higher rating indicates that when the phone is not in use, the battery drains minimally.
Then, drop a comment if you have anything to add!
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
This one is from mine:
{
"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"
}
It's 20% over 9 hours, so it's around 2% per hour. Everything is still on: sync (3 email accounts, 7 social media apps), wifi, bluetooth, etc.
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Khazidhea87 said:
I'd really like help with this area, if anyone can give me any advice. If I charge my phone to 100% at night then unplug it, when I wake up in the morning it's down to less than 50%. This is with pretty much nothing on, no wifi, data, bluetooth etc. This happens most of the time, but not all the time (when it doesn't I can get a few days of use out of the phone), and I've yet to identify and fix the exact cause.
Haven't empirically tested, but I seem to get more battery life when in continual use (listening to music off and on, etc), then when resting overnight/for long periods.
I can give any details needed, but I'm using Cyanogenmod 13.0-20160908. Have tried Doze, and GSam (can post any logs if I know what's useful), and Wakelock detector. Would changing roms help?
Click to expand...
Click to collapse
Hi Khazidhea,
I can tell for sure that it is NOT NORMAL that your phone drains about 7 to 8% of battery life each hour !
Especially if you disconnect Wi-Fi and BT.
The only thing I can think of, is that you are in an area where the phone constantly switches from 3G to 4G to get on the network.
Of course, if you have 2 SIM cards in that phone, that may increase the drain significantly...
I think that if you are on Cyanogen, there is an option in Settings that is called "SIM Cards".
If you select that option, you should be able to have some access to settings for each SIM Card.
Try to select one and look for the option called "Preferred Network" and select something like "WCDMA" or "GSM" (that is 2G in the US and 2G in Europe).
See if that improves...
As far as I am concerned, I run my Xiaomi mi5 with a ROM called "Tipsy-OS" that I have compiled myself...
So far, I am unplugged since 2 hours, have used the phone with 4G, BT, Wi-Fi, automatic updates of apps, mail retrieving, applied themes via substratum... and lost 2%.
So no, 8%/hour without doing anything is NOT NORMAL !
Regards.
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Khazidhea87 said:
I finally ended up fixing this. Simply changing the setting "Preferred network type" from 4G to 3G made my battery usage change from about 2/3 of a day, to up to 4 days, with my typical pattern of usage. Note that when my battery was being drained before I did not have data turned on, so not sure why that ended up being the fix.
Click to expand...
Click to collapse
If 4G coverage is bad in your area, it will trigger reconnection over and over again, causing battery drain. The protocol itself is indeed more battery consuming in general, but shouldn't have much gap with 3G under the same coverage quality.
% 5 full network bltooth
seems mine 1-2%per hour all sync on, wifi.
avatar_ro said:
If anyone could post the standby drain overnight it would be great. I would like to know how much % is lost during night time....
Click to expand...
Click to collapse
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
eLdeRay Owner said:
My own experienced...with plane mode active from 3am till 9am...100% to 98%....
Click to expand...
Click to collapse
I can confirm same here LOS airplane mode = 0am till 6am 100% to 98 or 97 % so at max decrease a 1/2% an hour.
In a non-airplane mode with WiFi connected I get a bit more than 1%/h with greenify activated.
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
mafish said:
I posted in another thread but i've got no answer.
I decided to switch to Global Dev ROM thinking it might solve my battery issues, but it only got worse, im getting around 40% battery drain overnight. Any ideas???? I don't have mi sync enabled, google play is set to not auto-update apps, i barely use mobile data, so only wifi.
Click to expand...
Click to collapse
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
georgekav33 said:
seems like a wakelock, the global dev is the official? Did you install any other app of it's like that after the wipe and flashing? Check for wakelock detector apps in the store
Click to expand...
Click to collapse
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
mafish said:
Official Global Dev, so i noticed that "Lite Messenger Facebook" was draining the battery like h3ll, i uninstalled it and now i've been using my phone for an entirely day browsing/email/duolingo and half battery has gone, the way it is going i will have to charge every 2 days or so. In the meantime i might just use facebook messenger through the browser.
Although Global Dev is fine, there are some bugs and MiFit does not want to sign in, i might go back to Global Rom when 8.2 comes out to Mi5.
Thank You!
Click to expand...
Click to collapse
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
krotin said:
Try this : if you had flashed your devices maybe you could calibrate your battery.
You can find 'Battery Ultra Saver' on xda store
Have a good day.
Click to expand...
Click to collapse
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
mafish said:
I didn't know about xda store, that is really cool!
I downloaded Battery Saver Ultra, and i am calibrating my device now
Thanks and have a good day too.
Click to expand...
Click to collapse
i could not find xda store.
inov said:
i could not find xda store.
Click to expand...
Click to collapse
It is actually XDA Labs
Here is the link to the page, also the page has the link to download the APK
https://www.xda-developers.com/xda-labs/
During the night (8h) I can lose 2-3% (without wifi, BT, LTE...). I'll try Battery Saver Ultra tonight ! Thanks

Categories

Resources