health: fix soc path so enable proper throttling
Path was missing "/" thus thermal zone soc stays enabled regardless of charging. Bug: 188006020 Test: Local test to check soc's mode Signed-off-by: George Lee <geolee@google.com> Change-Id: I62ba233ddc05f2c8c0d3bcf4f97809f9c379a757
This commit is contained in:
parent
1f5972077d
commit
dada82957c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static BatteryDefender battDefender(WLC_DIR "/present",
|
|||
"/sys/devices/platform/google,charger/charge_start_level",
|
||||
"/sys/devices/platform/google,charger/charge_stop_level");
|
||||
static BatteryThermalControl battThermalControl(
|
||||
"dev/thermal/tz-by-name/soc/mode");
|
||||
"/dev/thermal/tz-by-name/soc/mode");
|
||||
static BatteryMetricsLogger battMetricsLogger(kBatteryResistance, kBatteryOCV);
|
||||
static LowBatteryShutdownMetrics shutdownMetrics(kVoltageAvg);
|
||||
static DeviceHealth deviceHealth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue