A simple script to emulate battery charging and discharging on adnroid devices See the wiki to know instructions https://github.com/aishik212/batteryfakecharging/wiki
You can download this App http://bit.ly/TextsBM to test battery charging and discharging for android