From da978ff35ac851daf060d36b82920f09f5fcccfe Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 2 Mar 2022 22:02:30 +0100 Subject: machines/sternenseemann: use upower over low-battery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I had some weird issues with the low-battery udev rule, mainly it not triggering when it should. Usually, the event would only get processed when the battery changed state, e.g. from Discharging to Charging. Consequently, the laptop would hibernate when you'd save it from running out of battery by plugging it in, but, if you forgot, it'd be content to run out of battery. I'll try upower instead now which is the “normal” solution used by the major desktop environments. It's has some extra complexity, as it also provides a d-bus API for other applications to use, but we'll see how it goes. --- modules/module-list.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/module-list.nix') diff --git a/modules/module-list.nix b/modules/module-list.nix index 3c1d5adc..7429c887 100644 --- a/modules/module-list.nix +++ b/modules/module-list.nix @@ -4,7 +4,6 @@ ./core/tests.nix ./core/lazy-packages.nix ./hardware/gamecontroller.nix - ./hardware/low-battery.nix ./hardware/rtl8192cu ./hardware/t100ha ./hardware/thinkpad.nix -- cgit 1.4.1