Merge pull request #1634 from MrSom3body-contrib/fix/asus-battery-threshold

asus/battery: fix battery threshold not being set after hibernation
This commit is contained in:
Sandro 2025-10-10 12:47:24 +00:00 committed by GitHub
commit 156fbb62a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;