简体   繁体   中英

How can you stop the mobile phone charging using an app api

is there a way to detect the percentage charge of a battery and then stop the phone charging when at X%

So far I have read the battery functions for Android are READ ONLY. But the posts were quite old. Has there been any new changes that would allow this?

If not is this possible on iPhone or Windows Phones using native API?

Has there been any new changes that would allow this?

No.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM