diff options
| author | Thierry Strudel <tstrudel@google.com> | 2018-08-20 20:40:23 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-08-20 20:40:23 +0000 |
| commit | 6776c3306cd21d392480401151cfbcedd3457acb (patch) | |
| tree | 954b595764c2b97ff9c0dcacd3085c835d3f64e1 /dumpstate | |
| parent | 427a8f93a88c18927875f34e101d2d445c93af1c (diff) | |
| parent | 17750faaf0bd4227a4516b0e2b816a807eb6c494 (diff) | |
Merge "dumpstate: add maxim FG history" into pi-dev
Diffstat (limited to 'dumpstate')
| -rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 16206dd..32139f6 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -325,6 +325,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { RunCommandToFd(fd, "PMIC Votables", {"/vendor/bin/sh", "-c", "cat /sys/kernel/debug/pmic-votable/*/status"}); DumpFileToFd(fd, "Battery cycle count", "/sys/class/power_supply/bms/device/cycle_counts_bins"); DumpFileToFd(fd, "FG cycle count", "/sys/class/power_supply/maxfg/cycle_counts_bins"); + DumpFileToFd(fd, "Maxim FG History", "/dev/maxfg_history"); DumpFileToFd(fd, "Maxim FG registers", "/d/regmap/4-0036/registers"); DumpFileToFd(fd, "Maxim FG NV RAM", "/d/regmap/4-000b/registers"); RunCommandToFd(fd, "QCOM FG SRAM", {"/vendor/bin/sh", "-c", "echo 0 > /d/fg/sram/address ; echo 500 > /d/fg/sram/count ; cat /d/fg/sram/data"}); |
