Skip to content
Commit 7f93e1fa authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Sebastian Reichel
Browse files

power: supply: sbs-battery: Correct supply status with current draw



The status reported directly by the battery controller is not always
reliable and should be corrected based on the current draw information.

This implements such a correction with a dedicated function, called
where the supply status is retrieved.

Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
parent 4df2cce4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment