aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-04-15 22:36:37 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-06-09 22:09:58 +0200
commit6aa35ab9db2c9ca141ba9d64a2ad95b73dbf90e3 (patch)
treef2ddd7d5a5d568e625845061496dafeb5baf3e00 /tools/perf/scripts/python/export-to-postgresql.py
parentpower: supply: cros_peripheral: Use struct_size() helper in kzalloc() (diff)
downloadlinux-dev-6aa35ab9db2c9ca141ba9d64a2ad95b73dbf90e3.tar.xz
linux-dev-6aa35ab9db2c9ca141ba9d64a2ad95b73dbf90e3.zip
power: supply: ab8500: Respect charge_restart_voltage_uv
The battery info contains a voltage indicating when the voltage is so low that it is time to restart the CC/CV charging. Make the AB8500 respect and prioritize this setting over the hardcoded 95% threshold. Break out the check into its own function and add some safeguards so we do not run into unpredictable side effects. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions