dumpstate: dump battery defend logbuffer
Bug: 242679204 Change-Id: I59c2267105ef093a75c2cac2183c941def70b10f Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
parent
4b4e181394
commit
34e66966c7
2 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,7 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
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");
|
||||
DumpFileToFd(fd, "TEMP/DOCK-DEFEND", "/dev/logbuffer_bd");
|
||||
|
||||
RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c",
|
||||
" cd /sys/devices/platform/google,battery/power_supply/battery/;"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue