usability improvements
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# processor chooses frequencies itself
|
||||
CPU_DRIVER_OPMODE_ON_AC = "active";
|
||||
CPU_DRIVER_OPMODE_ON_BAT = "active";
|
||||
# processor chooses frequencies itself but respects the limits set by the user
|
||||
CPU_DRIVER_OPMODE_ON_AC = "guided";
|
||||
CPU_DRIVER_OPMODE_ON_BAT = "guided";
|
||||
|
||||
# governor dictates global behavior of the CPU
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
@@ -32,78 +32,29 @@
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_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 = 50;
|
||||
|
||||
# clock speeds reported by `sudo tlp-stat`
|
||||
# 623377 [kHz] and 5090910 [kHz]
|
||||
# CPU_SCALING_MIN_FREQ_ON_AC = 623377;
|
||||
# CPU_SCALING_MAX_FREQ_ON_AC = 5090910;
|
||||
# CPU_SCALING_MIN_FREQ_ON_BAT = 0;
|
||||
# # reduce max frequency on battery to save power
|
||||
# CPU_SCALING_MAX_FREQ_ON_BAT = 3000000;
|
||||
|
||||
# Allow the CPU to boost
|
||||
CPU_BOOST_ON_AC = 1;
|
||||
CPU_BOOST_ON_BAT = 1;
|
||||
|
||||
|
||||
RADEON_DPM_PERF_LEVEL_ON_AC = "high";
|
||||
WIFI_PWR_ON_BAT = "off";
|
||||
|
||||
# enable battery charge thresholds on the default battery
|
||||
STOP_CHARGE_THRESH_BAT0 = 1;
|
||||
|
||||
|
||||
# STOP_CHARGE_THRESH_BAT0 = 80;
|
||||
|
||||
# CPU_BOOST_ON_AC = 1;
|
||||
# CPU_BOOST_ON_BAT = 0;
|
||||
# CPU_HWP_DYN_BOOST_ON_AC = 1;
|
||||
# CPU_HWP_DYN_BOOST_ON_BAT = 0;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# services.watt = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# charger = {
|
||||
# governor = "performance";
|
||||
# turbo = "auto";
|
||||
# epp = "performance";
|
||||
# epb = "balance_performance";
|
||||
# platform_profile = "performance";
|
||||
|
||||
# enable_auto_turbo = true;
|
||||
# # Custom thresholds for auto turbo management
|
||||
# turbo_auto_settings = {
|
||||
# load_threshold_high = 70.0;
|
||||
# load_threshold_low = 30.0;
|
||||
# temp_threshold_high = 75.0;
|
||||
# initial_turbo_state = false; # whether turbo should be initially enabled (false = disabled)
|
||||
# };
|
||||
# };
|
||||
|
||||
# battery = {
|
||||
# governor = "powersave";
|
||||
# turbo = "auto";
|
||||
# epp = "power";
|
||||
# epb = "balance_power";
|
||||
# platform_profile = "low-power";
|
||||
|
||||
# enable_auto_turbo = true;
|
||||
# # Custom thresholds for auto turbo management
|
||||
# turbo_auto_settings = {
|
||||
# load_threshold_high = 80.0;
|
||||
# load_threshold_low = 40.0;
|
||||
# temp_threshold_high = 65.0;
|
||||
# initial_turbo_state = false; # whether turbo should be initially enabled (false = disabled)
|
||||
# };
|
||||
|
||||
# };
|
||||
|
||||
# daemon = {
|
||||
# poll_interval_sec = 10;
|
||||
# adaptive_interval = true;
|
||||
# min_poll_interval_sec = 1;
|
||||
# max_poll_interval_sec = 30;
|
||||
# throttle_on_battery = true;
|
||||
# stats_file_path = "/var/run/watt-stats";
|
||||
# };
|
||||
# # battery_charge_thresholds = [50 90];
|
||||
# };
|
||||
|
||||
|
||||
# # logind.lidSwitchExternalPower = "ignore"; # prevent lid switch from triggering a suspend
|
||||
# };
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
AllowSuspend=yes
|
||||
AllowHibernation=yes
|
||||
|
Reference in New Issue
Block a user