From: Lee Jones Date: Thu, 17 Jan 2013 13:49:45 +0000 (+0000) Subject: ab8500-chargalg: Update battery health on safety timer exp X-Git-Tag: v3.9-rc1~151^2~7^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d80108fc69484c20c3b85d7cdc948e191e843fa4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed