This commit is contained in:
iFargle 2023-11-19 19:30:40 +09:00
parent 4f15d96b6f
commit 94a260403b

View file

@ -3,29 +3,25 @@
services.tlp = { services.tlp = {
enable = true; enable = true;
settings = { settings = {
CPU_BOOST_ON_BAT = 0;
CPU_HWP_DYN_BOOST_ON_BAT = 0;
SCHED_POWERSAVE_ON_BAT = 1;
NMI_WATCHDOG = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
# Specific to the Framework, since I have it limited to 80% charge in the BIOS # Specific to the Framework, since I have it limited to 80% charge in the BIOS
START_CHARGE_THRESH_BAT0 = 70; START_CHARGE_THRESH_BAT0 = 70;
STOP_CHARGE_THRESH_BAT0 = 79; STOP_CHARGE_THRESH_BAT0 = 79;
CPU_BOOST_ON_BAT = 0;
CPU_HWP_DYN_BOOST_ON_BAT = 0;
SCHED_POWERSAVE_ON_BAT = 1;
NMI_WATCHDOG = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
RUNTIME_PM_ON_AC = 0; RUNTIME_PM_ON_AC = 0;
RUNTIME_PM_ON_BAT = "auto"; RUNTIME_PM_ON_BAT = "auto";
PCIE_ASPM_ON_AC = "default"; PCIE_ASPM_ON_AC = "default";
PCIE_ASPM_ON_BAT = "powersupersave"; PCIE_ASPM_ON_BAT = "powersupersave";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_MIN_PERF_ON_AC = 0; CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100; CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0; CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 30; CPU_MAX_PERF_ON_BAT = 30;
PLATFORM_PROFILE_ON_AC = "performance"; PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power"; PLATFORM_PROFILE_ON_BAT = "low-power";
}; };