This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.linux/systemd/power/powersave_intel.service

13 lines
325 B
Desktop File

[Unit]
Description=disable intel boost
[Service]
Type=simple
RemainAfterExit=yes
ExecStart=/usr/bin/bash -c '/usr/bin/echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo'
ExecStop=/usr/bin/bash -c '/usr/bin/echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo'
#Restart=on-failure
[Install]
WantedBy=multi-user.target