asus/battery: fix battery threshold not being set after hibernation

This commit is contained in:
Karun Sandhu
2025-10-09 22:17:40 +02:00
parent d232c6f9cc
commit c52ea60901

View File

@@ -31,10 +31,14 @@ in
wantedBy = [ wantedBy = [
"local-fs.target" "local-fs.target"
"suspend.target" "suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
]; ];
after = [ after = [
"local-fs.target" "local-fs.target"
"suspend.target" "suspend.target"
"suspend-then-hibernate.target"
"hibernate.target"
]; ];
description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%"; description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%";
startLimitBurst = 5; startLimitBurst = 5;