Android BatteryHistorian与go的用法
我的步骤如下:(摘自)Android BatteryHistorian与go的用法,android,optimization,adb,historian,Android,Optimization,Adb,Historian,我的步骤如下:(摘自) 安装围棋 将bin添加到路径 导出GOPATH=$HOME/work 导出GOBIN=$GOPATH/bin 导出路径=$PATH:$GOBIN 去get-d-u github.com/google/battery historian/ cd$GOPATH/src/github.com/google/battery-historian 运行安装程序 转到运行cmd/battery historian/battery-historian.go 将我的设备连接到pc a
- 安装围棋
- 将bin添加到路径
- 导出GOPATH=$HOME/work
- 导出GOBIN=$GOPATH/bin
- 导出路径=$PATH:$GOBIN
- 去get-d-u github.com/google/battery historian/
- cd$GOPATH/src/github.com/google/battery-historian
- 运行安装程序
- 转到运行cmd/battery historian/battery-historian.go
- adb kill vserver
- adb外壳转储系统电池测试——重置
- adb shell dumpsys batterystats>sample.txt
我也面临同样的问题。。设备a的报告有效,设备b的报告无效。我面临同样的问题。。设备a的报告有效,设备b的报告无效。。