mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
Compare commits
2 Commits
d232c6f9cc
...
156fbb62a9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
156fbb62a9 | ||
|
|
c52ea60901 |
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user