From c52ea609012ae1b3259a5ece08d192bf38dc167e Mon Sep 17 00:00:00 2001 From: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:17:40 +0200 Subject: [PATCH] asus/battery: fix battery threshold not being set after hibernation --- asus/battery.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asus/battery.nix b/asus/battery.nix index 4639baa4..8492d878 100644 --- a/asus/battery.nix +++ b/asus/battery.nix @@ -31,10 +31,14 @@ in wantedBy = [ "local-fs.target" "suspend.target" + "suspend-then-hibernate.target" + "hibernate.target" ]; after = [ "local-fs.target" "suspend.target" + "suspend-then-hibernate.target" + "hibernate.target" ]; description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%"; startLimitBurst = 5;