I can't win vs battery drain! - Nexus S Q&A, Help & Troubleshooting

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.

Related

New Facebook app killing the battery?

I just updated to the newest Facebook app. Looks pretty nice. Back out of it and shut the display off. Pick my phone up like 15-20 minutes later and 10% of my battery was gone, about. I check Spare Parts, under Partial Wake Usage and Facebook is at the top of the list with a giant bar. I checked running services and it's got a Facebook Service that stays running apparently. I closed it.
Just want to see if anyone else experiences the same type of battery issues with the new update.
It's possible, my phone is down to 82% right now and the screen has been off almost the entire time since I unplugged it at 7:30am...
Now it's down to 81%. And yes checking in spare parts and Facebook is at the top of the list with an almost full bar and next in line is Android system with a small sliver.
I'll have to keep an eye on this to see if somethings going on.
Not that I've noticed, but System Panel shows it is using some CPU, which I don't recall the other version doing. I have refresh off, but notifications on.
I killed the process and it seems to have gone back to normal. I really didn't give it that much of a test admittedly, but it really seemed like Facebook was constantly polling for notifications.
I can't wait for 2.2 and push notifications from regular apps.
Yeah my battery is down to 74% now, I just killed the app and will see how things look in another 20 minutes.
Since killing the Facebook process my battery has remained at 74%, so I'd say thats a good confirmation of your thoughts on this new version being the culprit.
yep... mine's doing it too. if you go into the sync settings and turn off syncing for fb, it looks like it stops. i actually have syncing and notifications both turned off and mine appears to be ok now.
yeah, how the hell do you release a new version and have this big of a bug in it. i mean come on, why would it not let the phone go to "sleep". none of the other apps that poll for data every once in a while have a problem letting the phone go back to sleep after they are done.
marclile said:
yep... mine's doing it too. if you go into the sync settings and turn off syncing for fb, it looks like it stops. i actually have syncing and notifications both turned off and mine appears to be ok now.
yeah, how the hell do you release a new version and have this big of a bug in it. i mean come on, why would it not let the phone go to "sleep". none of the other apps that poll for data every once in a while have a problem letting the phone go back to sleep after they are done.
Click to expand...
Click to collapse
correction... i have had syncing and notifications turned off for the past few hours and i just checked again and Facebook has kept the phone awake the whole time. time to uninstall it i guess.
{
"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"
}
Yup! I noticed this too since updating Facebook last night. MASSIVE battery drain.
Here is 100% clear proof. Since last night after updating Facebook, my phone was "in use" for 13 hours and 15 minutes, with Facebook on and holding partial wake for the majority of that time...
And here is a great app I use called Battery Graph. I updated Facebook around 1 and went to bed around 1:45. Notice how my battery just gets absolutely destroyed while I'm sleeping (even with the phone in Airplane Mode).
Using a task manager to kill the app might work temporarily, but if anyone knows of a permanent fix, please post!
Great. So what's the fix, turn off syncing? Notifications? Both?
I hadn't noticed any problems today in terms of battery, but last I looked it had kept the phone awake.
khaytsus said:
Great. So what's the fix, turn off syncing? Notifications? Both?
I hadn't noticed any problems today in terms of battery, but last I looked it had kept the phone awake.
Click to expand...
Click to collapse
i thought that would fix it. and it looked like it might have today when i tried turning off both options because i checked a few times after turning them off and the phone was going to sleep.
but i just checked a few minutes ago and it still kept my phone "awake" almost the whole time after turning off the options.
i don't know if anyone else can confirm that turning off those options works or doesn't work but it didn't work for me.
i sent something over to Phil at Android Central. i hope that he can confirm this, even though it definitely looks like it's effecting all phones, and post an article or something. i don't really have a loud enough voice to let everyone know that there is a problem
I uninstalled the update, and waiting for the next update..
Sent from my HTC Legend using XDA App
marclile said:
i thought that would fix it. and it looked like it might have today when i tried turning off both options because i checked a few times after turning them off and the phone was going to sleep.
but i just checked a few minutes ago and it still kept my phone "awake" almost the whole time after turning off the options.
i don't know if anyone else can confirm that turning off those options works or doesn't work but it didn't work for me.
Click to expand...
Click to collapse
Doesn't work. I had sync, and notifications all turned off, still kept phone awake. I even rebooted the phone, then loaded the facebook app again (double checked notifications and sync were still off)... and it stayed awake for an hour sitting in my pocket.
JPDyno said:
Doesn't work. I had sync, and notifications all turned off, still kept phone awake. I even rebooted the phone, then loaded the facebook app again (double checked notifications and sync were still off)... and it stayed awake for an hour sitting in my pocket.
Click to expand...
Click to collapse
that's what i figured. way to go facebook
this kind of sucks too because i actually think that the new version is a step in the right direction for the app. it is finally starting to look polished. hopefully they put out an updated version that fixes this.
Having the same issue, I updated to the new Facebook post Froyo update for my Evo. Getting same massive battery drain, and awake time staying almost identical to up time. I also caught the service in "running services" and found that it took 10mb at the start and constantly grew in size over time of the phone being on.
splmonster said:
Having the same issue, I updated to the new Facebook post Froyo update for my Evo. Getting same massive battery drain, and awake time staying almost identical to up time. I also caught the service in "running services" and found that it took 10mb at the start and constantly grew in size over time of the phone being on.
Click to expand...
Click to collapse
great... it refuses to let the phone go to sleep AND is has a memory leak. awesome
marclile said:
great... it refuses to let the phone go to sleep AND is has a memory leak. awesome
Click to expand...
Click to collapse
Yeah basically what I had to do was uninstall the update and go back to old version. I also had to delete facebook out of accounts/sync.
You can uninstall the updates on the evo..just go to applications and theres a option for unistalling updates...im glad since i didnt have to unistall the app
alextrox69 said:
You can uninstall the updates on the evo..just go to applications and theres a option for unistalling updates...im glad since i didnt have to unistall the app
Click to expand...
Click to collapse
Also make sure you remove the account it adds to Accounts/Sync.

Poor battery life - help needed

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.

[Q] Abnormal battery drain while deep sleep

Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
{
"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"
}
Found solution: Turn-off Double-tap to wake.
soralz said:
Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
Click to expand...
Click to collapse
I too have the same problem, i have tried disabling Google play services wakelock and few other services mentioned in other thread still no change.
i am on Stock cm11s stock kernel running on ART(tried on dalvik too).
Are you guys using quiet hours?
Transmitted via Bacon
timmaaa said:
Are you guys using quiet hours?
Transmitted via Bacon
Click to expand...
Click to collapse
I think I found the culprit. Disabling double-tap to wake the battery won't drain anymore.
timmaaa said:
Are you guys using quiet hours?
Transmitted via Bacon
Click to expand...
Click to collapse
No.
soralz said:
I think I found the culprit. Disabling double-tap to wake the battery won't drain anymore.
Click to expand...
Click to collapse
I will try that and report back tomorrow.:fingers-crossed:
soralz said:
Hi guys as per title, my OPO drain battery like crazy during deep sleep. Like I unplugged at 1am (100%) then today I wakeup 10am now it left (89%) only, drained 11%!!! WiFi, Data all off just normal standby only.
Is there something wrong with my OPO? Because before that it only drained 1-2% with the same deep sleep duration.
No wakelock, awake or whatever, probably the battery faulty already? I just got it 1 month ago only, how could be so fast???
CM11 0806 nightly, stock kernel.
Click to expand...
Click to collapse
How come your phone sleeps? Did you patch the Google Services 'Always awake' bug yourself?
Same thing is happening to me except it's more severe. I'm not sure if it's because I put it onto airplane mode or not. Lost 25% overnight and phone was completely dead...
BTW I disabled quiet hours and I've done the disabling of the Google framework update thing and wake lock.
Sent from my One using XDA Free mobile app
7ewis said:
How come your phone sleeps? Did you patch the Google Services 'Always awake' bug yourself?
Click to expand...
Click to collapse
Nope. You can go to Settings > Privacy > Privacy Guard > Advance Settings > Choose Google Play Services and selec Keep Awake > Denied.
tssphysicsboi said:
Same thing is happening to me except it's more severe. I'm not sure if it's because I put it onto airplane mode or not. Lost 25% overnight and phone was completely dead...
BTW I disabled quiet hours and I've done the disabling of the Google framework update thing and wake lock.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
Try turn off double-tap to wake?
I need double tap to wake though... ? just now I left the phone idle and not doing anything dropped 1% over two hours with wifi on no airplane mode...
Seems like the drain is random?
Sent from my One using XDA Free mobile app
I have a "similar" drain problem, but it's different :cyclops:
Stock CM11s is really fine, i lose 0.2% or 0.3% per hour onernight in flight mode (or without simcard)
But all variant of Nightlies, Slim, Mahdi... I can't get descent battery life.
Still near 1% per hour, too much for me !
It's probably not a rom related problem, but perhaps a GApps drain problem.
I usually have BaNks GApps, latest minimal ones.
I must do a test, fresh flashing a custom rom, without GApps to isolate problem, to see drain without Google services.
Is there a tasker option for it, i dont want to turn off and on tap to wake ^^
here is my drain disabled all google play services on the screen shot an hour has been drained look at the shots awake and screen on time
Just an update, after following two threads about disabling the google services it seems to finally work. So it has nothing to do with double tap. Dropped one percent over 7 hours
With airplane mode on. No drain. Will try again tonight to make sure it's not just luck.
Sent from my One using XDA Free mobile app
I went into privacy guard and denied everything for Google play services apart from location and it deep sleeps well. With no noticeable downsides to my Google apps.
Sent from my One using Tapatalk
tssphysicsboi said:
Just an update, after following two threads about disabling the google services it seems to finally work. So it has nothing to do with double tap. Dropped one percent over 7 hours
With airplane mode on. No drain. Will try again tonight to make sure it's not just luck.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
DoubleTap is a hardware feature, so it can't drain battery.
luminouche said:
DoubleTap is a hardware feature, so it can't drain battery.
Click to expand...
Click to collapse
Huh? That's like saying the screen is a hardware feature so it can't drain battery. It's incorrect. The double-tap to wake feature is heavily dependant on the kernel, and in some circumstances can (and has been proven to) drain battery.
Transmitted via Bacon
timmaaa said:
Huh? That's like saying the screen is a hardware feature so it can't drain battery. It's incorrect. The double-tap to wake feature is heavily dependant on the kernel, and in some circumstances can (and has been proven to) drain battery.
Transmitted via Bacon
Click to expand...
Click to collapse
The implementation is supposed to be done right on the oneplus but nevertheless I'll try disabling it again. In fact all gestures. Even on the m7 with a more hacky wake features, I never saw more than 5% drain overnight.
I run about 3 different tools to ensure my battery is used the way i want it.
1. Greenify - this will hibernate and auto hibernate apps when not in use. I also use the Xposed to boost it more with experimental features.
2. Wakelock Detector - Almost a must if you are having drain issues. This app will tell you the culprit each time
3. Titanium Pro - Freeze crap that wont go away.
I had the play services issues before. I went to my settings -> accounts -> sync options for each and toggled off the play store. I also went into apps/play services and cleared data/cache. I remember it didn't go away entirely and I found that Google + was one of the issues. That and I had a sync error that wouldn't go away. After removing my google accounts and re attaching them, i monitored with wakelock.
After that it went away. I then had a calendar drain with calendar storage from a widget that woke up a beast. Greenified it, froze it and that is gone while not affecting my calendars.
Anways, point of my post is to advise you to run those 3 apps. If you only run 1, wakelock is fantastic. I highly recommend all.
Very good tips from @tehpud .. to add onto it
BetterBatteryStats and Gsam are two other good wakelock detecting apps.
http://forum.xda-developers.com/showthread.php?t=1179809
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm.rootcompanion
for alternatives. Each has their own benefit. I'm currently using BetterBatteryStats to test it out, its changed since I've last used it. Not the best GUI but it gets the job done.
Vote for the issue here if you are experiencing battery drains!
https://jira.cyanogenmod.org/browse/BACON-599

Want to increase your battery life? Install Greenify and activate "Aggressive Doze"

Want to increase your battery life? Install Greenify and activate "Aggressive Doze"
I have the Verizon S7E so there isn't much we can do AT ALL to increase battery life because we will likely be stuck without root forever.
That being said, I've been looking around and a lot of people have been saying that the S7 line isn't "dozing". I remembered that the Greenify app has something called "Aggressive Doze (experimental)" in its settings.
So I tried to force the Doze with Greenify. It worked.
1. Download Greenify
2. Open Greenify and click the 3 dots at the top right of the app.
3. Click Settings
4. The 2nd option should be "Aggressive Doze (experimental)" and disabled
5. Click on it and then enable it
(Optional) - I enabled the notification at the bottom so it tells me when and how long each time that it dozes for. This is nice because it gives me the sense that it's ACTUALLY working because otherwise I would have no idea. You can turn it off later too.
{
"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 have noticed quite a bit of improved battery life on my Verizon S7 Edge. I only lost 2% battery over my 8 hour sleep last night.
I don't have a stats page at the moment. Let me charge it to full and post in 2-3 days because that's how good it is right now.
I've uninstalled greenify 'cause some devices on MM had problems with it. After reading this I'm thinking to install it again and do it your way.
Did you have any deepsleep issues or redraws on touchwiz while on the aggressive mod ??
Thanks.
fethi2 said:
I've uninstalled greenify 'cause some devices on MM had problems with it. After reading this I'm thinking to install it again and do it your way.
Did you have any deepsleep issues or redraws on touchwiz while on the aggressive mod ??
Thanks.
Click to expand...
Click to collapse
I've had zero issues so far. If you can handle the occasional delayed notification (because this is Doze) from Facebook/Twitter/etc then you'll be fine.
Greenify even let's you Whitelist apps that you don't want dozing in case you need instant notifications for the specified app.
I thought greenify requires root?
I was getting delayed alarms from Google's clock app. Had to uninstall Greenify.
Mrinal Roy said:
I thought greenify requires root?
Click to expand...
Click to collapse
No, not entirely. The paid app lets you greenify some system apps without root. I currently don't use it with Marshmallow.
entropism said:
I was getting delayed alarms from Google's clock app. Had to uninstall Greenify.
Click to expand...
Click to collapse
Whitelist it. And any other app that might experience delays. It does say "experimental" after all.
Might want to remove it from the hibernate list too if it's giving you issues.
I have the Google clock app and both of my alarms were working fine this morning so others mileage may vary.
Syn Ack said:
Whitelist it. And any other app that might experience delays. It does say "experimental" after all.
Might want to remove it from the hibernate list too if it's giving you issues.
I have the Google clock app and both of my alarms were working fine this morning so others mileage may vary.
Click to expand...
Click to collapse
It was whitelisted by default. Yeah, it was the oddest thing... My alarm would go off like 8 minutes late, and the screen would show "-8:34 Remaining"
Yeah, Gmail is whitelisted. Took 45 minutes to get a notification that the email came in.
entropism said:
It was whitelisted by default. Yeah, it was the oddest thing... My alarm would go off like 8 minutes late, and the screen would show "-8:34 Remaining"
Yeah, Gmail is whitelisted. Took 45 minutes to get a notification that the email came in.
Click to expand...
Click to collapse
That's a bummer. I guess they should mention YMMV in the app too lol.
So far working great for me, no issues. Hopefully that will keep up.
Works fine for me too. No delayed alarms or texts.
Sent from my SM-G935V using Tapatalk
Wondering
I had Greenify with Aggressive Doze on my Verizon Note 5. It seemed to help quite a bit. For me to enable it on the Note 5 though, I had to push an ADB command via USB to set it up...Is that not the case with the S7 Edge?
https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
Sent from my SM-G935V using Tapatalk[/QUOTE]
Are you also hibernating apps, or only using aggressive doze?
geoff5093 said:
Are you also hibernating apps, or only using aggressive doze?
Click to expand...
Click to collapse
Just setting it up at this point...So presently I am not hibernating any apps
I dont use greenify or anything for that matter. I get from 10-12 SOT. Normal use. Snapdragon version. I believe since we cant root our device, knowing how to the debloat with disable package pro will give u battery battery life than messing with doze.
eduardmc said:
I dont use greenify or anything for that matter. I get from 10-12 SOT. Normal use. Snapdragon version. I believe since we cant root our device, knowing how to the debloat with disable package pro will give u battery battery life than messing with doze.
Click to expand...
Click to collapse
I did the debloat, it helped a bit. Aggressive doze helped more.
Also I don't believe you one bit with anything over 10 hours SOT. Unless of course you put on a 10 hour movie with super low brightness and left the phone sitting.
It was causing my music to stop playing in the background so I turned it off
Sent from my SM-G935T using Tapatalk
Experimenting with Greenify's aggressive doze setting. So far I had to tweak a couple settings since it was blocking my calendar schedule. I even had S planner white listed as well. What I did to correct it was actually white list Greenify and that made it work. Gonna play with it a few days and see how it goes.
aggressive doze works well for me
hibernation makes my phone unstable in some cases, so I left aggressive doze only, phone works fast and battery life is noticeable better.
how do I know whether the doze mode is working or not ?
what is the app that I can use to monitor doze mode ?
Aggressive doze did NOT work well for me... At first it changed my estimated battery usage time left (with full battery) down to 9 hours, then things stopped working. I whitelisted Greenify, and I had other apps whitelisted before using it, so I didn't have to change them, and they all worked fine prior to aggressive doze. Battery life ended up being fine for the most part, but GPS would never find me at all (whitelisted location, no change), my-places stopped working (whitelisted it, no change), the phone was very unresponsive, even after unlocking, just didn't go well lol... Uninstalled it this morning, my GPS still either won't lock, or thinks I'm somewhere a few blocks away, turned on high accuracy which fixed that. I'm constantly seeing finding location, and location found on my notifications. Maaannn, I was hoping for just a little better battery life, and instead turned into a huge pain! Beware guys and gals!

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