Created
January 20, 2025 14:09
-
-
Save ScarlettSamantha/b9e27a3f2f802b4fb40571c64d660fee to your computer and use it in GitHub Desktop.
ROG Zephyrus G16 - Auto-cpufreq configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# settings for when connected to a power source | |
[charger] | |
# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | |
# preferred governor | |
governor = performance | |
# EPP: see available preferences by running: cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences | |
energy_performance_preference = performance | |
# EPB (Energy Performance Bias) for the intel_pstate driver | |
# see conversion info: https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_epb.html | |
# available EPB options include a numeric value between 0-15 | |
# (where 0 = maximum performance and 15 = maximum power saving), | |
# or one of the following strings: | |
# performance (0), balance_performance (4), default (6), balance_power (8), or power (15) | |
# if the parameter is missing in the config and the hardware supports this setting, the default value will be used | |
# the default value is `balance_performance` (for charger) | |
energy_perf_bias = 4 | |
# Platform Profiles | |
# https://www.kernel.org/doc/html/latest/userspace-api/sysfs-platform_profile.html | |
# See available options by running: | |
# cat /sys/firmware/acpi/platform_profile_choices | |
platform_profile = balanced | |
# minimum cpu frequency (in kHz) | |
# example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000 | |
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html | |
# to use this feature, uncomment the following line and set the value accordingly | |
scaling_min_freq = 400000 | |
# maximum cpu frequency (in kHz) | |
# example: for 1GHz = 1000 MHz = 1000000 kHz -> scaling_max_freq = 1000000 | |
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html | |
# to use this feature, uncomment the following line and set the value accordingly | |
scaling_max_freq = 5000000 | |
# turbo boost setting. possible values: always, auto, never | |
turbo = auto | |
# settings for when using battery power | |
[battery] | |
# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | |
# preferred governor | |
governor = powersave | |
# EPP: see available preferences by running: cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences | |
energy_performance_preference = balance_power | |
# EPB (Energy Performance Bias) for the intel_pstate driver | |
# see conversion info: https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_epb.html | |
# available EPB options include a numeric value between 0-15 | |
# (where 0 = maximum performance and 15 = maximum power saving), | |
# or one of the following strings: | |
# performance (0), balance_performance (4), default (6), balance_power (8), or power (15) | |
# if the parameter is missing in the config and the hardware supports this setting, the default value will be used | |
# the default value is `balance_power` (for battery) | |
energy_perf_bias = 8 | |
# Platform Profiles | |
# https://www.kernel.org/doc/html/latest/userspace-api/sysfs-platform_profile.html | |
# See available options by running: | |
# cat /sys/firmware/acpi/platform_profile_choices | |
# platform_profile = low-power | |
# minimum cpu frequency (in kHz) | |
# example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000 | |
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html | |
# to use this feature, uncomment the following line and set the value accordingly | |
scaling_min_freq = 400000 | |
# maximum cpu frequency (in kHz) | |
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html | |
# example: for 1GHz = 1000 MHz = 1000000 kHz -> scaling_max_freq = 1000000 | |
# to use this feature, uncomment the following line and set the value accordingly | |
scaling_max_freq = 2600000 | |
# turbo boost setting (always, auto, or never) | |
turbo = auto | |
# battery charging threshold | |
# reference: https://github.com/AdnanHodzic/auto-cpufreq/#battery-charging-thresholds | |
enable_thresholds = true | |
start_threshold = 20 | |
stop_threshold = 90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment