diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2025-02-12 18:27:35 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2025-02-12 18:27:54 +0100 |
commit | 4c904e51d662f9fc1be745c9df4e59d33aab6d5a (patch) | |
tree | 28e8fbde57c4515fa32d42ca2781a60a3e56f71f /roles/_workstation | |
parent | df6cf63499342e20d318b01531610af85b498e55 (diff) | |
download | rules-4c904e51d662f9fc1be745c9df4e59d33aab6d5a.tar.gz |
chore(roles/_workstation): strict policies for tlp
Diffstat (limited to 'roles/_workstation')
-rw-r--r-- | roles/_workstation/tlp/templates/10-ansible.conf.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/_workstation/tlp/templates/10-ansible.conf.j2 b/roles/_workstation/tlp/templates/10-ansible.conf.j2 index 377bef0..0b4f810 100644 --- a/roles/_workstation/tlp/templates/10-ansible.conf.j2 +++ b/roles/_workstation/tlp/templates/10-ansible.conf.j2 @@ -2,3 +2,21 @@ START_CHARGE_THRESH_BAT0={{ tlp__start_charge_threshold }} STOP_CHARGE_THRESH_BAT0={{ tlp__stop_charge_threshold }} + +# cpu policy +CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance +CPU_ENERGY_PERF_POLICY_ON_BAT=power + +# platform profile +PLATFORM_PROFILE_ON_AC=balanced +PLATFORM_PROFILE_ON_BAT=low-power + +# turo boost +CPU_BOOST_ON_AC=1 +CPU_BOOST_ON_BAT=0 +CPU_HWP_DYN_BOOST_ON_AC=1 +CPU_HWP_DYN_BOOST_ON_BAT=0 + +# wifi +WIFI_PWR_ON_AC=on +WIFI_PWR_ON_BAT=on |