房地产的设计网站建设,网站小图标,有没有专门做一件代发的网站,网站设计教程文档这里写自定义目录标题 耗电原因分析分析类型 生成分析数据batterystats操作步骤:生成report报告 battery-historian手动编译安装容器安装内容解析 耗电原因分析
下文有阐述#xff0c;很详细 https://www.cnblogs.com/SA226343/p/6047543.html https://www.cnblogs.com/mytec… 这里写自定义目录标题 耗电原因分析分析类型 生成分析数据batterystats操作步骤:生成report报告 battery-historian手动编译安装容器安装内容解析 耗电原因分析
下文有阐述很详细 https://www.cnblogs.com/SA226343/p/6047543.html https://www.cnblogs.com/mytech/p/4058814.html https://blog.csdn.net/kan137g/article/details/84886077
分析类型
https://blog.csdn.net/feelabclihu/article/details/124207048 https://developer.android.google.cn/topic/performance/power/battery-historian?hlzh-cn
生成分析数据
batterystats
adb自带的工具生成的分析数据
操作步骤:生成report报告
清理耗电量数据 adb shell dumpsys batterystats --reset adb shell dumpsys batterystats --enable full-wake-history 运行测试用例在分析机上手动操作或者自动化运行收集数据 Android7.0及以上: adb bugreport bugreport.zip Android6.0及以下: adb bugreport bugreport.txt battery-historian
手动编译安装 容器安装
docker run --namebattery -d -p 9999:9999 runcare/battery-historian --port 9999 https://www.jianshu.com/p/538fd9a54077
内容解析
https://blog.csdn.net/feelabclihu/article/details/124207048