February 11, 2010 | by Ed Clark
Here’s a quick tip I found on the cyanogenmod wiki for people with rooted phones and battery life issues. Many users report increases in their battery life meters after using this fix, but please note that this method does NOT provide any benefits for those with healthy batteries battery meters.
How do you know if you have a battery meter problem? Some people have noticed that they can drain their batteries in a matter of a few hours, even without much usage. This is a sure sign that something is wrong. I am a heavy user of my G1, using it for mail, browsing, note-taking, and games, and I can expect that the phone will be out of charge by the end of the day (10-12 hours). This is normal, and the rooted fix below (yes, I tried it) didn’t do anything for me.
If you aren’t running a rooted phone, there are still things you can try. Look for the usual culprits: 1) turn down your screen brightness, 2) turn off services that you aren’t using right now (GPS, wireless, bluetooth, etc), and 3) get rid of battery-hogging apps that sync too much or prevent the CPU from sleeping during periods of inactivity.
OK, enough talk, here’s what to do:
1. Power off your phone and charge it until the indicator turns green.
2. Boot to recovery mode and go to console (or adb shell) and type:
mount -a [enter]
rm /data/system/batterystats.bin [enter]
3. Reboot the phone and run it until it shuts off by itself. (TIP: Turn your screen brightness all the way up and change the Screen Timeout setting to “Never timeout.” This will drain your battery very quickly.)
4. Recharge the phone completely and then use it as you normally would.