0
点赞
收藏
分享

微信扫一扫

安卓耗电量分析

悲催博士僧 2023-08-01 阅读 33
android

这里写自定义目录标题

耗电原因分析

下文有阐述,很详细
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?hl=zh-cn

生成分析数据

batterystats

adb自带的工具生成的分析数据

操作步骤:生成report报告

  1. 清理耗电量数据
  1. 运行测试用例(在分析机上,手动操作或者自动化运行)
  2. 收集数据

battery-historian

手动编译安装

在这里插入图片描述

容器安装

docker run --name=battery -d -p 9999:9999 runcare/battery-historian --port 9999
https://www.jianshu.com/p/538fd9a54077

内容解析

https://blog.csdn.net/feelabclihu/article/details/124207048

举报

相关推荐

0 条评论