go get -d -u github.com/google/battery-historian/...
拉取成功后运行 Battery Historian
$ cd $GOPATH/src/github.com/google/battery-historian
# Compile Javascript files using the Closure compiler$ go run setup.go
# Run Historian on your machine (make sure $PATH contains $GOBIN)$ go run cmd/battery-historian/battery-historian.go [--port <default:9999>]
抓取手机信息
To obtain a bug report from your development device running Android 7.0 and higher: