summaryrefslogtreecommitdiffstats
path: root/powertop.service
diff options
context:
space:
mode:
Diffstat (limited to 'powertop.service')
-rw-r--r--powertop.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/powertop.service b/powertop.service
new file mode 100644
index 0000000..5a44ca2
--- /dev/null
+++ b/powertop.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Extend the battery life of laptop
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/powertop --auto-tune
+
+[Install]
+WantedBy=multi-user.target sleep.target