How to stop an android device from being charged programmatically

fared15

Member
Licensed User
Longtime User
Is there an Android API for stop charging even though physically the charging is on?
i know these stuff

android.intent.action.BATTERY_CHANGED is a protected intent that can only be sent by the system. Therefore you cannot duplicate or override the functionality.


On the other hand there is an permission android.permission.WRITE_SECURE_SETTINGS so it looks


any way to stop charging...........even when plug in


:sign0085::sign0085::sign0085::sign0085::sign0085::sign0085::sign0085:
 
Top