summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif
diff options
context:
space:
mode:
authorSicelo A. Mhlongo <absicsz@gmail.com>2022-04-20 14:30:59 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-05-04 23:44:03 +0200
commit68fdbe090c362e8be23890a7333d156e18c27781 (patch)
tree4db91fe334c57cb07280b2abb9d5d5427fa2e4b7 /drivers/net/caif
parentLinux 5.18-rc1 (diff)
downloadlinux-68fdbe090c362e8be23890a7333d156e18c27781.tar.xz
linux-68fdbe090c362e8be23890a7333d156e18c27781.zip
power: supply: bq27xxx: expose battery data when CI=1
When the Capacity Inaccurate flag is set, the chip still provides data about the battery, albeit inaccurate. Instead of discarding capacity values for CI=1, expose the stale data and use the POWER_SUPPLY_HEALTH_CALIBRATION_REQUIRED property to indicate that the values should be used with care. Reviewed-by: Pali Rohár <pali@kernel.org> Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions