Kerim Doruk Akıncı
Kerim Doruk Akıncı

Reputation: 392

Getting battery usage information for other iOS apps

Battery Usage

I want to show these other applications' Battery Usage percentage values from my own application. Can I do that?

Upvotes: 1

Views: 989

Answers (1)

Jeremiah
Jeremiah

Reputation: 1461

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.

Upvotes: 2

Related Questions