power: supply: sbs-battery: fix idle battery status
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 May 2020 18:56:10 +0000 (20:56 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 28 May 2020 22:39:34 +0000 (00:39 +0200)
commitf0318bc99c8107acddde3aa99a7f696c0999f37c
tree2eed7335218492048339b99fc48643a9932c28a8
parent6f72a07aa6e9fc0f7aa08b19f960be7748bad10f
power: supply: sbs-battery: fix idle battery status

A battery, that is neither charged, nor discharged is not
always Full. If the charger is disabled for other reasons
it might simply be idle and should be marked accordingly.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c