power: supply: sbs-battery: add POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 May 2020 18:56:09 +0000 (20:56 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 28 May 2020 22:39:32 +0000 (00:39 +0200)
commit6f72a07aa6e9fc0f7aa08b19f960be7748bad10f
treed0365d79341d9464cc727f4184ac9d173c8cd078
parent7721c2fd2668c751f9ba33b35db08b86293869e5
power: supply: sbs-battery: add POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED support

Add support for reporting the SBS battery's condition flag
to userspace using the new "Calibration required" health status.

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