是否有停止充电,即使身体充电是在Android API?
解决方案是否有停止充电,即使物理上充电呢?一个Android API
AFAIK没有。
理由:
android.intent.action.BATTERY_CHANGED
是只能由系统发送一个受保护的意图。因此,你不能复制或覆盖的功能。
Is there an Android API for stop charging even though physically the charging is on?
解决方案Is there an Android API for stop charging even though physically the charging is on?
AFAIK no.
Justification:
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.