From 3bda9fd647d30111ff023ee58fabec34be317d8b Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 14 Jul 2020 11:53:51 +0200 Subject: [PATCH] Suspend to RAM/Disk when the battery is at 5% --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 2c1cee5..7772b80 100644 --- a/configuration.nix +++ b/configuration.nix @@ -96,7 +96,7 @@ # Suspend to RAM/disk when battery is critical services.upower = { enable = true; - percentageCritical = 5; + percentageAction = 5; criticalPowerAction = "HybridSleep"; };