使用ADB命令测量电池损耗,以确定一个特定的包名。
自上次向android设备充电以来,软件包名的电池统计量。来测量设备的性能,或者为您在android设备中的应用程序进行非功能性测试。
发布于 2017-04-25 18:34:33
我们可以使用以下命令来测量电池损耗
adb shell dumpsys batterystats --charged <packageName>有关电池数据的更多信息,请参阅以下链接:https://source.android.com/devices/tech/power/batterystats
https://stackoverflow.com/questions/43618439
复制相似问题