dumpstate: dump TRICKLE/TEMP/DWELL setting into bugreport
Need setting information for debugging Bug: 186872139 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: Iaf7345a4f38a67c4134f5cb23050b5f5e6ba7fdd
This commit is contained in:
parent
24b9d29d6d
commit
c20a7c9603
1 changed files with 11 additions and 0 deletions
|
@ -340,6 +340,17 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
DumpFileToFd(fd, "RTX", "/dev/logbuffer_rtx");
|
||||
DumpFileToFd(fd, "WIRELESS", "/dev/logbuffer_wireless");
|
||||
|
||||
RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c",
|
||||
" cd /sys/devices/platform/google,battery/power_supply/battery/;"
|
||||
" for f in `ls bd_*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
|
||||
RunCommandToFd(fd, "DWELL-DEFEND Config", {"/vendor/bin/sh", "-c",
|
||||
" cd /sys/devices/platform/google,charger/;"
|
||||
" for f in `ls charge_s*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
|
||||
RunCommandToFd(fd, "TEMP-DEFEND Config", {"/vendor/bin/sh", "-c",
|
||||
" cd /sys/devices/platform/google,charger/;"
|
||||
" for f in `ls bd_*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
|
||||
RunCommandToFd(fd, "DC_registers dump", {"/vendor/bin/sh", "-c", "cat /d/regmap/*-0057-pca9468-mains/registers"});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue