diff options
| author | Sicelo A. Mhlongo <[email protected]> | 2022-04-20 12:30:59 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-05-04 21:44:03 +0000 |
| commit | 68fdbe090c362e8be23890a7333d156e18c27781 (patch) | |
| tree | 4db91fe334c57cb07280b2abb9d5d5427fa2e4b7 /drivers/platform/x86/intel/pmt/crashlog.c | |
| parent | Linux 5.18-rc1 (diff) | |
| download | kernel-68fdbe090c362e8be23890a7333d156e18c27781.tar.gz kernel-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 <[email protected]>
Signed-off-by: Sicelo A. Mhlongo <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/crashlog.c')
0 files changed, 0 insertions, 0 deletions
