diff options
author | Tony Lindgren <[email protected]> | 2019-10-16 15:30:04 -0700 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2019-10-20 20:26:14 +0200 |
commit | 639c1524da3b273d20c42ff2387d08eb4b12e903 (patch) | |
tree | bf0c52edcb2be0854237a25618ae0d26490aa96b /scripts/gdb/linux/timerlist.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 <[email protected]>
Cc: Pavel Machek <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions