diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2020-12-04 15:49:50 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-01-16 15:44:58 +0100 |
commit | cd060b4d0868c806c2738a5e64e8ab9bd0fbec07 (patch) | |
tree | ee3b5c027526f87febe95b1af8da0b02f28023cd /tools/perf/scripts/python | |
parent | 95b78d53706d3866c232e4f4819ad38a88f148d4 (diff) |
power: supply: bq27xxx: fix polarity of current_now
current_now has to be negative during discharging and positive during
charging, the behavior seen is the other way round.
Tested on GTA04 with Openmoko battery.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions