healthd: Add handling for "Calibration required" battery health.
This string was added to sysfs fairly recently. It indicates that re-calibration is needed, which we've already added an indicator for via the INCONSISTENT health status. Bug: 300585313 Test: m Change-Id: I9594523e509ad94480ad13f489eee6d1c0a75e7e
This commit is contained in:
parent
d5ed26a45a
commit
629a26b6c5
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ BatteryHealth getBatteryHealth(const char* status) {
|
|||
{"Warm", BatteryHealth::GOOD},
|
||||
{"Cool", BatteryHealth::GOOD},
|
||||
{"Hot", BatteryHealth::OVERHEAT},
|
||||
{"Calibration required", BatteryHealth::INCONSISTENT},
|
||||
{NULL, BatteryHealth::UNKNOWN},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue