dumpstate: add battery eeprom to dumpstate
sync ag/10382199 Bug: 149979769 Test: trigger dumpstate and check battery eeprom data Change-Id: I390bcf599fd232371963b8a3b2cfb282dca05808 Signed-off-by: Wasb Liu <wasbliu@google.com> Signed-off-by: Ken Tsou <kentsou@google.com>
This commit is contained in:
parent
b19567794e
commit
2fb7619cfd
|
@ -701,6 +701,7 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h
|
|||
RunCommandToFd(fd, "PMIC Votables", {"/vendor/bin/sh", "-c", "cat /sys/kernel/debug/pmic-votable/*/status"});
|
||||
RunCommandToFd(fd, "Google Charger", {"/vendor/bin/sh", "-c", "cd /d/google_charger/; for f in `ls pps_*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
RunCommandToFd(fd, "Google Battery", {"/vendor/bin/sh", "-c", "cd /d/google_battery/; for f in `ls ssoc_*` ; do echo \"$f: `cat $f`\" ; done"});
|
||||
RunCommandToFd(fd, "Battery EEPROM", {"/vendor/bin/sh", "-c", "xxd /sys/devices/platform/soc/98c000.i2c/i2c-1/1-0050/1-00500/nvmem"});
|
||||
DumpFileToFd(fd, "WLC VER", "/sys/devices/platform/soc/98c000.i2c/i2c-1/1-003b/version");
|
||||
DumpFileToFd(fd, "WLC STATUS", "/sys/devices/platform/soc/98c000.i2c/i2c-1/1-003b/status");
|
||||
|
||||
|
|
Loading…
Reference in New Issue