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 – 监控应用程序的耗电量所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)