Compare commits
No commits in common. "aa520fc75623305cf4a5233c04fe41594cfb2b36" and "e261e2a520ad20f0b36bbd5ae4ee4e4064eb1969" have entirely different histories.
aa520fc756
...
e261e2a520
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ in {
|
||||||
fw-fanctrl.enable = true;
|
fw-fanctrl.enable = true;
|
||||||
|
|
||||||
auto-cpufreq.max = {
|
auto-cpufreq.max = {
|
||||||
battery = 3; # GHz
|
battery = 2.5; # GHz
|
||||||
#// charger = 3.5; # GHz
|
#// charger = 3.5; # GHz
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,7 +30,7 @@ in {
|
||||||
energy_performance_preference = "balance_power";
|
energy_performance_preference = "balance_power";
|
||||||
governor = "powersave";
|
governor = "powersave";
|
||||||
platform_profile = "low-power";
|
platform_profile = "low-power";
|
||||||
scaling_max_freq = mkIf (isFloat cfg.max.battery || isInt cfg.max.battery) (builtins.floor (cfg.max.battery * 1000 * 1000)); # KHz
|
scaling_max_freq = mkIf (isFloat cfg.max.battery) (builtins.floor (cfg.max.battery * 1000 * 1000)); # KHz
|
||||||
#// turbo = "never"; # Only works with acpi-cpufreq
|
#// turbo = "never"; # Only works with acpi-cpufreq
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ in {
|
||||||
energy_performance_preference = "balance_performance";
|
energy_performance_preference = "balance_performance";
|
||||||
governor = "powersave";
|
governor = "powersave";
|
||||||
platform_profile = "balanced";
|
platform_profile = "balanced";
|
||||||
scaling_max_freq = mkIf (isFloat cfg.max.charger || isInt cfg.max.charger) (builtins.floor (cfg.max.charger * 1000 * 1000)); # KHz
|
scaling_max_freq = mkIf (isFloat cfg.max.charger) (builtins.floor (cfg.max.charger * 1000 * 1000)); # KHz
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue