mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
power_supply: Add cold to the POWER_SUPPLY_HEALTH report values
Some systems are able to report problems with batteries being under temperature. Signed-off-by: Mark Brown <[email protected]> Acked-by: Anton Vorontsov <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
b797a55519
commit
7e386e6e0e
2 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ static ssize_t power_supply_show_property(struct device *dev,
|
|||
};
|
||||
static char *health_text[] = {
|
||||
"Unknown", "Good", "Overheat", "Dead", "Over voltage",
|
||||
"Unspecified failure"
|
||||
"Unspecified failure", "Cold",
|
||||
};
|
||||
static char *technology_text[] = {
|
||||
"Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd",
|
||||
|
|
|
|||
Loading…
Reference in a new issue