There are quite few official battery-related APIs. Here are all the results. You can only get the power and battery charging status. The functions you need can only be implemented by private APIs. UIDeviceBatteryStateDidChangeNotification In short, That is not possible in the public API. It can only be implemented using the private API in IOKit.framework Here is the implementation of IOKit.framework
There are quite few official battery-related APIs. Here are all the results.
You can only get the power and battery charging status.
The functions you need can only be implemented by private APIs.
UIDeviceBatteryStateDidChangeNotification
In short, That is not possible in the public API.
It can only be implemented using the private API in IOKit.framework
Here is the implementation of IOKit.framework
Hello, can you add QQ to communicate 1359098941