1
1
Fork 0

auto-cpufreq: add platform profile and disable tlp

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-24 11:24:54 -05:00
parent 23df6ca8cd
commit 27b25b8b3c
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -29,6 +29,7 @@ in {
battery = {
energy_performance_preference = "balance_power";
governor = "powersave";
platform_profile = "low-power";
scaling_max_freq = mkIf (isFloat cfg.max.battery) (builtins.floor (cfg.max.battery * 1000 * 1000)); # KHz
#// turbo = "never"; # Only works with acpi-cpufreq
};
@ -36,12 +37,15 @@ in {
charger = {
energy_performance_preference = "balance_performance";
governor = "powersave";
platform_profile = "balanced";
scaling_max_freq = mkIf (isFloat cfg.max.charger) (builtins.floor (cfg.max.charger * 1000 * 1000)); # KHz
};
};
};
power-profiles-daemon.enable = false; # Conflicts with auto-cpufreq
#!! Conflicts with auto-cpufreq
power-profiles-daemon.enable = false;
tlp.enable = false;
};
};
}