summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorTony Lindgren2019-04-07 20:12:49 +0200
committerSebastian Reichel2019-04-15 22:51:44 +0200
commit1a9aadc86ad45f5281ea633c244b6b770dc85b5b (patch)
tree8f27bd3fe59b0506d62afc5206e09d268fb046e6 /samples
parentMerge branch 'psy-fixes' into psy-next (diff)
downloadkernel-qcow2-linux-1a9aadc86ad45f5281ea633c244b6b770dc85b5b.tar.gz
kernel-qcow2-linux-1a9aadc86ad45f5281ea633c244b6b770dc85b5b.tar.xz
kernel-qcow2-linux-1a9aadc86ad45f5281ea633c244b6b770dc85b5b.zip
power: supply: cpcap-battery: Fix low battery check
We need to check current instead of the charge counter to see if a charger is connected. The charge counter shows the cumulated value instead of the current charge current and can be negative or positive. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions