You are not logged in.
when I change TLP mode, I need to change /etc/tlp.conf:
#CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_AC=performance
then, restart tlp service.
is there any way using cli command to switch it ?
Offline
First of all: the correct way to apply changed TLP settings is
sudo tlp startRefer to the FAQ.
Now to your question: a temporary change of settings without adjusting the configuration file is possible as follows:
sudo tlp start -- CPU_SCALING_GOVERNOR_ON_AC=performanceAfter the '--' you can also enter several parameters separated by blanks.
This is actually a testing API, but it can also be used generally. However, the change only lasts until the next power source change or reboot.
Last edited by linrunner (2024-05-10 10:24:44)
Offline
First of all: the correct way to apply changed TLP settings is
sudo tlp startRefer to the FAQ.
Now to your question: a temporary change of settings without adjusting the configuration file is possible as follows:
sudo tlp start -- CPU_SCALING_GOVERNOR_ON_AC=performanceAfter the '--' you can also enter several parameters separated by blanks.
This is actually a testing API, but it can also be used generally. However, the change only lasts until the next power source change or reboot.
thanks bro, it works !
Offline