Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monitor apps power usage

Tags:

android

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.

like image 860
synic Avatar asked May 16 '11 15:05

synic


1 Answers

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.

like image 100
CommonsWare Avatar answered Sep 29 '22 03:09

CommonsWare