From 9e88ab28c323ca25b2ca5f087cb965ee4a681ab8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 15 Sep 2020 13:47:44 +0200 Subject: [PATCH] Tweak upower daemon battery thresholds --- modules/power.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/power.nix b/modules/power.nix index 388a83c..367f8fd 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -40,6 +40,8 @@ # Suspend to RAM/disk when battery is critical services.upower = { enable = true; - percentageAction = 5; + percentageLow = 15; + percentageCritical = 10; + percentageAction = 7; }; }