diff options
author | Jenny Ho <hsiufangho@google.com> | 2020-12-10 05:23:23 +0800 |
---|---|---|
committer | Jenny Ho <hsiufangho@google.com> | 2020-12-10 05:23:23 +0800 |
commit | b8b7557124a7b6a2f5ab99e7a4ea9f69b75acf61 (patch) | |
tree | caaa6386f620ce4ee454e7123fec5d5bcfc54f65 | |
parent | 8b6eb32a1827774ec4e273a201ab59ffbc653117 (diff) | |
download | bramble-b8b7557124a7b6a2f5ab99e7a4ea9f69b75acf61.tar.gz |
dumpstate: Update TRICKLE-DEFEND dump nodes
Bug: 173149361
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I720f60c919889658ff552bdcb983fdc02a5a75b3
-rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 7f68c1a..e384584 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -809,7 +809,7 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h DumpFileToFd(fd, "TTF details", "/sys/class/power_supply/battery/ttf_details"); DumpFileToFd(fd, "TTF stats", "/sys/class/power_supply/battery/ttf_stats"); DumpFileToFd(fd, "ipc-local-ports", "/d/msm_ipc_router/dump_local_ports"); - RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/soc/soc:google,battery/power_supply/battery/; echo \"bd_trickle_cnt: `cat bd_trickle_cnt`\"; echo \"bd_rl_soc_threshold: `cat bd_rl_soc_threshold`\"; echo \"bd_trickle_dry_run: `cat bd_trickle_dry_run`\";"}); + RunCommandToFd(fd, "TRICKLE-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/soc/soc:google,battery/power_supply/battery/; echo \"bd_trickle_enable: `cat bd_trickle_enable`\"; echo \"bd_trickle_cnt: `cat bd_trickle_cnt`\"; echo \"bd_trickle_recharge_soc: `cat bd_trickle_recharge_soc`\"; echo \"bd_trickle_dry_run: `cat bd_trickle_dry_run`\";"}); RunCommandToFd(fd, "DWELL-DEFEND Config", {"/vendor/bin/sh", "-c", " cd /sys/devices/platform/soc/soc: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/soc/soc:google,charger/; for f in `ls bd_*` ; do echo \"$f: `cat $f`\" ; done"}); RunCommandToFd(fd, "USB Device Descriptors", {"/vendor/bin/sh", "-c", "cd /sys/bus/usb/devices/1-1 && cat product && cat bcdDevice; cat descriptors | od -t x1 -w16 -N96"}); |