LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

auto-cpufreq

Automatic CPU speed and power optimizer

TLDR

Monitor CPU frequency and power
$ sudo auto-cpufreq --monitor
copy
Run in live mode (temporary optimization)
$ sudo auto-cpufreq --live
copy
Show statistics
$ sudo auto-cpufreq --stats
copy
Install as system service
$ sudo auto-cpufreq --install
copy
Remove system service
$ sudo auto-cpufreq --remove
copy
Force specific governor
$ sudo auto-cpufreq --force=powersave
copy
Update auto-cpufreq
$ sudo auto-cpufreq --update
copy

SYNOPSIS

auto-cpufreq [options]

DESCRIPTION

auto-cpufreq is an automatic CPU speed and power optimizer for Linux. It dynamically adjusts CPU frequency scaling and turbo boost based on system load and power source (AC/battery) to optimize performance and battery life.

PARAMETERS

--monitor

Monitor CPU frequency, governor, and power information
--live
Run in live mode with temporary optimization
--stats
Display statistics from daemon mode
--install
Install auto-cpufreq as a system service
--remove
Remove auto-cpufreq system service
--update
Update auto-cpufreq to latest version
--force=GOVERNOR
Force a specific governor (powersave, performance)
--config PATH
Use custom configuration file
--debug
Enable debug output

CONFIGURATION

/etc/auto-cpufreq.conf

Main configuration file. Defines governor and turbo boost preferences per power source (charger/battery).

CAVEATS

Using --install creates a systemd service for automatic operation. The --live and --monitor modes are for testing and do not persist after reboot. For laptops, auto-cpufreq automatically switches between performance and powersave based on power source.

HISTORY

auto-cpufreq was created to provide automatic CPU frequency optimization without manual tuning, particularly useful for laptops to extend battery life while maintaining performance when needed.

SEE ALSO

Copied to clipboard
Kai