mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 07:40:34 +00:00
Merge "dumpstate: add SoC residency dump" into main
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
|
||||
|
||||
@@ -346,6 +346,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