On several Android forums around the web, Android users have been regularly reporting rapidly draining batteries after flashing custom ROMs (such as Cyanogenmod 7, MIUI and other lesser known ROMs) to their devices. As you would already know, numerous factors contribute towards hogging and draining your limited battery resources, but on the positive side, there are certain effective methods that can help you with rectifying said issue, and get the maximum life out of your Android’s battery. In what follows, we will provide you with a step-by-step solution to said problem.
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. The following screenshots demonstrate how to wipe battery stats in ClockworkMod Recovery v220.127.116.11. 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. Did the aforementioned guide help you overcome the problem? Do let us know about your personal experiences with your Android’s battery by posting in the comments section below.