[21/01/16] Ignore mobile standby consumption and improve battery life - Moto X General

The 'old' problem
Please do write about this problem on the Motorola feedback network, and vote the discussion in order to make it more visibile.
https://forums.motorola.com/posts/4b152edf8b
Hi.
I have 5.1 on the French firmware (stock, no root, locked bootloader). Since the update, I noticed that my battery went from 36-48 hours of mild usage (on KitKat) to 12-18 hours (on Lollipop). That's quite absurd!
My situation:
- factory reset after update
- moto voice turned off
- wifi almost always on
- very good reception
- synchronization mostly turned off (when turned on, it sucks a LOT, like 5% in a few minutes).
- Preferred network type: 3G
- NFC and wifi scanning always available both off
I eventually find a way to greatly improve my battery life, going from this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to this
Look at this post:
Some advice to greatly improve Moto X battery life.
But beware!
- You can fix mobile standby stat using the xposed module. More info in this post. In my case it also improved battery life and general smoothness.
- Yes, 3G/LTE will continue to suck a lot of battery. Like, a lot.
- Yes, your Screen On Time should improve. Mine did (and by quite a lot). But this trick is mostly aimed to lower the standby consumption, not to magically decrease battery sucking when you are actually using your phone! If you use 3G/LTE all day long, don't expect to reach more than 2-3 hours of SoT (still lot better than before though).
Hope it helps!

If you have root you can try Power Nap + Amplify. It can help you

St.Noigel said:
If you have root you can try Power Nap + Amplify. It can help you
Click to expand...
Click to collapse
Sadly I don't have root, I only have stock android.

St.Noigel said:
If you have root you can try Power Nap + Amplify. It can help you
Click to expand...
Click to collapse
They help, but nothing quite gets rid of this issue. There was an xposed module that aimed to fix the cell standby issue but I've found it hasn't worked. Not much we can do
Sent from my XT1058 using XDA Free mobile app

I had the same issue with Cyanogenmod 12.1 on my Moto X 2013 and another thread suggested gservicefix on the play store. I'm not sure exactly what it did (Google results are not coming up with much), but it seems to have stopped the mobile standby from draining the battery.

I think that these are wrongly reported stats.
I have the similar stats on all ROMs but it doesn't seem to affect battery life in any way.

supadoggie said:
I had the same issue with Cyanogenmod 12.1 on my Moto X 2013 and another thread suggested gservicefix on the play store. I'm not sure exactly what it did (Google results are not coming up with much), but it seems to have stopped the mobile standby from draining the battery.
Click to expand...
Click to collapse
I don't seem to have problem with google services, moreover I prefer not to install apps I'm not sure of what they do
athulele said:
I think that these are wrongly reported stats.
I have the similar stats on all ROMs but it doesn't seem to affect battery life in any way.
Click to expand...
Click to collapse
Yes, there is an inconsistency between the stats of Battery and GSam Battery, but the fact that my moto lasts half of the time it used to under KK remains. I hoped someone had the same problem and managed to fix it.
For example, today it started with 93% at 12:30 and now (6 hours later) is at 72%. All of this barely using the phone, only the wifi on (without sync), and remaing in the same place with good connectivity.
Battery stats now report 16% on standby and 1% on Google Play Services / Screen (45m).

aledex said:
I don't seem to have problem with google services, moreover I prefer not to install apps I'm not sure of what they do
Yes, there is an inconsistency between the stats of Battery and GSam Battery, but the fact that my moto lasts half of the time it used to under KK remains. I hoped someone had the same problem and managed to fix it.
For example, today it started with 93% at 12:30 and now (6 hours later) is at 72%. All of this barely using the phone, only the wifi on (without sync), and remaing in the same place with good connectivity.
Battery stats now report 16% on standby and 1% on Google Play Services / Screen (45m).
Click to expand...
Click to collapse
For me battery was improved over kitkat.
I got more screen on and more standby.
Like 2 days ago, i charged upto ~90% at around 11.30pm and the next day at 3pm I had 2hr50min screen on time with 40% battery left.

Could I try with a factory reset?

Hi buddy. it's a famous known issue from Lollipop. As we speak we can't do much to correct this in stock rom i think...
But i can advise you to install some app like "rabbit battery" or "droid battery". Those app cut data every few minutes and active it from time to time to sync your app. I use it on kitkat it is a very good features..
Also you should try a factory reste just in case... maybe it will increase your battery life a bit.
Out topic :
I can see you are from Italia but you have the french ota ?
How did you flash it ? did you found the ota on internet and sideloaded it ?
Cause i'm searching it for a while.
Good luck with your battery drain bro

It affects all CM12.1 based roms as well (except AICP and @Megatron007's AOSP builds). Powernap seemed to help.

Vonwesen said:
Hi buddy. it's a famous known issue from Lollipop. As we speak we can't do much to correct this in stock rom i think...
But i can advise you to install some app like "rabbit battery" or "droid battery". Those app cut data every few minutes and active it from time to time to sync your app. I use it on kitkat it is a very good features..
Also you should try a factory reste just in case... maybe it will increase your battery life a bit.
Out topic :
I can see you are from Italia but you have the french ota ?
How did you flash it ? did you found the ota on internet and sideloaded it ?
Cause i'm searching it for a while.
Good luck with your battery drain bro
Click to expand...
Click to collapse
Thank you for your answer, I will try your suggestions!
Since there isn't an Italian firmware version, all moto devices in Italy have French, German or European firmware. I bought my moto X on Amazon.it but imported from Amazon.fr, that's why I have the French version!
I was one of the "chosen ones" for the first OTA wave. :victory:
(More like a lab rat :silly: )

aledex said:
Thank you for your answer, I will try your suggestions!
Since there isn't an Italian firmware version, all moto devices in Italy have French, German or European firmware. I bought my moto X on Amazon.it but imported from Amazon.fr, that's why I have the French version!
I was one of the "chosen ones" for the first OTA wave. :victory:
(More like a lab rat :silly: )
Click to expand...
Click to collapse
Ok ! haha i don't have the ota yet. Have a good night and tell us if those suggetions increase your battery life ! Cya

WTF?
What is the point of having push email service on a phone like this if the OS screws up the data connection?!?!?!
Which moronic Google or Moto apps are screwing up the battery life?

Vonwesen said:
Ok ! haha i don't have the ota yet. Have a good night and tell us if those suggetions increase your battery life ! Cya
Click to expand...
Click to collapse
Yesterday I entered the fastboot but didn't full wipe, I tried BP tools instead (not that it really does something per se). After some app optimization, it seemed that the problem was solved. Even if battery usage under data consumption was still insanely high (20% in a couple hours), this morning I woke up with a little 3% of battery gone during the night, and no sign of mobile standby usage. However as soon as I began to use data, it quickly arose. Now it's at 32% of usage after 6 hours, and the battery has gone from 80 to 18%.
I have installed rabbit battery, even if my French is something horrible I will try to see if it will solve anything

aledex said:
Yesterday I entered the fastboot but didn't full wipe, I tried BP tools instead. After some app optimization, it seems that the problem was solved. Even if battery usage under data consumption was still insanely high, this morning I woke up with a little 3% of battery gone during the night, and no sign of mobile standby usage. However as soon as I began to use data, it quickly arose. Now it's at 32% of usage after 6 hours, and the battery has gone from 80 to 18%.
I have installed rabbit battery, even if my French is something horrible I will try to see if it will solve anything
Click to expand...
Click to collapse
Ho sorry i forgot the app was french ! try '' leandroid '' it's english and the same features as rabbit battery !

Last battery cycle lasted extactly 24 hours (from 100% to 15%):
- absolutely no battery usage during the night, in this Lollipop it's simply fenomenal (Kitkat was very good and used only 1% per hour, Lollipop uses even less).
- 34% of mobile standby
- really high battery consumption under mobile data+sync
- 2h50m of screen time, with low brightness
In other words, the last cycle didn't go bad (especially because I had wifi/mobile data turned on pretty much all the time), but it's still far from the 36-48h with 4-5h of screen time I was used before.
I tried Rabbit Battery, LeanDroid, DU Battery, etc, but with Lollipop (which doesn't even permit to switch mobile data on and off) and no root, they are completely useless.
The same goes for Greenify obviously.
So that's it I think, after having acknowledged that this battery consumption isnt' a Moto X's fault but it's a general Lollipop's fault, I think I will wait for an Android M rom with this problem finally fixed (at least we hope so!).

I tried to factory reset without any result.
Battery life simply sucks, I can't even arrive to 3pm with only wifi and 3 hours screentime.
Given that I didn't unlocked the bootloader and it is still under warranty, I'm thinking of asking for replacement.

Try turning location services off. Google Now (except location specific stuff) still works without it, especially if you're on Wifi.
This reduced my best-case standby drain from 3.5% or so per hour to about 1.6% per hour. If I was walking a lot and checking the phone, I got as high as 10% per hour drain with location services on.
You might also try just disabling location history. This breaks Google Fit, but may be worthwhile for the battery gain. Now I'm just turning location services on when I need it. Seems to work fine and my average battery life has gone from less than 36 hours to closer to 48.

511pf said:
Try turning location services off. Google Now (except location specific stuff) still works without it, especially if you're on Wifi.
This reduced my best-case standby drain from 3.5% or so per hour to about 1.6% per hour. If I was walking a lot and checking the phone, I got as high as 10% per hour drain with location services on.
You might also try just disabling location history. This breaks Google Fit, but may be worthwhile for the battery gain. Now I'm just turning location services on when I need it. Seems to work fine and my average battery life has gone from less than 36 hours to closer to 48.
Click to expand...
Click to collapse
aledex said:
I tried to factory reset without any result.
Battery life simply sucks, I can't even arrive to 3pm with only wifi and 3 hours screentime.
Given that I didn't unlocked the bootloader and it is still under warranty, I'm thinking of asking for replacement.
Click to expand...
Click to collapse
HI ! i did the ota a few days ago! Everything is great execpt battery life. same problem as you... i didn't know that app needed root to disabled data connection un Lollipop. So rabbit battery and LEan droid are useless in my case (bootloader locked, unroot)
Anyway i give a try to disabled every location features.

Related

Unhappy with your battery life? Fix is here!

Hi everyone,
I have had my Galaxy S for a month now, I have been very unhappy with my battery life, so I thought, I gotta to fix without compromising perfomance.
I found it!
My battery life during this 1 month period was utter crap, battery used drained from 100% in about 10-12 hours on average.
At the time I was running the latest FWs (I kept updating as the FWs came out) with Mimocans EXT4 fix.
I was with lowest brightness setting, running on 2G without any screen animations.
So heres the fix:
Install SetCPU 2.02, make sure to apply on boot, make the minimum speed 100mhz and the top 800mhz.
This ensures the phone doesn't ever go to 1ghz but that the performance is never compromised (even when playing games, videos, apps).
Because I have the Mimocans fix, everything is smooth and battery life goes down very slowly!
Heres the stats of my battery right now:
Battery Level 70%
21h 40m 25s secs since unplugged
Display 37%
Phone Idle 27%
Cell standby 21%
Voice calls 7%
Android System 4%
Internet 2%
Android OS 2%
You can give this guide a go, sorry if it doesn't work, just trying to help.
Regards,
Azazin!
azazin said:
Hi everyone,
I have had my Galaxy S for a month now, I have been very unhappy with my battery life, so I thought, I gotta to fix without compromising perfomance.
I found it!
My battery life during this 1 month period was utter crap, battery used drained from 100% in about 10-12 hours on average.
At the time I was running the latest FWs (I kept updating as the FWs came out) with Mimocans EXT4 fix.
I was with lowest brightness setting, running on 2G without any screen animations.
So heres the fix:
Install SetCPU 2.02, make sure to apply on boot, make the minimum speed 100mhz and the top 800mhz.
This ensures the phone doesn't ever go to 1ghz but that the performance is never compromised (even when playing games, videos, apps).
Because I have the Mimocans fix, everything is smooth and battery life goes down very slowly!
Heres the stats of my battery right now:
Battery Level 70%
21h 40m 25s secs since unplugged
Display 37%
Phone Idle 27%
Cell standby 21%
Voice calls 7%
Android System 4%
Internet 2%
Android OS 2%
You can give this guide a go, sorry if it doesn't work, just trying to help.
Regards,
Azazin!
Click to expand...
Click to collapse
Please update with display time, phone idle time, standby time and voice call time. Without it these are a bit useless, these don't seem far from my stats when I use the display for +/- 1 hour.
alovell83 said:
Please update with display time, phone idle time, standby time and voice call time. Without it these are a bit useless, these don't seem far from my stats when I use the display for +/- 1 hour.
Click to expand...
Click to collapse
I have the percentages up in the OP.
This guide isn't just for turning crap battery life to good, it's also for people to extend their battery life if they already have a decent one.
Following the underclock to 800mhz my phone can last this long, compared to before when it used to last 10-12 hours with same usage!
azazin said:
I have the percentages up in the OP.
This guide isn't just for turning crap battery life to good, it's also for people to extend their battery life if they already have a decent one.
Following the underclock to 800mhz my phone can last this long, compared to before when it used to last 10-12 hours with same usage!
Click to expand...
Click to collapse
The percentages stand out, thanks, I saw them. Again, they are a bit meaningless without the time used. If you don't use your phone for 24 hours you should lose maybe 5% with sync off.
So, please, click on "display" and report the time that the display has been on, repeat for the other usage categories, other people will ask for this same information. I don't know if you didn't know how to do that or if you are witholding the information, hopefully it's just the former. I understand that, perhaps, you are doubling your battery life, but depending on the way we use our phones, relative to the way you use your phone we can see better or worse results. Doing this will allow us to know how much you use your phone and for what purpose, so we can make personal judgments about its merits to our usage.
TIA
This may fix the issue but it's merely a patch to cover up the wound. From my experiments I've found that in most cases the problems are related to the phone never entering sleep-mode. If you have bad battery life, please do the following:
0. Make sure you phone has been running on battery power for a while, usually a day with only 20% battery left is a good place.
1. Type *#*#4636#*#*
2. Go to Battery History
3. Other usage and "Since last unplugged"
4. Check the "Running" bar. Generally, if this is over 60% something is wrong.
5. Go to partial wake
6. Check if there's some application (e.g. Facebook) that has a high partial wake percentage. This is bad. System should be on top on most systems.
So, do you have the signs of something being wrong? Fear not! Usually this is due to a program or service misbehaving. I had bismal battery life (about 15 hours, just check the other thread for several of my posts), and then I uninstalled "Weather from Yr". I also let my phone discharge completely, then charge TURNED OFF over night. I then disabled auto brightness and "power saving" in the display. Yes, I disabled the power saving feature, and my battery life went sky high. Now I have about 2 days of moderate use (1h 30 min on) and about 1 day with heavy use. Letting any application run while the screen is off using partial wake KILLS my battery.
Unfortunatley, I didn't follow proper scientific approach when conducting my experiments, so I can't say which of the three things (uninstall weather from yr, complete discharge/charge cycle or turning off power saving) that did it for me, but it's worth a shot if you haven't rooted your phone. Post back with results.
alovell83 said:
The percentages stand out, thanks, I saw them. Again, they are a bit meaningless without the time used. If you don't use your phone for 24 hours you should lose maybe 5% with sync off.
So, please, click on "display" and report the time that the display has been on, repeat for the other usage categories, other people will ask for this same information. I don't know if you didn't know how to do that or if you are witholding the information, hopefully it's just the former. I understand that, perhaps, you are doubling your battery life, but depending on the way we use our phones, relative to the way you use your phone we can see better or worse results. Doing this will allow us to know how much you use your phone and for what purpose, so we can make personal judgments about its merits to our usage.
TIA
Click to expand...
Click to collapse
Hi,
Oh okay lol, no problem.
Display: 1h 22m 8s.
Phone idle: 20h 51m 22s
Cell standby: 12h 12m 52s
It doesn't look like I have used it much but during the time the display has been on, I have either been:
Playing games,
Texting,
Twitter,
Or Internet.
It doesn't look like much, but I recommend you try this and post results before and after
dagingaa said:
This may fix the issue but it's merely a patch to cover up the wound. From my experiments I've found that in most cases the problems are related to the phone never entering sleep-mode. If you have bad battery life, please do the following:
0. Make sure you phone has been running on battery power for a while, usually a day with only 20% battery left is a good place.
1. Type *#*#4636#*#*
2. Go to Battery History
3. Other usage and "Since last unplugged"
4. Check the "Running" bar. Generally, if this is over 60% something is wrong.
5. Go to partial wake
6. Check if there's some application (e.g. Facebook) that has a high partial wake percentage. This is bad. System should be on top on most systems.
So, do you have the signs of something being wrong? Fear not! Usually this is due to a program or service misbehaving. I had bismal battery life (about 15 hours, just check the other thread for several of my posts), and then I uninstalled "Weather from Yr". I also let my phone discharge completely, then charge TURNED OFF over night. I then disabled auto brightness and "power saving" in the display. Yes, I disabled the power saving feature, and my battery life went sky high. Now I have about 2 days of moderate use (1h 30 min on) and about 1 day with heavy use. Letting any application run while the screen is off using partial wake KILLS my battery.
Unfortunatley, I didn't follow proper scientific approach when conducting my experiments, so I can't say which of the three things (uninstall weather from yr, complete discharge/charge cycle or turning off power saving) that did it for me, but it's worth a shot if you haven't rooted your phone. Post back with results.
Click to expand...
Click to collapse
2 things:
1) the phone number thing is pretty cool, in the past I've used "Spare Parts" for identical and a bit more information. I encourage people to use one or the other.
2) You can still fix the unscientific nature of your experiment by a factor of 1/3. You can turn power saving back on, and I'll try it. Also, I'll assume that 1 charge wouldn't make a world of difference, so I think that could've added a few minutes to your phone life (more than charging with the phone on) but maybe someone with actual technical knowledge can chime in.
As for any program running in the background, I had a similar situation where I was going from losing about 30% in a day, similar to the OP, while using the phone, and hence the display, for about an hour at work. I also, always preferred to leave the phone off the charger overnight, so I'd have been unplugged for 16+ hours. One day I allowed 3 things to run to check both battery and 3G usage (I have 500mb per month until I decide to change my plan, probably waiting for the new deal thats been announced for unlimited data for an extra 10 bucks sometime this month). So, I ran:
Sync
3G data monitor (To test if I would go over what I'd use too much data from my allotment, refresh every 30 mins IIRC)
ATK (to kill tasks, hoping they'd use less of my precious bandwidth)
This 2 tasks plus sync just CRUSHED my battery, by the first time I turned on the screen I saw more than 50% drain from my battery, probably around lunchtime (probably 3.5 hours from the start of work). I turned off all 3 and, like you, I haven't conducted a scientific experiment since.
I tried something similar with overclock widget, but I had the impression that underclocking made the SGS really unstable. It freezed completely like 3-4 times a day. After uninstalling overclockwidget the device didn't crash anymore.
So how are the longterm effects (say, 1 week) of setcpu?
If anything I'd OC my phone, not the other way around.
XQC said:
I tried something similar with overclock widget, but I had the impression that underclocking made the SGS really unstable. It freezed completely like 3-4 times a day. After uninstalling overclockwidget the device didn't crash anymore.
So how are the longterm effects (say, 1 week) of setcpu?
Click to expand...
Click to collapse
The software probably isn't optimized for your usage scenario, I don't think an underclock, if done right, should be that bad, OC on the other hand...
ShezUK said:
If anything I'd OC my phone, not the other way around.
Click to expand...
Click to collapse
I'm in the same boat, screen uses 80%+ of battery when the screen is on, as long as I'm not wasting battery when the screen is off and processes aren't running I have excess battery life, not to mention a spare battery, which I'd like to get more use out of if I could better my experience.
{
"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"
}
crap battery life
---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------
crap battery life

My Android OS drain culprit -

Edit: just so u know that that the process irq/325-k3g is causing the android os issue. Once again this process is only visible in the free app osmonitor. I let it run wild for couple of hours and it drained my battery excessively and also made android os go up to 50% battery usage. So it seems the culprit for the android os drain is process irq/325-k3g.
The process is just showing consumption when the drain happens and NOT all the time. So if u see your battery dropping quickly have a look to see if the process is consuming CPU . /Edit
Right, so ive observed lately that when my battery starts dropping % quickly that a process called irq/k325-k3g is consuming a lot of CPU.
This is only visible with the app osmonitor under process.
This randomly happens and seems to be triggered by the stock browser.
If the process kicks up it won't stop on its own, I can't stop that process in osmonitor and thus causing excessive battery drain cause it continousely uses cpu. The only way to stop this process is by killing internet (browser.apk).
I had the same problem on all roms I've tried so maybe someone else suffering from this find this helpful.
This doesn't solve the root of the problem but atleast its a temp fix.
Any feedback appreciated.
Sent from my GT-I9100 using Tapatalk
i feel your pain , i am getting almost 10% drain per hour
So nobody experiencing battery drain caused by the above process?
Sent from my GT-I9100 using Tapatalk
The problem is that everyone is quite about this problem. Battery life is rubbish and no one is putting forward any advice or detailed fix for the problem.
So back to your solution mate, does this process work when you use opera mini? I never use the stock browser.
Kind regards,
Sul
A coworker showed me his SGS2 today : uptime 2days 23h and still 39% battery remaining..
config :
1) No airplane mode
2) No wifi at all
3) No gapps autosync
4) No task killer
5) some phone calls (20 minutes), a few sms and browsing. A little gaming too..
I have the same config : but poweroff after 1d and 6 hours...
irritating
I've had 2 different units and found the battery life to be awesome on each one. I'm wondering whether users previous handsets are coming in to play i.e. are they coming from Blackberrys or old Nokias?
Quietness on a certain issue tends to point to most people not suffering from it.
Regards.
MoxFulder_CH said:
A coworker showed me his SGS2 today : uptime 2days 23h and still 39% battery remaining..
config :
1) No airplane mode
2) No wifi at all
3) No gapps autosync
4) No task killer
5) some phone calls (20 minutes), a few sms and browsing. A little gaming too..
I have the same config : but poweroff after 1d and 6 hours...
irritating
Click to expand...
Click to collapse
why he did not got a usual phone .
The problem is the huge battery drain in idle mode , i had a galaxy s before the drain was 1.5% per hours now i am getting 8-10% per hour
a non sense
To be honest I thought my battery life on my Nokia N900 was crappy, max 2 days, usually though 1 1/2 days but coming on to my first Android, battery lasts me less than 17 hours on average lol
I was surprised, I was expecting more actually considering it is a more mature OS than Maemo, might have better battery management. Guess I was wrong haha.
That said I keep my phone charged to my PC when ever I am at work so it doesnt really bother me much.
Ever thought that maybe you've all got an awesome phone, maybe just playing with it quite a lot more than you would have any other phone.
I know i am, but when i had a day off playing it lasted 2days with 37% left.
Sent from my GT-I9100 using XDA App
Sorry guys, this thread is about some rogue system process that causes battery drain, possible triggered by the browser, very specific issue.
so please lets not turn this into a typical "my battery is bad/good" thread.
Sent from my GT-I9100 using Tapatalk
All I can say is a factory reset doubled my battery life and fixed my problems
An explantion by a google engineer for the battery drain issue:
Comment 297 by [email protected], Apr 7, 2011
A problem has been identified in the driver for the wifi device on the Nexus One (bcm4329). The problem can cause the phone to repeatedly enter its suspend state and immediately wake up, resulting in a severe degradation of battery life. The problem has only been observed on Nexus One running the Gingerbread updates to the wifi driver and device firmware, although the driver is used in other phones as well. A fix is in the works, but I don't have information on a release at this time.
Turning off the wifi device, or modifying the wifi sleep policy to never sleep, may avoid the problem in the meantime.
http://code.google.com/p/android/issues/detail?id=15057#c297
Locster126 said:
Sorry guys, this thread is about some rogue system process that causes battery drain, possible triggered by the browser, very specific issue.
so please lets not turn this into a typical "my battery is bad/good" thread.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Good luck..... I'll drop in when the thread has hit 10 pages of random battery chat and try and find a mention of the relevant process!
Seriously though, I'll keep an eye on the process and see if I notice what you say in the OP.
Regards.
Here is a more exhaustive explanation:
Comment 261 by [email protected], Apr 20, 2011
@nsbu: The message about "'uart_clk' not off" looks alarming but is actually harmless -- this clock doesn't prevent the SoC from suspending, and this message always appears at suspend time in Android kernels running on Qualcomm MSM chipsets. (If other clocks were listed here then those could represent a problem.)
Similar to a previous report on a T-Mobile myTouch 4G discussed here, the data logged on wakeup reasons needs to be interpreted by the OEM that has the hardware specs for the phone and the Qualcomm radio firmware source that generates some of that info. HTC is the OEM for that phone; their support site is http://www.htc.com/us/support . Or try the T-Mobile support site at http://support.t-mobile.com/viewAllProducts.html , they seem to sell this device under their own brand.
In case anyone's confused, it's recognized that some phones do have battery life problems that stem from: (a) not properly suspending to low-power states and, (b) continually attempting to suspend and resume, burning CPU in the suspend thread. The causes tend to be due to devices continually generating interrupts (that might not be properly handled by device drivers and hence continue to be generated), or drivers rejecting suspend for conditions that should be short-lived but instead persist for long time periods. In many cases the drivers involved are written by OEMs and Google does not have any knowledge of the drivers or devices causing the problem -- the folks who made the phone need to take a look.
Problems with the Google Nexus One described in another issue referenced in previous comments fall in the same category, and in that case we have the hardware and the design info needed to diagnose the problem (wifi driver interrupt handling problem), and a fix is on the way.
http://code.google.com/p/android/issues/detail?id=11126#c261
Well, for me the battery is good. I don't use phone much for gaming and surfing but there are a lot of calls, maybe 3-4 hrs of call time or more. Also I keep quitting running services like social hub, voice command etc.
{
"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"
}
yudi7 said:
Well, for me the battery is good. I don't use phone much for gaming and surfing but there are a lot of calls, maybe 3-4 hrs of call time or more. Also I keep quitting running services like social hub, voice command etc.
View attachment 625221
Click to expand...
Click to collapse
Voice calls isn't a way to check your battery life. As soon as you hold the phone near your ear, screen turns off. For proper checking, you have to surf internet via Wi-Fi/3G, play Games, watch Movies etc..Just keep the screen on. I think if you even talk 6/7 hours per day (and do nothing else) then the GS II will last for more than 2 days, surely. Voice calls can't be a way to check battery, for any phone.
Regards.
ithehappy said:
Voice calls isn't a way to check your battery life. As soon as you hold the phone near your ear, screen turns off. For proper checking, you have to surf internet via Wi-Fi/3G, play Games, watch Movies etc..Just keep the screen on. I think if you even talk 6/7 hours per day (and do nothing else) then the GS II will last for more than 2 days, surely. Voice calls can't be a way to check battery, for any phone.
Regards.
Click to expand...
Click to collapse
Yes I know voice isn't a way to check battery. But like I said its good for me. I previously had iPhone 3G which I used like I use my GS2 and it gave me hardly 5-6 hrs usage of battery. So happy with GS2. I'll test my battery life by playing games and surfing and all that and I'll let you know the result.
yudi7 said:
Yes I know voice isn't a way to check battery. But like I said its good for me. I previously had iPhone 3G which I used like I use my GS2 and it gave me hardly 5-6 hrs usage of battery. So happy with GS2. I'll test my battery life by playing games and surfing and all that and I'll let you know the result.
Click to expand...
Click to collapse
That would be kind of you.
For me, on Wi-Fi, at Auto Brightness in stock browser, with SetCPU set in Ondemand mode, battery drains at a rate of 18-20% per hour (I don't let the screen off). Lets see if yours are better or not
i'm very happy with my battery performance.
__________________
Device: Galaxy S II
ROM: Lite'ning Rom v1.4 - overclocked to 1.4GHz
Kernel: CF-Root v.3.8 XWKF1
Previous Phone: Galaxy S
ammarselo said:
i'm very happy with my battery performance.
__________________
Device: Galaxy S II
ROM: Lite'ning Rom v1.4 - overclocked to 1.4GHz
Kernel: CF-Root v.3.8 XWKF1
Previous Phone: Galaxy S
Click to expand...
Click to collapse
As we don't know your happiness level I'd ask you to please mention some technical details, like how long your battery lasts or else? If possible post a Battery usage screen shot also.
Regards.

Battery Life: desperate for help

Hey,
I know there are a lot of threads about this topic, and I've read a lot of them on my quest to improve my batterylife. I've come from 4-5% usage in sleep down to 2%, but i still think its to much, and could use some assistance.
Like I said, I read a lot of threads discussing this matter but I would like for someone with a little more experience to take a look at the data and tell me what you think.
so here are some screenshots which I dont understand completely.
So what I dont understand is, cpuspy says, 84% of the time my phone was in deep sleep, but the batteryuseage shows something completly different. it shows the phone has been awake almost the whole time.
but if i'm reading BBS correctly there are no mayor wakelocks occurring.
i looked at my battery before i went to bed last night. it was at 59%. exactly 10 hours later when i woke up, it was at 40%. that means it lost almost 2% an hour when i didnt touch the phone once.
so i know stuff like BLN sucks juice, but i havent gotten a notification last night, and i set a schedule for BLN to turn off turing sleeping hours. and it only blinks for 10 minutes after a new notification has arrived and then stops.
i undervolted the CPU a bit (75mV on every speed).
i calibrated the battery (drained completely, removed for 2 minutes, charged to full while phone was off, at 100% removed it again for 2 minutes, put it back in and booted phone)
i wiped the battery stats
turned off a bunch of stuff, like autoupdate on market and other tips i found here on the forum.
wifi sleep policy is set to when screen turns off (btw. sometimes i doenst reconnect after the phone wakes from sleep, anyone got an idea how to fix that?
i'm running galnet miui with the siyahs 2.3 kernel and the KI4 modem.
now the question is, where does that leave me? what am i missing here?
For one day see what your battery life is like when you COMPLETELY disable BLN. Titanium freeze it or uninstall it. Second screenshot, what is that Imapfolders things? It has a high count (I see 1200), maybe try disabling that for a day just to make sure its not an app acting rogue. Another thing, have you disabled samsung bloatware (IM app, social hub, game hub etc).
Most of your wakelocks are radio related. When the phone gets a data request and wakes up to handle it.
I suspect its the K9 push email account that is doing it - anyway to change that?
adding on these questions that i also faced by the thread starter, how does this affect:
AlarmManager
Android System
40s(40s) Count 2336 0.1%
i believe this might be the contributor to the constant phone wakes?
Remoteconcern said:
Most of your wakelocks are radio related. When the phone gets a data request and wakes up to handle it.
I suspect its the K9 push email account that is doing it - anyway to change that?
Click to expand...
Click to collapse
would forwarding my mail to gmail and then getting it pushed from there be better?
from what I've seen on here gmail causes bigger wakelocks. most people recommend using K9. Maybe try a different rom? sounds like a big move however I do know that when running the hyperdroid rom for example most people get amazing battery life. Seen a few nice battery reports with checkrom also
I can confirm battery life on Check Rom coupled with Siyah 2.3 is excellent.
I might be stating the obvious to the OP but have you frozen most of the bloatware in Titanium Backup, ever since i done this battery life has improved substantially.
Also go into Wi-Fi settings > Wi-Fi sleep policy and ensure it is unticked,choose one of the other 2 options
In location and security untick Use GPS Satellites as this will use up lots of battery when it's ticked.
In the Privacy tab untick back up my data as this too will cause battery drainage.
Lots and lots more battery saving ideas, search and you'll find them
well i really like miui so i dont think i'll switch just yet. i'll leave that as a last resort.
i see my mistake here, i should rather be looking at the wakelock count rather than the time correct? K-9 sure as hell has a lot of wakelocks. (counting all wakelocks mentioning K-9, i get more than 8000)
the problem is, my email provider doesnt support push, only imap idle, that must be the reason why its wakeing the phone up so often. although i didnt get any mail last night...
from my understanding push services work a little different, since the app using it doesnt have to be connected the whole time. it gets woken up when the server sends a new message.
i deleted k-9 for now, and i'll see how that reflects on my battery life.
would maybe polling mail every hour be better than using imap idle?
work related i really need a way to get my mail frequently.
jonny68 said:
I can confirm battery life on Check Rom coupled with Siyah 2.3 is excellent.
I might be stating the obvious to the OP but have you frozen most of the bloatware in Titanium Backup, ever since i done this battery life has improved substantially.
Also go into Wi-Fi settings > Wi-Fi sleep policy and ensure it is unticked,choose one of the other 2 options or none at all.
In location and security untick Use GPS Satellites as this will use up lots of battery when it's ticked.
In the Privacy tab untick back up my data as this too will cause battery drainage.
Click to expand...
Click to collapse
have done all of that already, like i said, i've read a lot on the forums (cause i myself hate ppl asking the obvious they could've found out by using search for 2 minutes) but thanks for the tips.
only thing i'm not so sure about is the bloatware. since i dont think miui has a lot of that. but i'll look into that.
thanks for all the help so far.
i'll try to look at wakelock count more than on time.
one really anoying thing is BBS force closes A LOT on miui rom. at least i think its rom related, since i didnt have these problems with the other roms i tested since i got the phone.
Hey Phoboss,
please consider the rom is almost non relevant (except eye candy) to battery drain, the kernel makes the difference! I was on Siyah until three days ago with a consumption of 10% in 8 hours during normal usage of the phone, but then i found this Thread, give it a try (i use extreme edition w/o ans probs) forget about setcpu, if the kernel was compiled right, u dont need it!
Furthermore, why do you replicate so many folders in K9, from my POV the Inbox should be sufficient, but I dont know ur provider, push works fine with GMX, even on a freemail acount
If you want to try more, freeze the Calendar App and choose an alternative, from what I have heard, this helps to get rid of most of alarmmanager wakelogs (to be confirmed).
BTW, im on 75% Battery left right now after 20! hours on Battery with moderate usage (some WIFI, lots of XDA App , some calls and browsing, most on 3G which is always on)
{
"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"
}
Good Luck!
Does your carrier support Fast Dormancy? Because you can turn that off as well to save a few % batterly life if it's not supported. There's usually a phone/model specific code you can type into the dial pad to switch it on/off (I can't remember off the top of my head what the code is but if you search around you'll find it for the SGS2).
Thanks for the tips, I'll look into that.
Here's a little update from last night. Was sleeping for pretty much exactly 8 hours and lost 8% battery in that time. So I came down from 2% an hour to 1%. Still think that's to much though.
The thing is, in the 40 minutes I'm awake now, I've been using tapatalk and surfed the web and I lost another 5% in that time.
This can't be normal can it?
Battery usage is still showing that the phone has been awake the whole night. As you can see on the screenshot below, between 0:00 and 8:00 I was asleep, screen and WiFi where off the whole time, but the phone is shown as awake. I've attached another bunch of BBS stats, this time sorted by count and not time.
(btw. how do you get BBS to show a graph like on your screenshot karpfenhai?)
And isnt Siyahs kernel considered one of the better ones around? Just curious.
Fast Dormancy is not supported by my operator, BUT I've read that it doesn't matter because my operator propagates that to the phones, and they disable it themselves.
Regarding K-9 checking so many folders, that's because I have them sorted by server side rules. I guess I could limit that to work mails.
Thanks again for the help so far.
I used Siyahs kernel for a while and I loved some of the features but Speedmod has it beat in terms of speed (duh! ) and battery life (I had read that multiple times which made me switch and I noticed a drop in battery consumption when switching to Speedmod).
You can check if FD is off as well but if your carrier doesn't support it may as well switch it off rather than relying on the phone to do it for you (I'd read a fair few posts from my fellow Aussies recommending switching off FD because AFAIK none of our carriers support it and it's a battery drain).
BTW - regarding Wifi sleep policy, I've seen people DEMAND that you completely turn off sleep policy as it's a battery drain (like you, i've been doing lots of battery reading and got mine down to very low consumption thankfully) - try comparing BBS with sleep policy on screen off vs sleep policy off and actually switching wifi off completely overnight.
Also, one thing I found useful was using titanium backup to completely freeze apps I wasn't using rather than just relying on the individual app settings. This also helps because it stops them booting when you start up your phone. Speaking of which, get Startup Manager if you haven't already - just like your home pc: turn off everything you don't need
EDIT: my uni mate wrote a pretty good general guide (for installing custom roms/etc as well as batter life tips) that might help you: http://forum.xda-developers.com/showthread.php?t=1351663
phoboss said:
Thanks for the tips, I'll look into that.
Here's a little update from last night. Was sleeping for pretty much exactly 8 hours and lost 8% battery in that time. So I came down from 2% an hour to 1%. Still think that's to much though.
The thing is, in the 40 minutes I'm awake now, I've been using tapatalk and surfed the web and I lost another 5% in that time.
This can't be normal can it?
Battery usage is still showing that the phone has been awake the whole night. As you can see on the screenshot below, between 0:00 and 8:00 I was asleep, screen and WiFi where off the whole time, but the phone is shown as awake. I've attached another bunch of BBS stats, this time sorted by count and not time.
(btw. how do you get BBS to show a graph like on your screenshot karpfenhai?)
And isnt Siyahs kernel considered one of the better ones around? Just curious.
Fast Dormancy is not supported by my operator, BUT I've read that it doesn't matter because my operator propagates that to the phones, and they disable it themselves.
Regarding K-9 checking so many folders, that's because I have them sorted by server side rules. I guess I could limit that to work mails.
Thanks again for the help so far.
Click to expand...
Click to collapse
1% an hour is very good pretty much what i get you cant really get much better than than unless you switch off data and sync and most other things, consider yourself lucky you only lost 1% an hour, if your surfing the web for about 40 mins non stop 5% sounds about right too.
Hello again, it seems you are on the right track, go ahead, its getting better
I had the same issue, 2ma consumption for 3-4 hours after unplugging, then it raised to 14-18ma for no reason, my suspicon was the accu wheather widget, but I didnt do any further investigation cuz I switched the kernel and the issue dissappeared, yay
Bbs can provide some more infos even on alarms, check it:
I still have 35% left and I can leave the house w/o getting panic ;-)
Try the kernel I mentioned earlier, you can only win!
Sent from my GT-I9100 using XDA App
BBS is force closing like crazy, cant really use it a lot.
the thing is, i still dont have an idea why my phone is always shown as awake. the one time i could access the graphs within BBS it showed the same behaviour. phone was/is awake the whole time.
As far as I know, this is related to miui, I've seen other users using this rom complaining about fc's..
Search for logcat and do a manual dump to gain the desired data.
Sent from my GT-I9100 using XDA App
I wonder if that constant awake bar is something to do with MIUI - certainly 8% in 8 hours drain isn't constantly awake, it would have drained more.
I route all my email to my Gmail and push that - doesn't seem to give me any battery trouble! I don't know if its a good option for you, or really whether or not its battery efficient, I just really like the Gmail interface.
so i've frozen some apps, wiped dalvik and cache partitions
but unfortunately that didnt really help.
here are some more screenshots (i resetted the data to get a more accurate reading) from the last half hour, during which, as you can see by the screen on time, i havent used the phone.
so do you think its odd that my phone got woken so often during this short time, or am i just to anal about it?
Simple can work well
DramatikBeats said:
from what I've seen on here gmail causes bigger wakelocks. most people recommend using K9. Maybe try a different rom? sounds like a big move however I do know that when running the hyperdroid rom for example most people get amazing battery life. Seen a few nice battery reports with checkrom also
Click to expand...
Click to collapse
Just to back this up im running Hyerdroid just checked been running 20hr 15min and on 83% but dont do any fancy stuff just charge the phone when it needs it
like your battery saving method , but it doesnt help you, if your phone dies during a work day. all the testing i did was basically lab tests, i never really used the phone much during this time. if i start getting calls and writing mails all day, the battery will die, thats why i need to find out whats going on.
i just want to know, if what i'm seeing on the first screenshot in my last post is normal or not. from my understanding its just a little odd that, in the approx. 30 minutes that are displayed, my phone was awake a lot, when the screen wasnt even on (i was under the shower and havent touched the phone ones).

Unusually high battery drain in deep sleep with just GSM on

After freezing some twenty applications with Titanium Backup, I finally got this phone to properly enter deep sleep. Here is a quick demo:
(I'm sorry for the images' quality, it's ScreenFilter in effect)
{
"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 only have the HD2 to compare, which, either with WM6.5 or Android (CM7 flavour), reported, with its builtin battery chip, 4mA of drain to stay connected to the GSM carrier.
Surely enough, since silly Samsung doesn't like to use decent battery controller chips in their 800USD flagship phones, which any HTC device has, the estimates from Battery Monitor Widget, as, per se, estimates, so I cannot really say the numbers are exact, nor I have a definite idea of how they are calculated.
But still:
And, more in detail:
(yes, I know I could've copy/pasted the txt log in here, but surely a screenshot is nicer to look at )
I shamelessly forgot to take a shot of the Android stock battery usage screen, to which I actually look quite seldom; to my defense though, all these screenshots have been taken one after the other, so refer to the same moment; I had the phone charged, then unplugged it and reset the timer on CPUspy, WiFi stayed on just for a while, then disabled; no GPS, no BT, "GSM Only" selected in mobile networks.
I have found a weird behaviour: the drain is 2mA (according to BMW estimates) for quite a while right after the battery is charged. When you happen to actually "use" the phone for a while, the deep sleep drain instead, as estimated, skyrockets up to 30-40mA, to slowly go down again, but never quite low as the drain on my HD2. In the attached screenshots, it stabilized to 17mA, which is still 4 times the comparison of 4mA for the HTC.
A silly deduction: this must not depend on the kernel nor the ROM, since the deep sleep state has the CPU totally inactive, but is there a "radio firmware" that changes this behaviour?
Most importantly, what are your deep sleep mA readings with Battery Monitor Widget?
On a side note, I briefly connected the Note to my PC via USB to copy over the screencaps, and now after a short USB charge, BMW is reporting 2mA again...
How about sharing what apps you froze?
Without giving a full list (that would be dispersive and especially I would have to write it by hand which is annoying ) I suppose you can start with the obvious, all samsung apps, especially the updaters, and those that have a huge internet background activity (freezing IM+ in my case helped, but that sucks if you use chats a lot... I dont), then pass onto the tricky ones you would never suspect, like Network Location and Google Maps/Google Streets
If it doesn't solve your problem let me know, I will go and compile a list, but keep in mind that at first I just uninstalled system apps from Titanium, so the frozen list will be uncomplete of those uninstalled apps.
Quick update: for just this night, I tried leaving the phone on in airplane mode: 8mA drain just to be in connection-less standby!! That's ridiculous, it drains double with no connection active whatsoever, than what the HD2 needs to keep the GSM network connected. Re-enabled the GSM this morning, went to 17mA, so I suppose the 2mA that I see right after charging are, as suspected, just an artifact of BMW estimates.
This resulted in 4% over 7 hours (4% of a 2500mAh battery) in airplane mode, HD2 under WM drained 3-4% over 8 hours nights with GSM on (on a 1230mAh battery).
This phone does have a ****ty energy management.
ephestione said:
This resulted in 4% over 7 hours (4% of a 2500mAh battery) in airplane mode, HD2 under WM drained 3-4% over 8 hours nights with GSM on (on a 1230mAh battery).
Click to expand...
Click to collapse
I left the note (stock, not rooted) on for about 9 hours this night with 4% battery. This morning it had 1% left. To force it to shut down i opened wifi, read my mails and watched 2 songs on youtube.
All i did for the night was to set it to GSM only mode, close all active apps and clear the RAM from the build in task manager. I haven't experienced samsung apps keeping the phone awake yet.
Hi Bassarnis, and thank you for your report
Your experience may lead to believe it actually drained "just" 3% overnight, yet, with CM7 on my HD2 I had the strangest things happen especially when battery was (reportedly) almost drained.
Android (with its silly battery management) would tell me the phone was at 5%, and I just went on using it until 1%; even doing the nastiest stuff to drain that last 1% it took a notable while before the phone shutted down.
Turns out the battery wasn't really drained, but the phone told me it was, because of the useless, illogic, un-asked-for use of "battery statistics", combined with the fact that this OS thinks a battery is depleted when the dV is still 3600mV-ish (LiIon can stand to be discharged up to 3V with no damage).
In this case your leftover 1% could very well mean, in reality, a 6-7% ;D
I would love to know how much %age your phone drains overnight with GSM, starting from a good charge
ephestione said:
Hi Bassarnis, and thank you for your report
Your experience may lead to believe it actually drained "just" 3% overnight, yet, with CM7 on my HD2 I had the strangest things happen especially when battery was (reportedly) almost drained.
Android (with its silly battery management) would tell me the phone was at 5%, and I just went on using it until 1%; even doing the nastiest stuff to drain that last 1% it took a notable while before the phone shutted down.
Turns out the battery wasn't really drained, but the phone told me it was, because of the useless, illogic, un-asked-for use of "battery statistics", combined with the fact that this OS thinks a battery is depleted when the dV is still 3600mV-ish (LiIon can stand to be discharged up to 3V with no damage).
In this case your leftover 1% could very well mean, in reality, a 6-7% ;D
I would love to know how much %age your phone drains overnight with GSM, starting from a good charge
Click to expand...
Click to collapse
I charge my phone while its off. I know the effect you are describing. It could well mean that the battery wasn't properly charged the first few times, leading to the last 1% = 5%.
I don't guarantee that my results are accurate, since bought the Note 48 hours ago. When i bought it, i used it until the battery depleted and then charged it to full while it was off. Now its the 3rd time i charge it and i believe the percentages will be more accurate from now on.
Will try tonight and let you know tommorow
Thank you for your interest in this matter
ephestione said:
Thank you for your interest in this matter
Click to expand...
Click to collapse
Here are the results:
As soon as the indicator showed 5% battery left at around 23:00, closed all apps via the build in task manager and cleared the ram. (GPS/WI-FI/Auto-synch/Data = off, network set to GSM only)
Now at 7:00 there is 3% left after 8 hours of sleep time. That is 2% more than the last time. Currently the phone is on it's 4th charge circle using the method posted above (letting the phone shut down by itself, then charging it while off till 100%). I 'll probably do one more circle and then start charging the phone whenever.
after reading this thread was a bit worried so did a test last night,after a full charge from 1 am until 9am with only gsm on it consumed just 1%.
so no complains here on my wife's galaxy tab 10.1 she had the same draining problem,but after disabling the GPS it was solved.
Apparently there is something terribly wrong with either my phone OR my software... are you both on stock ROMs? And which version of firmware?
Thank you!
Ive been getting more than 1% drop over 8hours since my SGS2 days.. so this is nothing new to me.. only my SGS1 could drop 1% every 9.5hrs of idle.
ephestione said:
Apparently there is something terribly wrong with either my phone OR my software... are you both on stock ROMs? And which version of firmware?
Thank you!
Click to expand...
Click to collapse
Stock 2.3.6 not rooted here. I believe that battery monitor widget you use keeps your phone awake. Did you check your wake times?
You know, I've thought about it very much, regarding BMW and possible interferences with wakelocks, since it has to update stats every 10 minutes after all... but it's still once in 10 minutes so I don't see how it can weight for so much.
Also, I had battery monitor widget since the phone was still on KJ4 and unrooted, fresh out of the box, without a SIM inside, and with logging every 5 minutes instead of 10.
You can compare the graphs of the battery drain (one day is equivalent to two columns):
Before pimping up the phone, stock KJ4:
After, with ExtraLite rom and Abyss Kernel:
I obviously studied reports from betterbatterystats and nothing big seems to come out from there, apart from three causes for wakelocks that I cannot really pinpoint to anything specific: ActivityManager-Launch and AlarmManager, time-wise, and ActivityManager-Sleep, count-wise.
Out of curiosity, I disabled BWM, to see if anything changes.
But I reckon this is some kind of Schrodinger's cat situation, because I can't know the battery current drain of the phone when BWM is not active, if I don't use BWM
My last resort is to restore the nandroid of KJ4 freshly cf-rooted and see from there
Thank you all again for the interest, and
@EarlZ
1% down overnight is scary, positively speaking. I was content with 3-4% with the HD2 and WM6.5.
I was on the 1% mark overnight (less actually) only with my iPaq 214 But then again, that was not a phone, and its standby was a proper standby. And it had a battery almost like the note's.

Battery troubleshooting (ROM inspecific)

This thread is to discus extremely poor battery life on the Nexus S. When we say extremely poor, we mean averaging <24 hours per charge at idle.
After much research I think it's safe to say that some of us are experiencing extremely poor or contrarily, extremely good battery life and no one seems to have an explanation. I'm hoping this thread will find the answer.
The issue:
Many NS users are experiencing extremely poor battery life regardless of:
Rom installed
Apps installed
Installation method
Battery used
Charging method/battery training
Phone usage
Power configuration/tweaks
When we say "extremely poor" we mean <24 hours at idle, but many users are getting less than 8h/C at idle.
I personally have tested this against several ROMS both GB and ICS. We all see slightly better battery performance with GB ROMS, but never greater than 24h/charge.
My ROM history:
Tested the following ROMS for 4 days each, following the same installation procedure each time.
CM7 (nightly/stable) - ~15h/[email protected]
CM9 - ~13h/[email protected]
CyberGR .v4.5 - ~11h/[email protected]
CyberGR .v5.0 - ~11h/[email protected]
Installation method:
Wipe battery stats
Wipe data/factory reset and wipe cache partition
Flash Dalvik-wiper.zip and wipe Dalvik Cache
Wipe data/factory reset and wipe cache partition again
Format /system/data/cache/boot/sdcard
Flash ROM
Flash Gapps if applicable (CyberGR comes with Gapps installed)
I was running an AUCKF1 Radio for all tests. I did try a few other radio's but did not see any noticeable increase in battery life *edit-flashed XXXKB3 and may have increased my idle time by 6x? still testing*
I've also never personally seen an NS get >24h/C, and I've deployed >40 of them to customers. I've only ever heard of >24h/C here on the forums where it seems quite common.
I've seen reports of users flashing the OTA automatically or manually, and some experience <8h/[email protected] while others see >3d/[email protected] I've also tested the OTA and never saw better than 13h/[email protected]
So, we're trying to find the common denominator between those with good battery performance vs. those with poor performance.
Suspects:
Android OS is almost always reported to be active/awake for at least 50% of the time, even at idle on a brand new clean install. It is always the highest consumer of battery, always keeps the CPU awake.
I propose the following test:
Regardless of your setup, if you are experiencing >2d/[email protected] or with use, please post the following:
Phone model (ie: i9020a, i9020t...)
ROM
Radio version
Installation method
Screenshot of your battery monitor from a full charge over a minimum of 10 hours.
Screenshot of your battery use by application/service (we notice that Android OS seems to be the culprit in most cases of poor performance)
For those getting <1d/[email protected], please do the following and then post the same as above:
Note: This should be done overnight.
Follow the above flash instructions and flash whatever ROM you please.
Reboot to recovery and wipe your battery stats.
Power off your handset and give it a full charge while powered off.
On first reboot, sign into a single Google account but do not restore your apps/backups and disable Google sync.
Do not install any additional applications.
Enable wifi/bt/gps/data/sync and associate to a wireless network
Do not modify any power settings.
Leave your handset to idle overnight for at least 8 hours without touching anything.
In the morning, take a screenshot of your battery use as well as battery use by application/service.
Post Phone model, ROM, Radio version, Carrier, and Screenshots.
I recognize that there is some argument about how fast your battery will re-train itself after wiping battery stats. In my experience the training seems to be optimal after 1 full charge to full discharge cycle, but ultimately I've never seen further training result in >24h/C. Someone please let me know if there's a more accurate way to test this? Maybe we shouldn't be wiping battery stats at all?
I'll get us started.
Sorry, didn't get screenshots after 8 hours because my battery wouldn't last that long.
Phone model: Samsung i9020a
ROM: CyberGR .v5
Radio: AUCKF1
Carrier: Rogers
Wifi associated, BT on, Data on, Sync on, 3G connected, added one Google account but did not restore settings and disabled account sync.
{
"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"
}
Results fluctuate between ~8h/[email protected] and ~14h/[email protected]
With light to moderate use, I get 6-10h/C
Hey Ben i just did what you did in the other thread. full charge everything on kill all unneeded services.
I'll admit that i forgot to kill extra services and it plummeted my battery to 92% in about 45min. I had an "oh ****" moment and went and killed the random apps.
Im at 2 hours extra now and lost 3% only, everything still on.
So with that info i'll mention this for me would be considered heavy usage. I'll never have everything on constantly. When I was posting up my results of light usage and getting 3 days - note that i had everything firewalled while on 3G except for my emails and messaging and took a few calls only. everything else was off.
I'm gonna guess that with it all on and actually using the phone i'll hit at most 10 hours, probably not even that.
So that basically puts us about even. I'm curious if you do my light tests...will you be seeing 3 days also ? If yes then we can rule out models basically.
Flashed XXXKB3, factory reset (according to OP instructions), flashed CyberGR .v5 again, signed into one Google account, disabled Google sync+backup, enabled and connected to wifi, bt/gps/everything on, then left my phone overnight. Results.
Looks ****in' Gooood. 1.2%/[email protected] draw.
But then, opened my screen once, played some tunes through BT to my truck, drove around for 13 minutes, went back in the house and left the phone idling again and look at the drop! It's continued to draw like this all day now, just idling. I've done NOTHING but play 13 minutes of music and then back to idle.
What's DOES IT MEAN??!!
So I rebooted my phone and let it idle again without touching anything, and still seeing the wicked battery draw. I dunno wtf to think here, and I can't get the draw back down to 1%/[email protected]
*edit* For the sake of 100% transparency, while the phone was idling at 1%/h overnight, I was far enough away from the wifi AP i'd associtated to, that it MAY have lost signal and given up, so perhaps the wifi hardware finally went to sleep. Does anyone know if wpa_supplicant (or whatever controls wifi in Android) runs is represented by AndroidOS?
Sent from my Nexus S using XDA App
Oh. Dur...
I think that may be it. Wifi was probably dis-associated overnight. You can see at the very beginning of the battery recording, there's a sharp dip in charge for about 15 minutes, which corresponds directly to Wifi association, then the draw goes nearly flat (1%/h) for 10.5 hours and the Wifi is not associated.
Testing now... Leaving Wifi on, but dis-associated. See if that nice flat line comes back.
Phone model: Samsung i9020a
ROM: CyberGR .v5
Radio: UCKE1
Carrier: Rogers
This is a normal night of going out, connecting with friends, a bit of music before. A weekend for when it is most important, these are the results. I forgot to photo the android os but it said it was awake, cpu for 4 hrs.
Regarding the Android OS being highest battery consumer, it might be false alarm:
http://forum.xda-developers.com/showthread.php?t=1456265
Although still, that hasn't explained the high drain (<10h/day) you're experiencing.
In your first set of screencaps (the 2h30m one) it seems obvious that the culprit is Mediaserver and Google+? One of the most annoying things about ICS that I found is that after flashing ROMs or kernels, Google-Photos have a tendency to enable sync behind our backs. Someone in my local forum discovered when he logged in G+ in his PC that the pictures in his Nexus S had suddenly shown up in the G+ account even though he never uploaded them there. After he disabled that sync, his battery life improved. As a result, I've grown OCD about checking my sync settings every once in a while. The Google-Photos option doesn't always show right away when we set up a new Google account.
AOKP Milestone 2 rom with Steve Garon's 1.12 kernel. 100/1100mhz, interactive governor.
More screen time:
My battery drain at idle (next to none) :
Under heavy usage, screen on, running apps (still relatively efficient draw) :
Braneless said:
AOKP Milestone 2 rom with Steve Garon's 1.12 kernel. 100/1100mhz, interactive governor.
View attachment 878231View attachment 878232View attachment 878234
More screen time:
View attachment 878239View attachment 878240
Click to expand...
Click to collapse
Phone model and radio?
I'm back to 1%/[email protected] with everything but wifi enabled.
All sync settings enabled with no sync delay.
G+/data/gallery sync all enabled for 3 accounts. Receiving about 30 emails in 14.5 hours overnight. This should work out to 111h/[email protected]
The question here for me is that I thought Wifi would use less power than 3G given it's such lower range. I thought that when Wifi was associated that your 3G would automatically disconnect, thus using less power when associated to a Wifi AP than when connected to 3G.
Am I mistaken in this? Is this not the desired operation?
*edit* It may be looking like my draw increased by about 8x as soon as I opened the screen for the first time this morning, and hasn't dropped back down to the 1%/h. Right now it seems to be at about 10%/h again, though I'll report back on this later today.
Sent from my Nexus S using XDA App
Wow. What settings this time?
Sent from my Nexus S using XDA App
Paragon_X said:
Phone model and radio?
Click to expand...
Click to collapse
D720 ns4g and latest radio - D720SPRKE1 or whatever it's called.
I'm getting the same...
power drain increases for dunno whatever reason...
right after a reboot it goes ok if I do not touch it... as soon (or five minutes later) as I start playing with it the power drain increases a lot and android OS takes over any other service...
generally to test I wipe the battery stats before booting from recovery...
maybe we should check in logcat what trigger the high android OS usage?
evcz said:
I'm getting the same...
power drain increases for dunno whatever reason...
right after a reboot it goes ok if I do not touch it... as soon (or five minutes later) as I start playing with it the power drain increases a lot and android OS takes over any other service...
generally to test I wipe the battery stats before booting from recovery...
maybe we should check in logcat what trigger the high android OS usage?
Click to expand...
Click to collapse
I've checked logcat/dmesg and haven't seen anything super suspect (to my somewhat untrained Android eyes). I have done a tonne of power management scripting/troubleshooting in laptops and other mobile devices but this is really my first serious foray into Android PM, so I may be missing something.
Paragon_X said:
Wow. What settings this time?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
As I said, stock settings from CyberGR .v5. Signed in to all three Google accounts and left sync enabled. Turned off Wifi but left everything else enabled.
Drove around (phone paired to my truck for music) for a few hours today, light/moderate use, and I'm currently sitting at 69% battery remaining, coming up on 24 hours on battery. Realistically, this is probably a little lighter use than normal for me, plus I usually plug in when I'm in the Jeep as I'm running not only music over BT to my Jeep, but also streaming OBDii data from my ECU to Torque (and my screen is usually on full time while driving as I like to keep track of my mileage (troubleshooting fuel efficiency as well ).
So all said, stock settings with CyberGr, Radio XXXKB3, Wifi off, everything else on, and I should easily get 2 full days of light use.
Now that said, I'm still waiting for someone getting 3-5 days to chime in. I still feel something isn't quite right.
Wow. Practically the same as myself but my battery is now around 6-7 hrs before I need a charge. I will have to buy a new battery and see if that is the culprit. Over even just flash CM9 instead, who knows..
Paragon_X said:
Wow. Practically the same as myself but my battery is now around 6-7 hrs before I need a charge. I will have to buy a new battery and see if that is the culprit. Over even just flash CM9 instead, who knows..
Click to expand...
Click to collapse
I doubt it's a bad battery. You're seeing the same life I was before I flashed the XXXKB3 radio and re-installed the ROM properly. Follow the installation instructions from the OP and see if that solves your problem.
After looking at an earlier shot here I notice my android os stays on most of the time hence my bad battery. How do I get it to sleep?
Paragon_X said:
After looking at an earlier shot here I notice my android os stays on most of the time hence my bad battery. How do I get it to sleep?
Click to expand...
Click to collapse
So does mine, but it is not an accurate reflection of battery drain, per android engineer Dianne Hackborn. Look at the Android OS percentage in my screen shots - it doesn't matter.
For those with excessive battery drain: install Battery Monitor Widget and Better Battery Stats from the market. Those two apps should provide all the data you need to troubleshoot poor performance.
Also, check your signal strength. Weak reception will drain your battery in a hurry.

Categories

Resources