Battery drain over night FIXED(!?) - Galaxy S II Q&A, Help & Troubleshooting

I was pissed off as my phone lost all the juice over the night and didnt have time for filling it in the morning as i have to go to my job. Also i am a privacy freak and from obvious reasons i dont like google apps, same goes for gmail (as i am using exchange server i dont need all the sync stuff there) which was my initial reason for preventing the application to start - i dont use ANYTHING releated to google/market and i dont have any account there, i never used it.
On rooted phone I started to prevent starting everything related to google and DRM, market etc. (autostarts https://market.android.com/details?id=com.elsdoerfer.android.autostarts):
- DRM*
- Factory Test*
- com.google.*
(i think this was all, i'll recheck if there was something else)
And guess what. The battery drain over the night is now around 2% and the phone is quite able to survive 2 days (not completely accurate as i had it connected to computer for 10 minutes in between to pump some files from it), after the second night i still had 12% of battery left.
If someone else is able to repeat that, please report the results and if someone is able to figure out which app exactly is draining the battery even batter.
One thing i dont really understand is what are those apps doing during the night, there is no reason to contact any of google services as i dont have any account entered, so wtf are they doing?!
To ROM cookers, please stop adding google apps by default, make them as package to be installed later if you wish.
I do not have any communication or at least there should be none over 3g (droidwall) and i dont want to kill aplications just to have peacefull sleep. I was searching for final solution and i have found it.

One solution is to switch off wifi and data connection in night and sure you will have better battery drainage.

Not entirely related but just a heads up for people, last night i downloaded that Getjar app and it decimated my battery overnight so i uninstalled it this morning.
I assume most on here know about https://market.android.com/details?id=com.asksven.betterbatterystats&hl=en this is the best app you can get when it comes to preventing battery drain (tells you exactly what is draining your battery)

seems getjar is eating away at the battery, dont understand why it needs to do that !

Go to the task manager and kill all running tasks, then clear ur RAM before going to sleep @ night.
I loose like 1-2%
Send from my Samsung Galaxy S II

I do not have any communication or at least there should be none over 3g (droidwall) and i dont want to kill aplications just to have peacefull sleep. I was searching for final solution and i have found it.

If it is a night issue, try turning the display ON before unplugging the charging cord. I have used this method and the battery stays at 100% all night long.

Related

[Q][Solved] How to debug "Android-System" power consumption

Hi everyone,
I've done very much try and erroring to find out which app is draining my battery and if it's really neccessary.
As you can see on the attachment, it looks really nice already. The only thing which drives me crazy are those long and often "Aktiv" (Awake) parts. I couldn't find any information on the SDK pages.
My Phone seems to be very often Awake while in standby. I can't understand why it has to wake up that often. Am I right, that this "Awake" means, that the cpu is running (not in sleep mode)?
Is there any way to log which software is waking the device up?
Greetings
Chris
Yep, "awake" means that cpu is running. Try Badass Battery Monitor, it has a list called AppSucker, that lists the apps by battery consumption
Thanks. That is exacly what I was looking for.
Now I'm still sure, that there is somethink wrong with the battery consumtion. As you can see on the attachment, "Android-System" takes 2 hours(!) for some stupid things.
These are the datas for one night (it was a short one ) The phone wasn't used at all. Is that normal? I mean, thats nearly 30% of the time. Okay, the total capacity loss seems okey, but the phone hast absolutly nothing to do. Except for some interrupts of from the baseband and some cronjobs maybe. But that doesn't need 2 hours.
Any suggestions what courses these long awake times? Or another way to debug this?
Thanks
Chris
Android-system, huh? Seems like you have a wrong config, or a service is keeping awake the CPU...
Sorry, I dunno other way to debug it, but you already tried to calibrate your battery? (let that your battery runs out, charge it fully and, without unplug the charger, go to Recovery >Advanced >wipe battery stats. Unplug and reboot).
Yep, that was the first ding I did.
I'm running IceColdSandwich - 7.4 - AOKP STRIPPER EDITION. Maybe this is some kind of bug.
Maybe someone have another idea how I can debug this. Nevertheless thanks for helping.
You should check to see if Sync is turned on. This will cause the phone to wake up to contact any accounts you have set up to sync... I would suggest setting sync to off unless wifi is available.
On my rom (Gingerbread base) the wifi is turned of when the screen is off, which will make sure that google will never try to sync while the phone is idle.. The downside you will have to wake the phone in order to receive emails and stuff via wifi, and if not on wifi you will have to check your email manually.
I think I found it. Badass Battery Monitor showed that "Google Backup Transport" is part of Android-System, so I removed it. I didn't use it anyway.
My phone is not crashing, I still runs smoothly. The keep-awake time shrinked to 30m during 7h (including short uses). That seems totally legit for me.
Thanks for helping
Chris

[Q] Transformer Prime Battery Issues

Sorry if this has done the rounds, but im new to forumn and none of the posts seem to have all my symtpoms.
I bought a few weeks ago a tf201. everything is great, bar two points.
1) - battery life is emmense when docked on the keyboard and in use, and undocked. BUT when i leave it docked it just seems to refuse to go to sleep and manages to chew up just about all the battery overnight. from the battery monitor in settings the wifi and screen stay on overnight so it loose 5-10% or so an hour.. not great
2) not sure if this is related to the above, but again only happens when docked. if it does go to sleep (i think). when i come to wake it, nothing happens. in the end i have to press the power and volume buttons to reset it, then it wakes back up again. interestingly when its dones this it doesnt appear to have lost much battery charge.
So it seems that either it doesnt want to sleep, or if it sleeps, it sleeps a little too much.
im running the latest OTA ICS update as of last week and havent got that much installed widget wise etc. Ive been pouring over the forums for people with similar issues and the nearest i can find is people recomending using flight mode apps to keep the tablet from completely sleeping. this sort of works but the batteries then need charging every 2-3 days, which is better than daily but not great.
any pearls of wisdom as this for me is ruining an otherwise great device...
ianc24 said:
Sorry if this has done the rounds, but im new to forumn and none of the posts seem to have all my symtpoms.
I bought a few weeks ago a tf201. everything is great, bar two points.
1) - battery life is emmense when docked on the keyboard and in use, and undocked. BUT when i leave it docked it just seems to refuse to go to sleep and manages to chew up just about all the battery overnight. from the battery monitor in settings the wifi and screen stay on overnight so it loose 5-10% or so an hour.. not great
2) not sure if this is related to the above, but again only happens when docked. if it does go to sleep (i think). when i come to wake it, nothing happens. in the end i have to press the power and volume buttons to reset it, then it wakes back up again. interestingly when its dones this it doesnt appear to have lost much battery charge.
So it seems that either it doesnt want to sleep, or if it sleeps, it sleeps a little too much.
im running the latest OTA ICS update as of last week and havent got that much installed widget wise etc. Ive been pouring over the forums for people with similar issues and the nearest i can find is people recomending using flight mode apps to keep the tablet from completely sleeping. this sort of works but the batteries then need charging every 2-3 days, which is better than daily but not great.
any pearls of wisdom as this for me is ruining an otherwise great device...
Click to expand...
Click to collapse
Maybe try setting WiFi on sleep to never under the advanced WiFi settings?
Sent from my PG86100 using xda premium
Email Accounts set to "push"
Email clients connecting to Exchange usually have a "push" option that continuously syncs with the mail server. Some of them (like Touch down which is what I use) allow you to set off work times when it won't be polling the server so I set it not to poll between 10:00 PM and 6:00 AM.
Also, look at the accounts and sync area in the settings and see what other stuff is being synced. I had no idea until I looked just now how much stuff is getting synced under my gmail account. It's not just mail and calendars like I thought but also a long list of other things.
Then, looking under "Backup and Restore" in the settings, I'm seeing that it's doing a "backup app data, wifi passwords, and other data to google servers". I'm assuming that means all my mail etc. When I first set up the tablet a couple of days ago I noticed that all the wifi connections from my Droid 3 showed up so that was the first time I realized that my phone must be doing this too...
That's a security issue in that by my employer's rules, sensitive company data isn't supposed to be stored on other people's servers so my exchange data really should not be backed up to google. And it doesn't make any sense to do that anyway. If one of my devices dies and gets replaced, when I configure the account on the new device, all the data will sync from the mail server anyway.
The point being that I'm discovering that there is a huge amount of stuff being synced from my android devices that I didn't even realize. That could be bogging down the network (particularly if on a connection that's slow to begin with) and also causing battery drain.
I'm experimenting with turning a lot of stuff off that I don't figure I need - both for the phone and the tablet - to see what difference it makes.
ratman6161 said:
Email clients connecting to Exchange usually have a "push" option that continuously syncs with the mail server. Some of them (like Touch down which is what I use) allow you to set off work times when it won't be polling the server so I set it not to poll between 10:00 PM and 6:00 AM.
Also, look at the accounts and sync area in the settings and see what other stuff is being synced. I had no idea until I looked just now how much stuff is getting synced under my gmail account. It's not just mail and calendars like I thought but also a long list of other things.
Then, looking under "Backup and Restore" in the settings, I'm seeing that it's doing a "backup app data, wifi passwords, and other data to google servers". I'm assuming that means all my mail etc. When I first set up the tablet a couple of days ago I noticed that all the wifi connections from my Droid 3 showed up so that was the first time I realized that my phone must be doing this too...
That's a security issue in that by my employer's rules, sensitive company data isn't supposed to be stored on other people's servers so my exchange data really should not be backed up to google. And it doesn't make any sense to do that anyway. If one of my devices dies and gets replaced, when I configure the account on the new device, all the data will sync from the mail server anyway.
The point being that I'm discovering that there is a huge amount of stuff being synced from my android devices that I didn't even realize. That could be bogging down the network (particularly if on a connection that's slow to begin with) and also causing battery drain.
I'm experimenting with turning a lot of stuff off that I don't figure I need - both for the phone and the tablet - to see what difference it makes.
Click to expand...
Click to collapse
The exchange DATA, meaning your actual mail does not get backed up explicitly anywhere with vanilla Asus/Google ICS Firmware. What it backs up is account settings, and the options you select. Backing up all your mail would be awesome (under the right circumstances, such as when you need that backed up, and some apps will do so, but generally for a fee.
OP, for battery concerns, make sure that in settings, Asus Customized setting that "Mobile Dock Battery Saving and "Disconnect network during sleep are both selected. The latter option stops most or all synching when sleeping.
It sounds like you are experiencing SOD (Sleep of Death) not quite as horrible as it sounds, but if you have to push power button and or/ Power + Volume for 8-10 seconds to get it bac, does it then vibrate and reboot, or just come back to the Homescreen imediately? If it's the first one, look up SOD. I have had only ONE event since .28 rolled, and before that perhaps a dozen on .21, and NONE before that so it's due to SOME recent changes to firmware, at least in my case. Interestingly, I was able to stop it on .21 by disabling the same option we have been discussing. The two battery savers in Asus customized, and WiFi, Advanced: "Keep WiFi on during sleep" (You have to hit the "three dot" menu and choose advanced from WiFi Settings.
Anyway keep us posted, and let me know if you have SOD, or just a deep sleep - if you REALLY want to know how often and how long your tablet spends in deep sleep get CPU Spy (no root require, I believe) and after several hours, it will let you know what the CPU has been doing, for what percent of that time. it is an AWESOME way to determine how much deep sleep you are experiencing with the device.
My battery is not really satisfying.. though i uses only 15% brightness, it sucks up my battery like hell... 10% decrease in an hour... is this normal?
Sent from my Transformer Prime TF201 using xda premium
skarfreak said:
My battery is not really satisfying.. though i uses only 15% brightness, it sucks up my battery like hell... 10% decrease in an hour... is this normal?
Click to expand...
Click to collapse
10% in one hour of using?? so 10 hours???
I guess you should be more than satisfied........:good:
possible win
Many thanks for the suggestions.
I think i was get the dreaded sleep of death as when it slept to 'wake' it i had to reboot it.
Ive run through all the suggestions here + a few suggestions from the forumns, setting wifi to never, adjusting the dock battery usage, checking my sync options. In sheer frustration i removed all widgets and removed a shed load of apps (both pre-installed and ones that i had installed) installed cpu spy and tested. interesting that it appears to be ok now. charged the dock and transformer up on firday night and its still got juice today, all be it that dock is nearly dead and the transformer has 80%+ thats with 2-3hrs use every day and obviously sleeping...
one thing i did note. when it was docked before and 'sleeping' in the transformer battery was low it would charge for long period when it was sleeping? it doesnt seem to do that now. if the transformer battery is low and i sleep it. the power \ charge light stays on for 10-15 mnutes then goes off.. so def looks like something was keepign it awake.
go to settings/asus customized settings and scroll down to battery saving and check the two power saving settings :good:

Android and battery

I love Android.
I think the customization is great, and since v4 it's smoother and feels more responsive.
There are LOTS of apps and it's better than iOS.
But i'm sick of the battery issues.
I've always loved trying new features, ROMs, apps, hacks and whatever.
I now have SGS3 and it's my third android device, and i've installed ROMs dozens of times, even on my friends' devices.
One thing that always kept me alert is the battery life - the maximum I can get from my battery is around 30 hours with my usage - 1/5-2 hours of screen, ~45 minutes talk, lots of standby.
But every now and then, my girlfriend, my dad, my aunt or my friend ask me 'why does my battery drain so fast?'
Sometimes its google maps.
Sometimes its mediaserver/media scanner
Sometimes - and only I can see it cause they are not familiar with tools like BBS, it's gsf (Google Services Framework).
The point is, when you have an Android device, you need to check the battery stats every now and then to make sure nothing is unusually heavy on the battery.
I am currently experimenting with ParanoidAndroid and AOKP, which are faster and more responsive than omega/stock.
Yesterday i went to sleep (6 hours) with 25% battery (after it lasted 15 hours) and I turned off the data connection and the wireless connection.
I woke up after 6 hours (lucky..) and I saw my phone if off. after I connected it to the charger and turned it on I saw mediaserver decided to wake up in the middle of the night, after It almost did nothing during the day, and worked for 5.5 hours until the battery died!
Today I unplugged my phone and in 1 hour of standby 10% of the battery were gone, I checked what happened using BBS and saw gsf again (that GTALK_SYNC whatever wakelock) was draining battery, after I thought I fixed it yesterday when I disabled app data and browser sync in the google account sync options). I rebooted and now it seems ok again, the phone is back to ~70-80-% sleep.
I want to emphasize that I don't like all the stupid battery tips that tell me to castrate my phone:
turn off wifi when it's not needed, turn down the brightness, lower the screen timeout, disable sync (wtf? but its a smart phone, I WANT push notifications!) and that sort of things.
I KNOW I can get >24hours of battery without disabling the basic features of my phone.
And the draining battery processes that I mentioned earlier can suddenly appear even in a stock ROM, so I don't think it's PA or AOKP's fault.
What I want is that google will finally build a supervisor entity that will check what causes an unusual battery drain, check if it makes sense, and disable that cause!
It's absurd that google maps application comes with default 'enable location reporting' that constantly drains your battery and for what?? google maps doesn't run in the foreground, why the hell will I want that background location reporting draining my battery? and if so, why do you put this option enabled BY DEFAULT? The average user doesn't know this sort of stuff, and get only 10 hours of battery out of a device that should ideally provide ~30 hours!!!
Just wanted to let it out of my system...
And to get useful battery tips if any...

I´ve tried everything, my S4 won’t go to DEEP SLEEP

**my mistake, can someone move this to the AT&T forum?**
Hi there, I have this problem; my AT&T GS4 does not use the deep sleep state. I have made some research, and from what I understood, this problem has to be a result of any program that keeps triggering the phone to get awake.
So, I have the phone unlocked, rooted and ALL the sensors off, expect from gsm signal. With titanium back I have uninstalled the programs that I´ll never gonna use (mostly AT&T bloadware) and frozen the ones that I don’t want to use right know, but maybe by deleting them I would get into a problem (like S-Voice) or just because some day I would like to give them a try. Finally, there are the programs that I would like to keep, but I don’t want to let them make any cpu use while I am not using them. I used an application called Greenyfi, a good example of why this program is the best for the last propose, is the use of programs like google maps, in where I do want to use it, but, just when I open the app. Also, I used the app “Autostarts” to prevent applications to start after some events (like startup, state change, etc..)
With all that been said, I am steel not getting deep sleep, in any situation. I´am not saying that my battery life is bad, I think I can get easily 4-5 screen time use. But, by not getting into deep sleep, the phone is allways using the cpu at 384mhz, so the battery goes down in a range of 1.5 to 2 % per hour (10 hours of no use and 20% less battery).
SO, for you to see the problem better. I did a little experiment. Restart the phone, put it into flight mode and let it “sleep” for the night, the results are attached.
PD: Whatsapp isn’t the problem; I can froze it and still 0% deep sleep.
did you ever solve this.. my t mobile s4 is not going into deep sleep staying at 384mhz
Had this problem a while ago. Ran Greenify and froze things with TiBu but the phone didn't go into deep sleep. I ended up flashing back to stock then re rooted. Problem solved.
same here. reset didn't work.. flashing back to stock didn't work, flashing stock and then a reset worked.. and reinstalled everything and still going into deep sleep now.. now sure what it was, but something in system was ffd up.

Device is always awake and WiFi is always on

Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
System version?
I'm on Android Marshmallow, using Resurrection Remix ROM.
I'm not quite sure how to use the wakelock blocker, but I just installed Wakelock detector and it shows TripAdvisor as #1 on the list. I have it blocked in notifications, but I can't find anything related to TripAdvisor in wakelock blocker.
Is there any way to prevent apps from keeping the system awake, or should I just unintall TripAdvisor completely?
Not sure if I'm on the right track, but something is keeping the system awake and I need to find out what
OS3 with google back up turned off I get zero drain. Maybe 2-3℅ max over night. Also turned off automatic updates playstore. With just those two things off dont see drain anymore might just be lucky.
Well I think I'm back on normal drain. I uninstalled TripAdvisor, not using it except when I'm on holidays. I disabled the option to keep WiFi on even during sleep.
I used wakeblocker to block all weather/facebook entries, and I have two gmail accounts, one which is use a lot and one which I don't - so I blocked all wakelocks from syncing the account I don't use often.
Battery history confirms device is now correctly going to sleep and turning off WiFi. Automatic updates are still on.
I probably blocked too much, but I don't care anymore, I have 30% more battery every morning and that's good enough for me
crótach said:
Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
Click to expand...
Click to collapse
Which ROM and recovery do you use?

Categories

Resources