optimizing
This commit is contained in:
parent
bdc9fa1221
commit
12b0f88de1
2 changed files with 60 additions and 31 deletions
|
@ -217,6 +217,8 @@
|
|||
tlp
|
||||
];
|
||||
|
||||
services.dbus.implementation = "broker";
|
||||
|
||||
#programs.gnupg.enable = true;
|
||||
programs.git.enable = true;
|
||||
|
||||
|
@ -267,27 +269,7 @@
|
|||
};
|
||||
|
||||
powerManagement.enable = true;
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
|
||||
CPU_MIN_PERF_ON_AC = 0;
|
||||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 20;
|
||||
|
||||
#Optional helps save long term battery health
|
||||
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge
|
||||
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
|
||||
|
||||
};
|
||||
};
|
||||
services.power-profiles-daemon.enable = true;
|
||||
# powerManagement.powertop.enable = true;
|
||||
# services.thermald.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue