标签: java android performance battery programmatically-created
目前,我正在尝试量化我的应用程序在后台与前台模式下的电量(百分比或mAh)消耗量。从:
How can we calculate/ to know, how much battery life my user defined application utilising?
看起来,我们需要手动监控“设置”页面中的百分比来量化。有没有一种方法/开源android项目以编程方式计算我的应用程序w.r.t的排放?
任何指针都会有所帮助!