commit | 77d641baa3c8e18a1056bec6c64c6103c1a17b1e | [log] [tgz] |
---|---|---|
author | Luca Ceresoli <luca@lucaceresoli.net> | Mon Nov 08 17:27:05 2021 +0100 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Tue Nov 16 16:10:07 2021 +0100 |
tree | 574e1021337ba441fa1c771bcc7c17ba403b9fcb | |
parent | f9a09de33b47a8ac9a128fea54a549dddf87c6b4 [diff] |
power: supply: core: add POWER_SUPPLY_HEALTH_NO_BATTERY Some chargers can keep the system powered from the mains even when no battery is present. It this case none of the currently defined health statuses applies. Add a new status to report that no battery is present. Suggested-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>