auto-cpufreq: increase epp
This commit is contained in:
parent
1e3a8df6e7
commit
95827c16fe
1 changed files with 5 additions and 2 deletions
|
@ -25,9 +25,12 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# https://github.com/AdnanHodzic/auto-cpufreq/blob/master/auto-cpufreq.conf-example
|
# https://github.com/AdnanHodzic/auto-cpufreq/blob/master/auto-cpufreq.conf-example
|
||||||
|
#?? cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences
|
||||||
|
#?? cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
|
||||||
|
#?? cat /sys/firmware/acpi/platform_profile_choices
|
||||||
settings = {
|
settings = {
|
||||||
battery = {
|
battery = {
|
||||||
energy_performance_preference = "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 || isInt cfg.max.battery) (builtins.floor (cfg.max.battery * 1000 * 1000)); # KHz
|
||||||
|
@ -35,7 +38,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
charger = {
|
charger = {
|
||||||
energy_performance_preference = "balance_power";
|
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 || isInt cfg.max.charger) (builtins.floor (cfg.max.charger * 1000 * 1000)); # KHz
|
||||||
|
|
Loading…
Add table
Reference in a new issue