auto-cpufreq: add platform profile and disable tlp
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
23df6ca8cd
commit
27b25b8b3c
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue