]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fb4db5e41a63176b30d80061ce91753165cfaca
treed0365d79341d9464cc727f4184ac9d173c8cd078
parent15ff65f35adfe2b9579faaca3b70b2d1078f712b
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