mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-01-28 19:54:28 +00:00
dumpstate: add SoC residency dump
Bug: 319536756 Change-Id: Iec35a05a22a6e6315a2ff6b9b5190099c1bcd5c4 Signed-off-by: Spade Lee <spadelee@google.com>
This commit is contained in:
@@ -271,6 +271,7 @@ on init
|
||||
|
||||
# BatteryHealthData
|
||||
chown system system /sys/class/power_supply/battery/first_usage_date
|
||||
chown system system /sys/class/power_supply/battery/swelling_data
|
||||
|
||||
# Battery Defender
|
||||
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_cnt
|
||||
|
||||
@@ -325,6 +325,7 @@ void dumpLn8411() {
|
||||
void dumpBatteryHealth() {
|
||||
const char* batteryHealth [][2] {
|
||||
{"Battery Health", "/sys/class/power_supply/battery/health_index_stats"},
|
||||
{"Battery Health SoC Residency", "/sys/class/power_supply/battery/swelling_data"},
|
||||
{"BMS", "/dev/logbuffer_ssoc"},
|
||||
{"TTF", "/dev/logbuffer_ttf"},
|
||||
{"TTF details", "/sys/class/power_supply/battery/ttf_details"},
|
||||
|
||||
Reference in New Issue
Block a user