aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/pm2301_charger.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-17 13:49:45 +0000
committerLee Jones <lee.jones@linaro.org>2013-01-23 11:33:05 +0000
commitd80108fc69484c20c3b85d7cdc948e191e843fa4 (patch)
tree61b07ee01abf8fd66ee29f7b6e008f22496e53a1 /drivers/power/pm2301_charger.h
parentab8500-charger: Kick watchdog (diff)
downloadlinux-dev-d80108fc69484c20c3b85d7cdc948e191e843fa4.tar.xz
linux-dev-d80108fc69484c20c3b85d7cdc948e191e843fa4.zip
ab8500-chargalg: Update battery health on safety timer exp
When the charging safety timer elapses, the battery health is shown as "Good". This is misleading and also makes it difficult to distinguish issues relating to discharging despite the fact that the charger is still connected. When in actual fact a safety timer elapse is an indication of a fault in the battery. Here we make this clearer by reporting POWER_SUPPLY_HEALTH_UNSPEC_FAILURE instead. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/power/pm2301_charger.h')
0 files changed, 0 insertions, 0 deletions