I want to show these other applications' Battery Usage percentage values from my own application. Can I do that?
Asked
Active
Viewed 971 times
1
-
This should get you started: http://stackoverflow.com/questions/11807295/how-to-get-real-time-battery-level-on-ios – Glynbeard Nov 05 '14 at 21:00
-
possible duplicate of [Battery Usage - IOS](http://stackoverflow.com/questions/16396928/battery-usage-ios) – Lyndsey Scott Nov 05 '14 at 21:03
-
1There is no public method to get _per application_. Reference https://developer.apple.com/library/IOS/documentation/UIKit/Reference/UIDevice_Class/index.html BTW, what's your usecase? – Igor Barinov Nov 05 '14 at 21:07
-
3Generally, if your question for iOS ends with "for other applications" the answer is "it's not possible" – quark Nov 05 '14 at 21:31
1 Answers
2
You can monitor the current battery percentage using UIDevice. https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html
Unfortunately there is no way to tell which applications are draining the battery.

Jeremiah
- 1,471
- 1
- 13
- 22