mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
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:
commit
156fbb62a9
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue