dump_power: adding defender logs for charger and active time
Bug: 306108267 Test: build/flash Test: adb bugreport Change-Id: I3f67e07853334457c74808869df78c323458f2df Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
This commit is contained in:
parent
f60b0e874f
commit
ee805f1dcc
1 changed files with 2 additions and 1 deletions
|
@ -314,10 +314,11 @@ void dumpBatteryHealth() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void dumpBatteryDefend() {
|
void dumpBatteryDefend() {
|
||||||
const char* defendConfig [][3] {
|
const char* defendConfig [][4] {
|
||||||
{"TRICKLE-DEFEND Config",
|
{"TRICKLE-DEFEND Config",
|
||||||
"/sys/devices/platform/google,battery/power_supply/battery/", "bd_"},
|
"/sys/devices/platform/google,battery/power_supply/battery/", "bd_"},
|
||||||
{"DWELL-DEFEND Config", "/sys/devices/platform/google,charger/", "charge_s"},
|
{"DWELL-DEFEND Config", "/sys/devices/platform/google,charger/", "charge_s"},
|
||||||
|
{"DWELL-DEFEND Time", "/mnt/vendor/persist/battery/", "defender_"},
|
||||||
{"TEMP-DEFEND Config", "/sys/devices/platform/google,charger/", "bd_"},
|
{"TEMP-DEFEND Config", "/sys/devices/platform/google,charger/", "bd_"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue