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

android – 监控应用程序的耗电量,第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 usi 有没有办法以编程方式访问设置 – >关于电话 – >电池使用的东西?我们想要监控我们的应用程序使用的功率.解决方法

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 MDP与Trepn power profiler.唉,这是昂贵的,有a wholly inappropriate set of terms and conditions,恕我直言.

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

总结

以上是内存溢出为你收集整理的android – 监控应用程序的耗电量全部内容,希望文章能够帮你解决android – 监控应用程序的耗电量所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1134938.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存