[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57490: UPower ignores ‘critical-power-action’
From: |
Ludovic Courtès |
Subject: |
bug#57490: UPower ignores ‘critical-power-action’ |
Date: |
Mon, 05 Sep 2022 14:56:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Ludovic Courtès <ludo@gnu.org> skribis:
> One issue remains: UPower should have called elogind’s “PowerOff” method
> for ordered shutdown before total power outage, but either that didn’t
> happen or elogind didn’t do it right (which is weird, because ‘loginctl
> poweroff’ DTRT.)
I pushed these patches:
eedf71f948 * services: upower: Default to a percentage-based policy.
4765242540 * services: upower: Update default percentage values.
I’m not sure whether they help, but they might: using a
time-estimate-based policy is documented as less reliable, and I suppose
even less so when a battery gets old, as is the case on this laptop.
I’d like to test whether UPower invokes the intended critical action,
but I’m not sure how to simulate a low battery level. Thoughts?
Thanks,
Ludo’.
- bug#57490: UPower ignores ‘critical-power-action’,
Ludovic Courtès <=