android – 监控应用程序的耗电量

前端之家收集整理的这篇文章主要介绍了android – 监控应用程序的耗电量前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_502_1@有没有办法以编程方式访问设置 – >关于电话 – >电池使用的东西?我们想要监控我们的应用程序使用的功率.

解决方法

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.

优秀但有缺陷的答案是Qualcomm MDPTrepn power profiler.唉,这是昂贵的,有a wholly inappropriate set of terms and conditions,恕我直言.

还有http://powertutor.org/https://github.com/dvgrhl/BatteryCalibrator,虽然它们都不像Trepn那样复杂.

原文链接:https://www.f2er.com/android/314385.html

猜你在找的Android相关文章