Summary
- auto-cpufreq auto-adjusts CPU frequency and governor to improve laptop battery life.
- auto-cpufreq 3.0.0 adds CLI/GUI CPU turbo override and battery device selection
- v3.0.0 fixes many bugs, improves battery detection, Wayland icon, NixOS support, and docs
For users who have only used the Windows operating system all their lives, switching to Linux won't be straightforward. But it is still worth it for anyone who wants more control over the performance of their laptops or desktops. And for that, Linux already has numerous built-in tools.
While built-in tools are comprehensive and have other advantages, Linux supports a wide range of open-source utilities that can do a far better job in specific scenarios. An example of such a utility is auto-cpufreq, a popular CPU and power optimizer for Linux. And the auto-cpufreq has recently become significantly more powerful, thanks to the latest update.
6 CLI tools I install before anything else on a new Linux machine
I've set up these terminal utilities on every Linux system in my arsenal
The latest update to auto-cpufreq gives Linux users more control
Linux has built-in governors that can detect system load and dynamically raise or lower the CPU speed as needed. It is an excellent feature to get the best performance out of your CPU and save energy, depending on which governor you switch to. However, if you are running Linux on a Laptop and want to improve the battery life of your laptop, auto-cpufreq is a better alternative.
As the name suggests, the auto-cpufreq does optimizations automatically. It can dynamically adjust CPU frequency and governor settings to strike a balance between performance and battery efficiency.
Now, with the latest update, which takes it to version 3.0.0, the auto-cpufreq now gives Linux users more control by allowing them to override the CPU turbo setting via CLI and GUI. Also, Linux users will be able to specify the battery device in the config. This will be useful for those laptops that have multiple batteries.
In addition to these changes, the latest update to the auto-cpufreq also includes a plethora of bug fixes and improvements, which read as follows:
- Fix cpuinfo and scaling min/max freqs not being used properly #899 | Closes: #866 #737
- Fix auto-cpufreq --monitor reporting the "CPU frequency scaling" section wrong #855
- Fix requests nix flake #858
- Fix the error linked to the path of the battery and generalize the solution (improve battery path detection) #847 | Closes: #848
- Replace magic-nix-cache-action #843
- Fix rectify window icon under Wayland #841
- Bump urllib3 from 2.6.0 to 2.6.3 #909
- Docs: remove --completions flag README documentation #862
- Fix use scaling_max_freq for accurate max CPU clock detection #866 | Closes: #737, #800
- ASUS laptop to battery thresholds #875 | Closes #794
- Add example configuration for Nixos #878
- poetry: Migrate to urwid v3 | Closes #881
- Fix for asus_expertBook_charging_threshold #883
- Add fallback battery threshold file paths #884
- Fix PyGObject installation on Pop!_OS #892 | Closes #833
- Add workaround for exit code 1 (auto-cpufreq-gtk) to README.md #896 | Closes: #893
- Fix variable name for virtual environment removal #902
- Improve pkexec error handling for GUI #903 *Fix NixOS awk: command not found #910 | Closes #908
You can download the auto-cpufreq on your Linux system here from GitHub. However, it's worth remembering that this is designed to replace TLP, so if you have it installed, you need to remove it for the smooth functioning of the auto-cpufreq.
