Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!

I fixed my battery drain!


26 replies to this topic

#1 jaymzz

  • Members
  • 26 posts
  • Country:us
  • Device Model:G1
  • MOD Version:6.0.0
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 01:29 PM

I had a pretty lively topic going before we lost the board about trying to get my battery life to something greater than 10h. I was experiencing a drain of 5-7% an hour when the phone was in use, but around 10% when it wasn't, even in airplane mode. The culprit, according to Spare Parts, was "Android System" preventing the phone from sleeping. Most of us were observing 90% or higher run time over the (short) life of the battery.

logcat did not show me anything of value. None of the recommendations from other users worked. We got a bit testy with people suggesting our batteries were old or misbehaving widgets. My last post was that I could cause the issue by running the Android Market, and resolve it by going into Spare Parts, selecting "End Button" behavior "Nothing," changing it back to "Go to sleep," then rebooting. By the next afternoon, at some point, and without running Android Market at all, my issue returned - though I caught it within an hour and the sequence I just mentioned fixed it.

In the 3 days since I posted my initial hypothesis, I found my culprit was not Android Market but it's "Notifications" feature! Now that market notifications are off, I can use the Android Market without putting the phone in a 100% Running state and I have not had to run the "End button" sequence again. I am now getting battery life similar to when I used Cyanogenmod 4.X.

There is something wrong with Android Market notifications on this ROM - at least for me. I hope this helps others.

#2 Hypnos

  • Members
  • 8 posts
  • Device Model:|2|
  • MOD Version:5.07
  • Recovery Image:Cyanogen

Posted 29 May 2010 - 01:47 PM

I'm going to try this too and see how it works. I'll let you know.

#3 elvis_freshly

  • Members
  • 200 posts
  • LocationAtlanta, Ga.
  • Country:us
  • Device Model:HTC DREAM/G1
  • MOD Version:6.0 Final
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 02:09 PM

He is right. Same thing. This is strange. I wonder can Cwirl or Psychi3oy look into this for us.

#4 samaral

  • Members
  • 25 posts
  • Country:us
  • Device Model:G1
  • MOD Version:Nightlies + Light mods
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 02:18 PM

for those who came here and dont know how:

1. Open the Market application.

2. Select the Menu key.

3. Select Downloads.

4. Select the Menu key again.

5. Select Notifications.

6. Select the Do not notify me radio button.

7. Select OK.


kudos to jaymzz for the tip!

#5 questioncom

  • Donators
  • 98 posts
  • Twitter:questioncom
  • Country:us
  • Device Model:nexus 1 and g2
  • MOD Version:cm7
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 02:23 PM

lets give this a shot and see how it goes

#6 Remorse

  • Members
  • 1 posts
  • Twitter:adityo97
  • LocationIndonesia
  • Device Model:|2|
  • MOD Version:5.0.7-DS
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 02:50 PM

View Postsamaral, on 29 May 2010 - 02:18 PM, said:

for those who came here and dont know how:

1. Open the Market application.

2. Select the Menu key.

3. Select Downloads.

4. Select the Menu key again.

5. Select Notifications.

6. Select the Do not notify me radio button.

7. Select OK.


kudos to jaymzz for the tip!

thank you so much for the info, i was wondering how to turn off market notifications, and voila.. there you are..

#7 Codenomics

    Village Idiot

  • Donators
  • 247 posts
  • Twitter:codenomics
  • LocationBehind you... RAWR!
  • Country:us
  • Device Model:Vision
  • MOD Version:Vision Nightlies
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 03:27 PM

Thought I was the only one with battery issues still! Going to give this a wirl today, battery is fully charged and still on charger wll so this and then unplug it. Will post with my results.

#8 jaymzz

  • Members
  • 26 posts
  • Country:us
  • Device Model:G1
  • MOD Version:6.0.0
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 03:55 PM

Things to note if you're going to try this... in all my attempts this was the only way to stop it:

  • disable Market notifications
  • in Spare Parts, select "Nothing" as end button response
  • select "Go to sleep" as end button response
  • reboot

Also, Spare Parts "Battery History" is your friend. If after a few minutes "Running" in "Other Usage" goes down from 100% you've probably fixed it. So far I've had days as low as 8% and as high as 30% and still had what I would consider battery life as good or better than Cyanogenmod 4.X.

I started trying 5.0.7 at Test 5. I had this problem from the beginning, in Test 5, 6, and 7. The afternoon I flashed Test 6 was the only time the phone ever slept, and only until I first rebooted it. I did not wipe when I went to 5.0.7 final.

I hope that helps anyone trying this method or trying to diagnose the issue.

#9 PsychoI3oy

    STFU, RTFW.

  • Moderators
  • 469 posts
  • Country:us
  • Device Model:G2
  • MOD Version:7.1.x
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 03:55 PM

eenteresting.

I'll say this: there seem to be a dozen different fixes for various 'battery drain' issues, and the leading culprit seems to be data usage (3g or wifi). Various 'fixes' have been posted but I think it's going to come down to a multitude of different things for different people.

Every little bit helps, so the above is a step in the right direction indeed.

I just wouldn't expect any magical mystery fix from this one option. Disabling things like geniewidget aka 'news and weather', turning off 3g (mine runs this way 99% of the time unless downloading large files), and any of a dozen other suggested fixes may all go together to fix various battery drain issues.


Suffice it to say Eclair is a whole new beast for Dream/Magic, and while I'm not sure of any remaining source code fixes for this issue, I haven't closed the bug in the tracker yet. Either we as users will figure out a set of things to disable from stock or a few niggling things might be found in source (or forthcoming 2.2 AOSP drops may make this point moot), but I'm confident that there's enough smart eyes looking at this problem to fix it one way or another.

#10 atsakonas

  • Members
  • 8 posts
  • Twitter:bleedtheskyjd
  • LocationChicago
  • Country:us
  • Device Model:|1|
  • MOD Version:Cyanogenmod 6 (latest nightly)
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 04:43 PM

just reconfigured my settings according to the OP. I will update if i notice any change as well.

#11 LeoViotti

  • Donators
  • 21 posts
  • Twitter:leoviotti
  • LocationKrung Thep Maha Nakhon - Siam (Bangkok/Thailand)
  • Country:it
  • Device Model:G1 and SGS
  • MOD Version:CM6 / Stock
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 07:00 PM

I disable the notifications and, around 4h later, battery drain WHILE IDLE is - voilà - gone! Impressive.

It still goes down fast, really fast, if you're using data... actually, not necessarily data... if I'm in the browser, for ex, just reading a long page (SetCPU website, for an instance), page is loaded, and I'm just there... reading... slowly... it still drains. It's odd... but it's getting better.

#12 mkazen

  • Members
  • 8 posts
  • Device Model:|2|4|
  • MOD Version:5.0.7
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 07:44 PM

Ok i've got to try this now. If this is it, I will be very impressed :) Might explain why some people were having the problems and others not...

#13 Tahir Iqbal

  • Members
  • 38 posts
  • Twitter:tahiriqbal
  • Country:us
  • Device Model:HTC Dream/G1
  • MOD Version:CM6-Stable
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 08:03 PM

I think there's something wrong. When I disabled the Market Notifications my battery was 56% and after when I disabled market notifications and set the end button behavior to sleep and restarted, battery started to drain faster, within two minutes it was around 46%. Also, after restart the lock screen was garbled. I restarted again and now the battery is at 53% and the lock screen is also fixed. My battery issue is still there.

I also wanted to ask a question about a program "Flashlight" available in market. Does using this software cause any issues to the screen? I mean, I installed it but then uninstalled it thinking it my damage the screen. It does drain the battery but does it damage screen?

Thanks in advance.

#14 Galaxy

  • Donators
  • 183 posts
  • Country:se
  • Device Model:Magic 32A
  • MOD Version:CM6 Nightly 185
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 08:39 PM

View PostLeoViotti, on 29 May 2010 - 07:00 PM, said:

I disable the notifications and, around 4h later, battery drain WHILE IDLE is - voilà - gone! Impressive.

It still goes down fast, really fast, if you're using data... actually, not necessarily data... if I'm in the browser, for ex, just reading a long page (SetCPU website, for an instance), page is loaded, and I'm just there... reading... slowly... it still drains. It's odd... but it's getting better.

I have the same pattern... I dont have drain while in sleep mode but I have to agree with the rest.. you can try many many things but as many others say.. using data 3G and WiFi will kill ur the battery pretty fast. I used "use only 2G" for 24 day and pretty heavy usage.. battery is not even below 70%... thats awsome but one cannot surf with 2G.

#15 pjdpinheiro

  • Members
  • 14 posts
  • Twitter:pjdpinheiro
  • Country:pt
  • Device Model:Magic 32A
  • MOD Version:6.1
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 09:25 PM

View PostLeoViotti, on 29 May 2010 - 07:00 PM, said:

I disable the notifications and, around 4h later, battery drain WHILE IDLE is - voilà - gone! Impressive.

It still goes down fast, really fast, if you're using data... actually, not necessarily data... if I'm in the browser, for ex, just reading a long page (SetCPU website, for an instance), page is loaded, and I'm just there... reading... slowly... it still drains. It's odd... but it's getting better.

Exactly the same to me, as long I have Wifi on, the battery drain is significant (even higher is when I have Wifi on but no network connection). But when phone is idle, without data connection, the overall battery drain is very good, lasts two coplete days, no problem.

Thanks

#16 mkazen

  • Members
  • 8 posts
  • Device Model:|2|4|
  • MOD Version:5.0.7
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 09:41 PM

It appears that there are two camps - those who were having draining issues when the phone should have been sleeping; the market appears to be the culprit for this. For me this is a huge issue because the majority of the time my phone IS sleeping, and I wasn't able to get 10 hours out of it.

There is another camp of those who's battery consumption spikes more than normal when actually using the phone. I haven't had a chance to really see this, but I will experiment with it to see if I notice it. It might be a case of overzealous overclocking. For example, if you're browsing, when loading the page obviously things will take up more CPU, but when just reading it, the CPU should slow down again and conserve itself. not sure what it's doing at this point and that might be a contributor. Just a thought. It looks like the First issue has been resolved, but since I just started using it again, time will tell.

#17 Chopes

  • Members
  • 37 posts
  • LocationMaryland
  • Device Model:|1|
  • MOD Version:5.0.7.1
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 11:08 PM

Hrm, is it possible that this could apply to the N1 as well and these steps could be taken to improve battery life on that device as well?

#18 atsakonas

  • Members
  • 8 posts
  • Twitter:bleedtheskyjd
  • LocationChicago
  • Country:us
  • Device Model:|1|
  • MOD Version:Cyanogenmod 6 (latest nightly)
  • Recovery Image:Amon_RA

Posted 29 May 2010 - 11:10 PM

I posted earlier that i had completed these changes as instructed in the original post. since that time i have :

wifi was on for sometime, the rest of the time 3g

gtalk was running

downloaded 2 apps from market

played 3 songs on native music app

taken at least 5 pictures

and made 2 calls

(i know all of these things cause my g/f was baby sitting and the music, apps, and pics were to entertain the child)

anyways, i have noticed NO considerable loss in battery life....

dropped about 3-4% (i had three bars when i made my first post earlier, and three bars still remain..) *bars are on the black bar mod, with green battery in the themes section of this forum.

i don't know that everyone else will find success with this method, and the spare parts trick i have tried before. in fact i do that every time i wipe and flash a rom.

this was the first time i have disabled the auto updating in the market settings.

thanks a lot for this.

#19 Kid A

    Ephram the retarded rabbit

  • Donators
  • 327 posts
  • Country:us
  • Device Model:HTC HD2
  • MOD Version:Hyperdroid v2.1.0 - CM7 2.3.4
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 11:28 PM

great! still charging mine to 100% so i can see how much it drains after unplugged. hope it solves the problem for me too :)

#20 edwinr29

  • Members
  • 2 posts
  • Twitter:edwinr29
  • Country:us
  • Device Model:Rooted DX
  • MOD Version:CM 7.1.0 Nightly 137
  • Recovery Image:ClockworkMod

Posted 29 May 2010 - 11:55 PM

Just tried it, lets see how it works out for me