[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57490: UPower ignores ‘critical-power-action’
From: |
Maxime Devos |
Subject: |
bug#57490: UPower ignores ‘critical-power-action’ |
Date: |
Mon, 5 Sep 2022 22:01:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
On 05-09-2022 14:56, Ludovic Courtès wrote:
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?
I've found a 'Virtual Battery Driver': https://lwn.net/Articles/440097/
The gmane links are dead, but the linux source tree as a
drivers/power/supply/test_power.c that seems to be about the same thing.
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature