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:
 

fared15

Member
Licensed User
Longtime User
yes in coustem kernels and rooted phone how we do it i wana to learn that

plz tell me quick
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…