diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-24 11:04:13 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-24 11:04:13 +0200 |
commit | 602629a527d5d027a0029244d8a3dccfbd1a7de4 (patch) | |
tree | 404b3d8a81bbe34da0aaa0b630618a82a14f430c /modules | |
parent | treewide: Update (diff) | |
download | nixos-config-602629a527d5d027a0029244d8a3dccfbd1a7de4.zip |
module/upower: Trigger earlier
We might not have enough energy left to go through the full hibernation process, if we only trigger at 5 percent (due to miss-calibrations of the battery).
Diffstat (limited to 'modules')
-rw-r--r-- | modules/by-name/up/upower/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/up/upower/module.nix b/modules/by-name/up/upower/module.nix index eb1c7af2..f5a62ed7 100644 --- a/modules/by-name/up/upower/module.nix +++ b/modules/by-name/up/upower/module.nix @@ -14,8 +14,8 @@ in { enable = true; usePercentageForPolicy = true; - percentageLow = 10; - percentageAction = 5; + percentageLow = 15; + percentageAction = 10; criticalPowerAction = "Hibernate"; }; |