auto-cpufreq

Open source

auto-cpufreq is a Linux tool that watches battery, CPU load and temperature and adjusts CPU speed, governor and turbo boost automatically to save power.

GitHub stars
7.9k
Last 30 days
+26(+0%)
Last commit
16 days ago
Repository age
6 years
Version
v3.2.0
Licence
GPL-3.0
Self-hosted
Yes

About auto-cpufreq

auto-cpufreq is an automatic CPU speed and power optimizer for Linux, written in Python and released under GPL-3.0. The author built it because laptop CPUs on Linux often run unoptimized, for example on the performance governor with turbo boost enabled whether or not the machine is plugged in. Manual tools exist, but they need action from the user each time.

The tool monitors battery state, CPU usage, CPU temperature and system load, then changes frequency scaling, the governor and turbo boost accordingly, leaving most of the work to the Linux kernel. It also shows CPU frequency, usage and temperature per core, can read and set platform profiles when the driver exposes them, and supports separate charger and battery settings plus limited battery charging threshold control.

It runs as a command line tool with monitor, live, stats and daemon modes, and there is also a GUI. Overrides for governor and turbo are available, as is a config file. Installation options include a source installer, a Debian package, the Snap Store, the AUR and NixOS. Only Intel, AMD or ARM CPUs are supported, and the project aims to replace TLP rather than run beside it.

Key features

  • Monitors battery, CPU usage, temperature and system load
  • Adjusts frequency scaling, governor and turbo boost
  • Uses temperature together with load to avoid overheating
  • Temporary and persistent optimization
  • Platform profile monitoring and configuration
  • Separate charger and battery settings
  • Governor override, turbo override and config file

Good fit for

  • Extending laptop battery life on Linux
  • Lowering power use on desktops or servers
  • Watching CPU frequency and temperature live
Built with
Python tools
Tags
linux
cpu
power-management
battery
laptop
python
daemon
cli

auto-cpufreq: questions and answers

What is auto-cpufreq used for?
auto-cpufreq is a Linux tool that watches battery, CPU load and temperature and adjusts CPU speed, governor and turbo boost automatically to save power. It is a good fit for extending laptop battery life on Linux, lowering power use on desktops or servers, and watching CPU frequency and temperature live.
Is auto-cpufreq open source?
Yes. auto-cpufreq is open source under the GPL-3.0 licence. Its source code is on GitHub at AdnanHodzic/auto-cpufreq and is written mainly in Python.
Is auto-cpufreq free?
Yes. auto-cpufreq is open source, so the software itself is free to use.
Can I self-host auto-cpufreq?
Yes. auto-cpufreq can be self-hosted on your own server or infrastructure.
What are some alternatives to auto-cpufreq?
Similar open-source tools in the Productivity category include Persepolis, Watson and Stats. SaaS products in the same category include DynamicRing, ManicTime and Pastily.
Is auto-cpufreq actively maintained?
Yes. The most recent commit to auto-cpufreq was on 28 October 2026, and the latest release is v3.2.0, published on 5 October 2026. The project has 7.9k stars on GitHub, with 26 added in the last 30 days.

Open-source alternatives to auto-cpufreq

See all

SaaS alternatives to auto-cpufreq

See all