Possible to access battery usage breakdown?

Hello! I was wondering if it was possible to use the data in Apple's battery usage breakdown provided in all iPhone settings for an app I wanted to develop in xcode. For instance, be able to get the top app used and the amount of time spent on the app that is listed on the battery usage screen. Thanks in advance!

Replies

Without knowing for sure, it is extremely unlikely that the information would be available to apps.

Just to confirm what ahltorp said, there’s no supported way to get this information.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"