Android OS killing battery

Search This thread

thebatsam

Member
Dec 11, 2011
9
0
Hey everyone

Got a Nexus a couple weeks ago after having iphones for a couple years. Loving it so far.....ICS is very polished.

Initially, my battery life was adequate. However, recently the OS is using 45% battery and the phone gets a very hot when idle (I can feel the heat in my pocket)

I did a factory reset and still the same problems.

Is anyone else coming across these issues?
 

Attachments

  • Screenshot_2011-12-11-22-38-07.jpg
    Screenshot_2011-12-11-22-38-07.jpg
    26.9 KB · Views: 8,939

mnexusaud

Member
Nov 23, 2011
34
3
My phone has been on standby for about a day and has 80% battery left. However the battery consumption shows:


42% Android OS
37% Phone Idle
16% Cell Standby



- Also what is the difference between phone idle and cell standby


MY BACKGROUND APPS RUNNING ARE:

- Battery Monitor Widget (I need this on so I can tell what my battery life is easily)
- Google Services (What is this, can I kill it?)
Media (What is this app, can I kill it?)
Music (Again what is this, what happens if I kill it/should I? I never used it.)
 

dmh11

Member
Nov 2, 2010
5
5
I have the same problem. My SGN died after 7 hours without any usage.

Sent from my Optimus 2X using XDA App
 

Black Mirror

Member
Dec 12, 2011
25
7
Yup, me too. This morning, I took my phone off the charger at 98% for an hour and 15 minutes and didn't touch it. The battery had gone down to 88%, with Android OS using 64% and Android System using 14%. The phone was 'awake' for the entire period. I've had my Nexus since Wednesday and I haven't been getting great battery life. I'm hoping there's a fix for this.
 

VoicesX

Senior Member
Aug 1, 2010
84
9
Same problem here... (I testing radio UGKK7, XXKK7 and XXKK1... all with the same problem).

- Lightflow increment "Android OS" battery use.
- By using, Wi-Fi "Android OS" uses less battery.
 
Last edited:

inspiron41

Account currently disabled
Dec 13, 2010
295
55
GB
meettomy.site
try disable wifi when not on and unchecked "use wifi network" for location.

another thing could be some active widgets, i remember this was a problem a while back.
 

s1977

Senior Member
Feb 7, 2009
236
34
Liverpuuuuuuuuuul :)
Note sure that this has got to do with wifi at all as I reset my phone to factory and I still have the 'Android OS' usage taking 23% of battery. I have no apps nor have I yet linked phone to my Google account.

I have read some comments to do with the Galaxy S2 which too suffered from the same problem. I remember reading something about Samsung driver implementation causing this with the S2. I will update the links when I find something conclusive. Also I have another HTC desire that has the AOSP code compiled rom and that does not suffer from this at all and it is happily sitting idle at almost 2 days with nearly 70% battery still left.

:(
 
  • Like
Reactions: WheresMeCheese

Chirality

Senior Member
Sep 6, 2008
651
127
Cambridge, MA
Note sure that this has got to do with wifi at all as I reset my phone to factory and I still have the 'Android OS' usage taking 23% of battery. I have no apps nor have I yet linked phone to my Google account.

I have read some comments to do with the Galaxy S2 which too suffered from the same problem. I remember reading something about Samsung driver implementation causing this with the S2. I will update the links when I find something conclusive. Also I have another HTC desire that has the AOSP code compiled rom and that does not suffer from this at all and it is happily sitting idle at almost 2 days with nearly 70% battery still left.

:(

Yes, the problem was with the suspend process eating up CPU. You can install Watchdog and set it to watch non-Android processes, and that will be able to tell you which "Android OS" process is actually the one eating up battery.
 

ljwnow

Senior Member
Jul 24, 2007
972
187
Yes, the problem was with the suspend process eating up CPU. You can install Watchdog and set it to watch non-Android processes, and that will be able to tell you which "Android OS" process is actually the one eating up battery.
Is samsung aware of this problem? We need to file complaints.


Sent from my Galaxy Nexus using xda premium
 

xHausx

Inactive Recognized Developer
Jul 5, 2010
6,778
4,519
Central Florida
Do you have your email or anything set up to receive things instantly? That can have a noticeable impact on your battery if so
 

s1977

Senior Member
Feb 7, 2009
236
34
Liverpuuuuuuuuuul :)
Thanks Chirality, but I assume that this is happening to all users? Samsung have seen this before so shouldn't this be fixed from the very start? Wrong person to ask this question to, but it is annoying..

Anyways I will install Watchdog like you say, but unless I can kill the 'suspend' process, I am helpless. :(

---------- Post added at 10:00 AM ---------- Previous post was at 09:58 AM ----------

Do you have your email or anything set up to receive things instantly? That can have a noticeable impact on your battery if so

No, that's why I reset the phone to factory settings and the current behaviour is without any apps, or registration with google, no emails, nothing installed.

---------- Post added at 10:03 AM ---------- Previous post was at 10:00 AM ----------

Additional links indicating the problem and response:
http://androidforums.com/samsung-galaxy-s2-international/337492-s2-battery-drain-problem-solved-now.html
http://code.google.com/p/android/issues/detail?id=16721
 

xHausx

Inactive Recognized Developer
Jul 5, 2010
6,778
4,519
Central Florida
Is there anything in the logcats that could hint to a problem? Like errors or something unusual that it keeps repeating
 

luffyp

Senior Member
Oct 11, 2009
417
43
I have the same problem with high system CPU usage. I used SystemPanel to monitor the phone (unplugged, standby mode) during my 8-hour sleep and here's the results.

The System Processes were using 49min of CPU time while the phone was idle :confused:



When I clicked on the system processes I got a list of individual processes. Anyone knows what are there kworker processes for?



When I clicked on one of the System Processes (kworker/u:1), I got its CPU usage. It was doing something almost the whole time :(



Finally, I should also mention that the phone lost about 7% in these 8-hour test. Seems ok but I think it would be even better when this high system CPU usage is fixed.
 

s1977

Senior Member
Feb 7, 2009
236
34
Liverpuuuuuuuuuul :)
Is there anything in the logcats that could hint to a problem? Like errors or something unusual that it keeps repeating

Hmm...Now that you asked this, I remember watching logcat output and was getting a null Notification event almost one every minute a couple of days back. I therefore proceeded to uninstall all my widgets/apps but I could not reach to a conclusive outcome.

Anyways as Chirality pointed out this post (Link) indicates a 'suspend' process issue. And this guy identified the process causing it (Link), I think!
 

xHausx

Inactive Recognized Developer
Jul 5, 2010
6,778
4,519
Central Florida
Hmm...Now that you asked this, I remember watching logcat output and was getting a null Notification event almost one every minute a couple of days back. I therefore proceeded to uninstall all my widgets/apps but I could not reach to a conclusive outcome.

Anyways as Chirality pointed out this post (Link) indicates a 'suspend' process issue. And this guy identified the process causing it (Link), I think!

A driver issue definitely sounds plausible but there are also a lot of things different between these two phones, especially between GB and ICS.

Watching /proc/kmsg should show something if it is an issue with the kernel
 

s1977

Senior Member
Feb 7, 2009
236
34
Liverpuuuuuuuuuul :)
Yes, the problem was with the suspend process eating up CPU. You can install Watchdog and set it to watch non-Android processes, and that will be able to tell you which "Android OS" process is actually the one eating up battery.

Chrality, xHausx

I have installed Watchdog and set the settings to what you indicated. I am a bit confused around the app, so I have added screenshots to update you of the data at my end.

Do let me whether you see the issue immediately or need any further information.
 

Attachments

  • Screenshot_2011-12-12-14-02-42.jpg
    Screenshot_2011-12-12-14-02-42.jpg
    26.4 KB · Views: 2,389
  • Screenshot_2011-12-12-14-02-54.jpg
    Screenshot_2011-12-12-14-02-54.jpg
    16 KB · Views: 1,963
  • Screenshot_2011-12-12-14-29-10.jpg
    Screenshot_2011-12-12-14-29-10.jpg
    26.5 KB · Views: 2,035
  • Screenshot_2011-12-12-14-29-41.jpg
    Screenshot_2011-12-12-14-29-41.jpg
    31.7 KB · Views: 2,053

paulpenny

Senior Member
Mar 20, 2007
54
2
My experience is somewhat the same.

Out of the box battery life seemed pretty good. After the update to fix the volume issue I started to notice that the battery would fall even when the phone was idle. Android OS was the culprit. I am now running MCR and I have the same issue.

It's not terrible battery life, but it's substantially worse than it was out of the box.

I did wonder if the problem was related to how they fixed the volume bug. Is something always running to pick up the volume bug problem and deal with it when it happens?

Just a thought.
 

Black Mirror

Member
Dec 12, 2011
25
7
My experience is somewhat the same.

I did wonder if the problem was related to how they fixed the volume bug. Is something always running to pick up the volume bug problem and deal with it when it happens?

Just a thought.

Interesting. I've been thinking the same thing, and the annoying thing about that is the problem doesn't affect my network (T-Mobile), so I could be getting reduced battery performance for no reason! Ah well.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    battery drain

    Hi,

    I have also big issues with battery drain, (from 35mA to 150mA in standby, sometimes goes 13mA but only for a couple of minutes).
    After inspecting various logs and kernel drivers i'm absolutely positive it's kernel driver issue. Well, to confirm this i need some kernel logs, so if any of you can post (pastebin preferably) dmesg logs. (adb shell dmesg > dmesg.log) and upload it to pastebin.

    EDIT: Uploaded screenshot after performing some possible temp. fix. Will post details when i confirm it's working ok. (after fix. drain is 2mA)

    EDIT2: Sadly but tmp. fix didn't do anything significant, 2mA drain last only for half an hour, maybe more, then goes back to 13-25mA
    If you want to take a shoot you can try this:
    Connect phone with PC, wake screen and enter this command on pc:
    adb shell
    echo N>/sys/module/otg_wakelock/parameters/enabled

    after that unplug cable and power off screen, don't do anything with phone for some time to see if you'll get lower battery drain (half an hour should be enough)


    - Root source of problem (at least by inspecting logs) is twl6030 driver and interrupts handling. There is something wrong, because every time device goes to deep sleep shortly after thet it's awaken by TWL6030-PIH (IRQ 39).
    Just take a look at my kernel log and search "Resume caused by".

    log pastebin: http://pastebin.com/GVCty3gg

    As soon as i get some free time i'll explore this further..
    2
    Note sure that this has got to do with wifi at all as I reset my phone to factory and I still have the 'Android OS' usage taking 23% of battery. I have no apps nor have I yet linked phone to my Google account.

    I have read some comments to do with the Galaxy S2 which too suffered from the same problem. I remember reading something about Samsung driver implementation causing this with the S2. I will update the links when I find something conclusive. Also I have another HTC desire that has the AOSP code compiled rom and that does not suffer from this at all and it is happily sitting idle at almost 2 days with nearly 70% battery still left.

    :(

    Yes, the problem was with the suspend process eating up CPU. You can install Watchdog and set it to watch non-Android processes, and that will be able to tell you which "Android OS" process is actually the one eating up battery.
    2
    Just some data:

    -I have WiFi and Sync always on, WiFi router is always on and connection is good
    -at home I get 4 bars 3G reception
    -I lose ~6% battery over night (9h)

    Over x-mas I was home at my girl's parents place, they live on the countryside with the worst cellphone reception you can imagine, barely 1 bar and literally half of the time there is no connection at all, esp. if you do something crazy like actually holding your Nexus in the hand.
    I was on WiFi with a good connection and lost ~20% over night and noticed a higher "Android OS" usage as well. "Cell standby" was very high too, of course.
    2
    Here is an updated comparison between my wife's Nexus and mine. The two main differences between these two phones would be her's is on wifi 95% of the day whereas mine is on wifi probably 20% of the day. .

    I'd need logs to verify what the issue is, but her phone is working harder than yours at something. Do you guys have really crappy reception in you house? There's so many factors and variables at play, you can't really assume its the same issue. Try throwing the phone in airplane mode (if you can - I understand you need to be connected) for as long as you can and see if it decreases. Keep me updated, please.

    A few points before I disappear for the holidays:

    1 - THIS IS NOT A BATTERY ISSUE This is about AndroidOS awake times. The battery will suck with high awake times, but just becuase your battery sucks does not mean its AndroidOS. I'm all for the info you guys are posting, as every bit helps out, but please post your awake times as well. If you're not doing an idle test, I cant really take your info into account though, as so many other thing go on behind the scenes... ie-polluted data

    2 - This is a mobile data issue with ICS. It's NOT the Galaxy Nexus, its not Verizon/GSM, its not your SIM card. You may have problems with those specific areas, but the problem with high awake times is in ICS.

    3 - Please dont send PMs asking about the kernel. I'm running into 1000's of problems, and with the time of year it is, I much rather be getting drunk with friends and family then staring at lines of code - I think most of you would agree. If battery time is KILLING you right now, check out some battery saving techniques across the forum. As of this post, there is no perma-fix for AndroidOS wake time bugs.

    4 - PM me for any questions. This thread moves pretty fast, I can't answer all of your posts.

    5 - Everyone have a good holiday season. I'll keep you updated.
    2
    I turned my phone off while charging. I immediately turned it back on, and it charged 25% in that time. Something cannot be right here haha.

    It probably took an arrow to the knee.