diff options
author | Tony Lindgren <[email protected]> | 2021-01-10 21:53:58 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2021-01-14 23:42:42 +0100 |
commit | bb8b9a985083c69a4118c3d8c7d4c32427529992 (patch) | |
tree | dfbd342d0db6dd82d15be988f9b5c980a7ca9dbd /include/linux/compiler_attributes.h | |
parent | 2071236b8519673a276ecbf7f60a6f7da7e5cd8a (diff) |
power: supply: cpcap-battery: Use charger status for battery full detection
We now get battery full notification from cpcap-charger, so let's use that
for battery full status and charger disconnect.
Note that any current based battery full detection we have tried earlier is
flakey as it won't account for example for CPU load increasing the battery
current. Anyways, if current based battery full detection is also still
needed, we can reconsider adding it in addition to the charger status based
detection.
Cc: Arthur Demchenkov <[email protected]>
Cc: Carl Philipp Klemm <[email protected]>
Cc: Merlijn Wajer <[email protected]>
Cc: Pavel Machek <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions