You are not logged in.
Hello,
Is there any way to disable this? I have a smaller power supply that does not work well in the performance mode, TLP keeps switching to performance while charging.
Offline
You can easily customize what setting is applied in each mode by editing /etc/defaut/tlp configuration file.
CPU performance policy is set with:
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
You can also force a mode with command line and thus ignore the actual power source.
sudo tlp bat
or
sudo tlp ac
This can be used as a udev rule for instance and run a script when the AC adapter is plugged.
To do so, add this to /etc/udev/rules.d/powersave.rules
SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/path/to/your/script"
And create a script file to run:
#! /bin/bash
tlp bat
Offline