diff options
Diffstat (limited to 'suspend-below-battery-capacity.service')
-rw-r--r-- | suspend-below-battery-capacity.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/suspend-below-battery-capacity.service b/suspend-below-battery-capacity.service new file mode 100644 index 0000000..bd42596 --- /dev/null +++ b/suspend-below-battery-capacity.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description = Suspend machine when battery capacity drops below threshhold | ||
3 | |||
4 | [Service] | ||
5 | ExecStart = suspend-below-battery-capacity 50 | ||
6 | Restart = on-failure | ||
7 | |||
8 | [Install] | ||
9 | WantedBy = default.target | ||