diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-30 16:43:21 -0500 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-01-04 06:17:39 -0500 |
commit | 7e386e6e0e4f34f0545e8923e22fe4dd61ef9d48 (patch) | |
tree | 1ee5fa55e26d0615aed1817163755a5315b86ec0 /drivers/power | |
parent | b797a5551979da22b0a35632198ffc8a330d9537 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index 23ae8460f5c1..ac01e06817fb 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -45,7 +45,7 @@ static ssize_t power_supply_show_property(struct device *dev, | |||
45 | }; | 45 | }; |
46 | static char *health_text[] = { | 46 | static char *health_text[] = { |
47 | "Unknown", "Good", "Overheat", "Dead", "Over voltage", | 47 | "Unknown", "Good", "Overheat", "Dead", "Over voltage", |
48 | "Unspecified failure" | 48 | "Unspecified failure", "Cold", |
49 | }; | 49 | }; |
50 | static char *technology_text[] = { | 50 | static char *technology_text[] = { |
51 | "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd", | 51 | "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd", |