2015-04-11 19:21:51 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Extend the battery life of laptop
|
|
|
|
|
|
|
|
[Service]
|
2021-11-11 12:44:43 +01:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2015-04-11 19:21:51 +02:00
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/sbin/powertop --auto-tune
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|