[automerge] dumpstate: dump AACR related data 2p: 95c0f5c498
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17442330 Bug: 209987670 Change-Id: I0f5e58e9c1f17d9425301dd9bd8cb8106d484bba
This commit is contained in:
commit
7370391f5b
1 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,7 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
DumpFileToFd(fd, "TTF details", "/sys/class/power_supply/battery/ttf_details");
|
||||
DumpFileToFd(fd, "TTF stats", "/sys/class/power_supply/battery/ttf_stats");
|
||||
DumpFileToFd(fd, "maxq", "/dev/logbuffer_maxq");
|
||||
DumpFileToFd(fd, "aacr_state", "/sys/class/power_supply/battery/aacr_state");
|
||||
|
||||
RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c",
|
||||
" cd /sys/devices/platform/google,battery/power_supply/battery/;"
|
||||
|
@ -398,6 +399,7 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
if (!PropertiesHelper::IsUserBuild()) {
|
||||
|
||||
DumpFileToFd(fd, "DC_registers dump", "/sys/class/power_supply/pca9468-mains/device/registers_dump");
|
||||
DumpFileToFd(fd, "Charging table dump", "/d/google_battery/chg_raw_profile");
|
||||
|
||||
|
||||
RunCommandToFd(fd, "fg_model", {"/vendor/bin/sh", "-c",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue