三、测试方法
1、 执行battery-historian
2、 使用如下命令重置设备电池状态
adb shell dumpsys batterystats --enable full-wake-history
adb shell dumpsys batterystats --reset
3、 按照测试前制定的测试用例执行。例如打开视屏播放一段时间。然后使用命令adb bugreport >bugreport.txt导出文件。
4、 在http://localhost:9999中上传bugreport.txt报告如下图所示:
参数说明如下:
本文暂时没有评论,来添加一个吧(●'◡'●)