Is there a way to programmatically access the settings->about phone->battery usage
stuff? We\'d like to monitor how much power our app is using.
Is there a way to programmatically access the settings->about phone->battery usage stuff?
Alas, no.
We'd like to monitor how much power our app is using.
The excellent-but-flawed answer is the Qualcomm MDP with the Trepn power profiler. Alas, this is expensive and has a wholly inappropriate set of terms and conditions, IMHO.
There is also http://powertutor.org/ and https://github.com/dvgrhl/BatteryCalibrator, though neither are as sophisticated as Trepn.