After flashing new rom . your battery can drain faster. so it it's time to calibrate your battery. i creat this simple script and put it in my rom.zip to it auto calibrate after flashing rom. some one can like this, so i post it here.
How to use:
Download attached file and unzip it.
-Method 1: Put it to init.d folder and set right permission (rwx-rwx-rwx or 777) -> Done! (your rom must support this feature)
-Method 2: run it via terminal with root permission ("su" to grant root, "sh /sdcard/battery-calibrator" to excute script with /sdcard/battery-calibrator is where u locate script) -> charge phone 100% and continue charging for above 10 minutes-> Done!
Check data/battery-calibrator.log for the detail:). sorry for my bad english
How to use:
Download attached file and unzip it.
-Method 1: Put it to init.d folder and set right permission (rwx-rwx-rwx or 777) -> Done! (your rom must support this feature)
-Method 2: run it via terminal with root permission ("su" to grant root, "sh /sdcard/battery-calibrator" to excute script with /sdcard/battery-calibrator is where u locate script) -> charge phone 100% and continue charging for above 10 minutes-> Done!
Check data/battery-calibrator.log for the detail:). sorry for my bad english