dumpstate: dump battery defend logbuffer

Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
Jenny Ho 2023-02-05 13:58:58 +08:00
parent 3a6c284055
commit 5059368362
2 changed files with 2 additions and 0 deletions

View file

@ -378,6 +378,7 @@ void Dumpstate::dumpPowerSection(int fd) {
DumpFileToFd(fd, "TTF stats", "/sys/class/power_supply/battery/ttf_stats");
DumpFileToFd(fd, "aacr_state", "/sys/class/power_supply/battery/aacr_state");
DumpFileToFd(fd, "maxq", "/dev/logbuffer_maxq");
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/;"