Tips:Fix Battery drain in android while play game





The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory. Every time a custom ROM is flashed on to a device, it is recommended that the battery be software recalibrated or user might experienced an accelerated battery drain.
The accelerated drain is caused by the “off-mark” battery stats file that fools the battery into “thinking” that it has reached the end or peak of its capacity before it is actually fully drained or charged. To remedy said problem,
  • Charge your device to 100%. If after a previous attempt to calibrate the battery, your device fails to charge above a fixed level, it is possible that it has been calibrated incorrectly. If so, power it off and plug it in for charging until the LED indicator turns green. If your device does not sport an LED indicator, it probably shows an on-screen graphic. If not, you’ll have to check the battery level by powering it on.
  • Reboot into recovery. If your custom ROM does not provide a shortcut to rebooting  into recovery, you may use ROM Manager to do so or simply power off your device for a more manual approach. If your device is already powered off, hold down the (device-specific) key combination that brings up the bootloader and select Recovery.
  • Wipe Battery Stats.  Select advanced > Wipe Battery Stats > Yes – Wipe Battery Stats
  • Return to the main system recovery menu and reboot (reboot system now).
  • Once rebooted, unplug your device and let the battery discharge completely.
If you have ClockworkMod Recovery installed on your device and are yet to familiarize yourself with its interface, you may want to view our detailed guide here.



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.


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.



ref http://goo.gl/Mx0d4

http://androinica.com/2010/02/tip-how-to-fix-your-androids-battery-issues-rooted-devices/

Popular posts from this blog

เทคนิค ชนะ เกมเศรษฐี 14 ตารวด!!! ( Let's get Rich )

Using Google Chrome Inspect Element to Analyze the website

Easy way to download whole youtube play list and convert them to mp3