[Q] Yet another battery drain issue - Galaxy S II Q&A, Help & Troubleshooting

Hi everyone,
sorry if this is a noobish question or if there is some obvious answer however 5 hours of googling dint give me any solutions (other than flashing a different rom)
I got my SGS2 a few days ago and so far the batter drains in roughly 5 hours just laying on the table without the screen ever being turned on.
I checked the batter usage log with both stock battery info app and the BetterBatteryInfo app from the XDA forums both seem to indicate that the culprit is the email app which has over 80% battery usage and according to the BetterBatteryInfo its keeping the device awake.
I only have 1 exchange email account set up on the device.
Some other posts i found online seem to indicate that there is some issue with calendar syncing for exchange but they refer to os version 2.3.3 mine came with 2.3.5
Any help would be greatly appreciated.
I tried setting email check to push and 15 minutes both seem to have same results.

This is what i learned as of today.
First of check if your wifi is on or not. Your wifi router could be the main culprit especially if it is dlink dir655. It could eat as much as 5% every minute. All the android phone sgs1 sgs2 and sg mini in my home drained out within few hours.l with active wifi connected to dlink.
After changing to other brands the drain disappeared. 2% per hour on wifi.
This is on stock rom with rooted kernel. The only apps i freeze is the wifi sharing and manager.
Who would expect dlink is android battey killer (literally).
Sent from my GT-I9100G using Tapatalk

Search XDA not Googlke .
Start with all the battery threads .
Download Better Battery Stats and look for PARTIAL WAKELOCKS .
jje

it was both on wifi and mobile data, and i got a netgear router, i checked the partial wakelocks that points to email app, I'm trying to play around with what gets synced.
When I left only calendar sync enabled on my exchange account it seems to have helped but i will investigate further.

Related

[Q] 3G or Wifi?

Which is better for the batterylife, 3G or Wifi?
At home and at work I'm connected to Wifi, but yesterday I noticed when I turned off Wifi and used 3G instead 3G seems to use less battery. However, this could also be because of several wakelocks I had when I was using Wifi.
I would understand Wifi is better for heavy internet use and 3G for push messages, but I couldn't find an answer anywhere on the forum, sorry if I missed it.
Bommeke said:
Which is better for the batterylife, 3G or Wifi?
At home and at work I'm connected to Wifi, but yesterday I noticed when I turned off Wifi and used 3G instead 3G seems to use less battery. However, this could also be because of several wakelocks I had when I was using Wifi.
I would understand Wifi is better for heavy internet use and 3G for push messages, but I couldn't find an answer anywhere on the forum, sorry if I missed it.
Click to expand...
Click to collapse
Hi there!
Wifi uses a lot less battery life, especially if you browse or do anything.
Having wifi ON always uses a certain amount of battery life, now, if you're receiving emails, downloading, browsing, it easily makes up for it. The reason for this is that Wifi is a "local" communication signal. It's for short distances, therefore your phone doesn't have to emit that strong of a signal, nor does it use up that much battery to receive. So Wifi is the way to go if you're just going to use it even a little bit.
3G uses more energy because of the radio spectrum itself and the distance and having to maintain it. It's true while having wifi you also maintain 3G, but you're not emitting constant data, it's just the "I'm still alive" packet to your operator.
Summary:
Use wifi if you're going to use your phone on the internet even a little bit. Turn it off when you don't have wifi near you, otherwise it'll be looking for a new wifi hotspot and that'll drain some battery.
Don't use wifi if you're not home.
Thanks for the clear answer!
Glad to have helped
New problem
The last 2/3 days my batterylife decreased. My phone was awake most of the time even though the screen was off and this hadn't happened before. After installing BetterBatteryStats (BBS) I could see the process wlan_rx_wake was on top (about 6,5 hours of the total 10 hours the phone was on).
My first thought was some app was responsible for this, however when I turned off Wifi and started using 3G again my batterylife seems to be normal again. Checking BBS the wlan_rx_wake seems to be renamed to deleted_wake_locks.
The last things that changed just before the problems started occurring was installing the Facebook and Twitter app, and updated to the latest ICS Vertumes theme (I was on 1.5 and now I'm on 1.6). So I uninstalled the Facebook and Twitter app but this didnt help at all. I already uninstalled Google Maps. The only thing I haven't tried yet is changing to the original theme, but it doesn't make sense this could be the solution.
Any ideas?
I had the same problem with the twitter app, it kept waking my device so i uninstalled it and use Ubersocial now.
I use Juicedefender (Ultimate version if you want to pay)
Juicedefender can turn off your wifi and 3g when your screen is off. It can be set to ping your data/wifi every few minutes if required to check emails tweets.
But Twitter nor Facebook is the problem. When uninstalled the problem still exists. Dont want to turn off wifi or 3G when the screen is off as then my mail or whatsapp wont sync.
Read something that it could be the type of router, but this isn't it as well. I've got the problem at home, work and at my parents house. All different routers.
Think I might just do a full-wipe and hope that solves it..
Before you do a full wipe try freezing Wifi Sharing and Wifi Sharing Manager with Titanium or Bloat Freezer Free to see if that makes a difference.
Sorry I recognize twitter was not an issue for you, it was the app that first alerted me to my issues about the wakelocks
LocationManagerService
Hmm... LocationManagerService is active over more than 4 hours. What could that be? GPS and the Google location stuff is already disabled..
logout of maps and check if that helped.
---------- Post added at 12:22 AM ---------- Previous post was at 12:17 AM ----------
wakelocks by apps that needs to sync can still be left even if u have deleted the actual apps that's requesting on-line data.residuals i would say.but try to check each and every apps that you have installed and see if they have sync or update requests and prolly modify them to manual.see also if ICS has a push notification request like "send errors to" or "check updates"
3G ofcourse
Maybe it's the kernel. Currently using Speedmod K2-18-test12. Lost 50% battery during the night. The phone wasnt awake but didnt enter deep sleep either.
Will try Speedmod K2-18-test16 next. If that doesnt solve it I'll try a whole different kernel.

[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:

wakelock only on wifi...

Ok so here is my situation.. when I am at home on wifi.. (the only place i consistently use wifi..) and my phone is in standby the process com.google.android.gsf.login is keeping my phone awake a lot... I am not complaining about battery life on this phone as a whole as it's really good.. but oddly enough for me, I get worse battery life (when it comes to standby) when on wifi... For example just yesterday I got like 19 hours and 2 hrs 15mins screen on time and about an hour of music streaming (screen off) all on 4g.. and when i looked at my battery stats the awake time and screen on times were essentially identical (other than the music streaming) but today I have been testing some at home with wifi on and off.. I have attached a picture of my battery graph.. when on wifi I have lots of wake locks that don't correspond with actual usage.. but when on mobile data those wake locks are gone..
I understand that it's an app that is doing the draining my only question is why is doing it on wifi only..
In the attached screenshot no settings were changed except for toggling wifi.. to see the difference..
My next idea is to try and get on wifi somewhere else and see if I have some weird anomaly with my wireless network at home...
anyone care to chime in?
Just an update the last 45 mins on 4g.. little wake time not associated with screen on... This has me perplexed..
Well.. I can't get the screenshot to attach but... Les than 2 mins of wake time in 40 mins on 4g at home on wifi I had like 7 mins in 25 mins on wifi..
Sent from my HTC6435LVW using xda app-developers app
double post this one can be deleted..
Sent from my HTC6435LVW using xda app-developers app
I know that the kernel for our processor has a patch to fix wakelock problems that are draining the battery, but the manufacturers have not pushed an update. Elkay is currently working on a kernel to resolve this problem, check the Original Development subforum. Battery life is significantly improved. I'm currently using DSB'S overclock kernel which has been troublesome for most people, but the battery life has been great and I'm fortunate to have almost no problems with it.
I am on elkay's kernel... Those screenshotss were while using his kernel.. according to him moat of those issues addressed are specific to mobile data standby time.. and my mobile data standby time is actually really good..
The issues only happen when I am on wifi.., and the only WiFi I have tested is my home network..
Sent from my HTC6435LVW using xda app-developers app
I get the same issue as you. I actually just mentioned it in elkay's thread. I've been getting wakelocks like that on every kernel so I don't think it's just strictly his kernel that's causing problemos.
Possible Solutions ...
1) Your home wifi has some ports blocked or proxy in effect which is causing some Google Service to be unreachable when on wifi and hence causing the wakelock
2) One of the Google Account Services is set to update over wifi only and again its unreachable over your wifi, hence the wakelock
3) Disable Gtalk/G+ if you dont use them and reboot
4) Try a different wifi network, if you dont have the wakelock, then its your home wifi router config causing issues
v-b-n said:
Possible Solutions ...
1) Your home wifi has some ports blocked or proxy in effect which is causing some Google Service to be unreachable when on wifi and hence causing the wakelock
2) One of the Google Account Services is set to update over wifi only and again its unreachable over your wifi, hence the wakelock
3) Disable Gtalk/G+ if you dont use them and reboot
4) Try a different wifi network, if you dont have the wakelock, then its your home wifi router config causing issues
Click to expand...
Click to collapse
I am wondering if it's solution #1.. i don't have another wifi network to test on though.. i guess i could go hang out at starbucks or somewhere like that.. and see.. although with LTE (and unl. data) my I don't really "need" to be on wifi at home other than a couple apps that let me control stuff at home when on the same network.. (DirecTV, Onkyo, Shares Finder..)
I debloated the ROM I am on and Gtalk and G+ were removed since i don't use them..
I don't think I have any Google account services set to update over wifi only I have gone through the settings a couple times looking for stuff like that... that is why I am thinking it possibly has something to do with my network.. I will keep researching and if I find some solution I will update for the communities sake..
Very similar issue here, although it seems random. Just the hour day I had 13 hours on with 8 hours kept awake and 1 hour screen time.
Sent from my HTC6435LVW using xda app-developers app

[Q] Wifi Battery Drain on CM 10.1

Hi @all,
since i switched from samsung stock rom to CM 10.1 (M3) there is a high battery drain when the phone is running on standby.
To be sure i'm getting nearly "comparable" results, i flashed both roms completly clean without any additional apps. Google services/syncs switched off, mobile data disabled.
With the samsung stock rom the battery lasts for about 3,5 days in standby. With CM10 the battery is drained after 1,5 days. 12 hours after charging BetteryBatteryStats shows a high number (~20000) of kernel wakelocks for the type "wlan_ctrl_wake" (NOT wlan_rx_wake). As far as i can see, there is no connection to any app keeping the phone from entering deepsleep. However, i only have a deepsleep rate of about 70%. Nothing suspicious in partial wakelocks.
Regarding the battery drain topic, there are many hints on google now, latitude, Gtalk and so on. Already tried those. There's no need to change the wifi settings, because on samsung stock rom everything works fine using the same settings (just about 40 wlan_ctrl_wakes within 12 hours). I'm using Fritzbox 7170 as wifi ap. Some people mentioned multicast/broadcast packages may be a reason for high wifi wakelocks. I traced the network, but nothing of the sort occurs.
Any ideas?
Thank you
Wakelock detector will link the wakelocks to the specific apps

[Q][CustomROM] Ridiculous Overnight Battery Drain on CM10

Greetings,
I had been using my Xperia Neo V with Cyanogenmod 10 (10-20130519-NIGHTLY-haida) for the last 2 months. It was all ponies and rainbows for me for the first 6-7 weeks.
Issue:
Now I'm facing with a random and ridiculous overnight battery drain issue since a week ago. Ridiculousness here is being referred to the amount of the drain (almost 60% overnight) and to the fact that there's no particular change of use of the phone by me,comparing with the days before. As you can see in the screenshots, the main actor here is "Operating System". I don't really know what this drain is related to, so I was not able to do comparisons of use.
Facts:
-Mobile Data was active but only at 2G
-Location services were off
-Bluetooth and all other possible signals were off
-No active apps, all were hibernated with Greenify
What might be the reason of this problem and what would you advice me to try?
Thanks in advance.
what kernel are you using? overclocked?
maybe you can try re-flash the rom
60% overnight is way high battery drain
You should try to see a pattern. Does it happen after specific usage "ritual" or just purely random?
It may be kernel bug/core system bug. Try dumping dmesg and logcat when it happen next.
I would start by trying to flash other kernel.
Install BetterBatteryStats (ther's an SDA thread); It will give you better info of what is draining your battery. In addition to that, you can post your logs in the thread (BBS thread) and they will provide better help.
Good luck
Edit: here's the link http://forum.xda-developers.com/showthread.php?t=1179809
Install wakelock detector app uninstall those... Try greenify too
Firstly we have to know what kernel are you using...
2.6.32.9 or 3.x.x version?
Hi there all, thank you for replies, and here are some extra info;
Fresh facts:
- Kernel: 2.6.32.9-FXP [email protected] #1
- Not overclocked
New observations:
So far I don't see any pattern as to what could possibly be the reason for this issue.
The last time I faced with this, the phone was fully charged and on 2G mode I left it on my desk (my wi-fi router was located next to it, keep it in mind so that it might be a clue coinciding with the BetterBattery logs I will reveal next) and after 3 hours, when I went to check if there were any calls, nearly 30% was drained. Comparing with the initial drain issue (which is a 60'ish% drain overnight) I can say it's the same issue within a proportionate period.
Well takin' a quick look at the BetterBatteryStatus report, drain was mainly caused by some wake thingy called "rx_wake". I don't really know much about all these wake calls in Android system but I googled it and reached to a brief conclusion that it's somehow related with Wi-fi connection. So I'm suspicious that maybe my Android system is perpetually sending wake calls related to a Wi-fi signal even when the Wi-fi mode is off on my phone (only relation I could make here is that I left the phone next to my wi-fi router)
I attach the screenshot and BetterBatteryStatus logs to this post, thanks in advance for your further comments.
Further comments, anyone?
Post the logs in BBS thread. There people has more knowledge and they can help you.
Issue Solved on Galaxy S - Will fit all I assume
Hi
I face the same issue from the day I install the ROM (CM 10.1.2)
I browse the Internet and found the issue
The issue is Wi-Fi and mobile network location
When it is on in this version it turn on the Wi-Fi not only on GPS request and No GPS status
You need to shout it down and issue solved
To change this setting:
System Settings -> Location access and disable the "Wi-Fi mobile network location"
Nachum

Categories

Resources