From 3a91370ba7851c4bacb2a077605db579ce9b368c Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 23 Jun 2020 01:29:57 +0200 Subject: [PATCH] Suspend to RAM and Disk when battery is critical --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index 8ee6713..2c1cee5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -97,6 +97,7 @@ services.upower = { enable = true; percentageCritical = 5; + criticalPowerAction = "HybridSleep"; }; # Import other configuration modules