1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00

removo TLP

This commit is contained in:
suliman 2022-12-29 16:50:43 +03:00
parent 114881dd3d
commit 993e6c8726

View file

@ -16,23 +16,5 @@
# energy savings # energy savings
hardware.bluetooth.powerOnBoot = lib.mkDefault false; hardware.bluetooth.powerOnBoot = lib.mkDefault false;
services.power-profiles-daemon.enable = false;
services.tlp.enable = lib.mkDefault true;
boot.kernelParams = ["mem_sleep_default=deep" "pcie_aspm.policy=powersupersave"]; boot.kernelParams = ["mem_sleep_default=deep" "pcie_aspm.policy=powersupersave"];
powerManagement.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
services.tlp.settings = {
# CPU
CPU_SCALING_GOVERNOR_ON_BAT="ondemand";
CPU_SCALING_GOVERNOR_ON_AC="performance";
CPU_BOOST_ON_AC=1;
CPU_BOOST_ON_BAT=0;
# Stop charging battery at 60%, ideapad_laptop driver required
#STOP_CHARGE_THRESH_BAT0=1;
# Stop charging battery at 100%
STOP_CHARGE_THRESH_BAT0=0;
# GPU
RADEON_DPM_PERF_LEVEL_ON_AC="auto";
RADEON_DPM_PERF_LEVEL_ON_BAT="low";
};
} }