How to stop an android device from being charged programmatically?

Viewed 33004

Is there an Android API for stop charging even though physically the charging is on?

9 Answers

Contrary to some answers indicating it's not possible, it is, indeed possible with ROOT. You can find some apps on the Play Store that will allow you to do this (with root permission, of course).

The best app that works on every phone I've tried it on is Battery Charge Limit. You can download it from the Play Store or the XDA discussion thread. The app is under active development so, if you find that your phone isn't supported, just submit an issue on its GitHub page.


NB: I am not the developer of this application.

Related