diff options
author | Tony Lindgren <tony@atomide.com> | 2019-10-16 15:30:04 -0700 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-10-20 20:26:14 +0200 |
commit | 639c1524da3b273d20c42ff2387d08eb4b12e903 (patch) | |
tree | bf0c52edcb2be0854237a25618ae0d26490aa96b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8bc8fc088bcd9da7ff565620a2778def59902404 (diff) |
power: supply: cpcap-battery: Check voltage before orderly_poweroff
We can get the low voltage interrupt trigger sometimes way too early,
maybe because of CPU load spikes. This causes orderly_poweroff() be
called too easily.
Let's check the voltage before orderly_poweroff in case it was not
yet a permanent condition. We will be getting more interrupts anyways
if the condition persists.
Let's also show the measured voltages for low battery and battery
empty warnings since we have them.
Cc: Merlijn Wajer <merlijn@wizzup.org>
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions