• L
    ab8500-chargalg: Update battery health on safety timer exp · d80108fc
    Lee Jones 提交于
    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: NLee Jones <lee.jones@linaro.org>
    d80108fc
abx500_chargalg.c 54.4 KB