Merge "healthd: add battery health status values from JEITA spec" am: 5dd87c4ef6
am: 7a79592e4e
Change-Id: Ife13b29af4f44d3d6f5cc7b00435f4c6a57e0d2b
This commit is contained in:
commit
8e5671f55c
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ int BatteryMonitor::getBatteryHealth(const char* status) {
|
|||
{ "Over voltage", BATTERY_HEALTH_OVER_VOLTAGE },
|
||||
{ "Unspecified failure", BATTERY_HEALTH_UNSPECIFIED_FAILURE },
|
||||
{ "Cold", BATTERY_HEALTH_COLD },
|
||||
// battery health values from JEITA spec
|
||||
{ "Warm", BATTERY_HEALTH_GOOD },
|
||||
{ "Cool", BATTERY_HEALTH_GOOD },
|
||||
{ "Hot", BATTERY_HEALTH_OVERHEAT },
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue