
{"id":50386,"date":"2026-01-12T14:02:21","date_gmt":"2026-01-12T14:02:21","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=50386"},"modified":"2026-01-12T14:02:21","modified_gmt":"2026-01-12T14:02:21","slug":"auto-cpufreq-3-0-0-added-gui-cli-options-to-override-turbo-boost","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/01\/auto-cpufreq-3-0-0-added-gui-cli-options-to-override-turbo-boost\/","title":{"rendered":"Auto-CPUFreq 3.0.0 added GUI &#038; CLI Options to Override Turbo Boost"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44455\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/auto-cpufreq-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Auto-CPUFreq, the CPU speed &amp; power optimizer and power saving tool for Linux, released new 3.0.0 version yesterday.<\/p>\n<p>The new version of this free open-source application added graphical and command line options to override the CPU turbo boost, and config file option to specify battery device manually.<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_50387\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50387\" class=\"size-large wp-image-50387\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-turbooverride-700x327.webp\" alt=\"\" width=\"610\" height=\"285\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-turbooverride-700x327.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-turbooverride-300x140.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-turbooverride-768x359.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-turbooverride.webp 1275w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-50387\" class=\"wp-caption-text\">Auto CPUFreq graphical interface<\/p><\/div>\n<p>Previously, the tool only allows to configure the CPU turbo boost to <b>always<\/b> on, <b>auto<\/b>, or <b>never<\/b> by editing the configuration file, which is not efficient as it requires a restart of the daemon service.<\/p>\n<p>In the new 3.0.0 release, user can now do the job easily by either single mouse click on the GTK UI, or running the command below in terminal, which is useful for binding to a keyboard shortcut.<\/p>\n<pre>sudo auto-cpufreq --turbo always<\/pre>\n<p><i>Replace <code>always<\/code> to <code>never<\/code> or <code>auto<\/code> according to what you need.<\/i> And, the change apply immediately with any restart, though the GUI may not update if you changed it from CLI.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50388\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-cli-turbo-700x442.webp\" alt=\"\" width=\"610\" height=\"385\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-cli-turbo-700x442.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-cli-turbo-300x189.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-cli-turbo-768x485.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq-cli-turbo.webp 859w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>In case for whose laptop battery is not correctly detected, the new version also add an option into the configuration file, allowing to manually specify the battery device.<\/p>\n<p>As auto-cpufreq does not use config file by default, you need to create one first by running the command below in terminal (Ctrl+Alt+T), after installed the app in Ubuntu.<\/p>\n<pre>mkdir -p ~\/.config\/auto-cpufreq<\/pre>\n<pre>sudo cp \/opt\/auto-cpufreq\/source\/auto-cpufreq\/auto-cpufreq.conf-example ~\/.config\/auto-cpufreq\/auto-cpufreq.conf<\/pre>\n<pre>sudo chown $USER:$USER ~\/.config\/auto-cpufreq\/auto-cpufreq.conf<\/pre>\n<p>The 3 commands above first create the local config directory in case it does not exist, then copy the example file (only tested in Ubuntu) into that directory, finally change the ownership to user itself.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50390\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/create-autofreq-config-700x442.webp\" alt=\"\" width=\"610\" height=\"385\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/create-autofreq-config-700x442.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/create-autofreq-config-300x189.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/create-autofreq-config-768x485.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/create-autofreq-config.webp 859w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>You can finally configure that file either by opening it from file manager (Ctrl+H to show hidden folders), or by running command:<\/p>\n<pre>nano ~\/.config\/auto-cpufreq\/auto-cpufreq.conf<\/pre>\n<p>When file opens, find out the <b>#battery_device<\/b> line, remove <b>#<\/b> to enable it and finally change its value according to your <code>\/sys\/class\/power_supply<\/code> sub-directories, usually BAT0, BAT1, &#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50389\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autofreq-specifybattery-700x437.webp\" alt=\"\" width=\"610\" height=\"381\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autofreq-specifybattery-700x437.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autofreq-specifybattery-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autofreq-specifybattery-768x480.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autofreq-specifybattery.webp 1106w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Finally, run <code>systemctl restart auto-cpufreq.service<\/code> to restart daemon service to apply changes.<\/p>\n<h3>How to Install Auto-CPUFreq in Ubuntu<\/h3>\n<p><b>NOTE: Auto-CPUFreq conflicts to TLP and the built-in power profiles settings in GNOME\/KDE etc desktop environment, as they do the similar things.<\/b><\/p>\n<p>For Ubuntu, the app is available to install as Snap package that runs in sandbox environment. Simply launch App Center (or Ubuntu Software) then search &amp; install it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50391\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq3-appcenter-700x438.webp\" alt=\"\" width=\"610\" height=\"382\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq3-appcenter-700x438.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq3-appcenter-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq3-appcenter-768x481.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/autocpufreq3-appcenter.webp 1042w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>If you don&#8217;t like Snap package, then select download the source tarball from <a href=\"https:\/\/github.com\/AdnanHodzic\/auto-cpufreq\/releases\" target=\"_blank\" rel=\"noopener\">Github releases page<\/a> (under &#8220;Assets&#8221;).<\/p>\n<p>Next, decompress it and open the extracted folder in terminal, and finally run the installer script to install it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50392\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/install-cpufreq-terminal-700x362.webp\" alt=\"\" width=\"610\" height=\"315\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/install-cpufreq-terminal-700x362.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/install-cpufreq-terminal-300x155.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/install-cpufreq-terminal-768x397.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/01\/install-cpufreq-terminal.webp 1293w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>As you see in the screenshot, the installer script also provides an option to &#8220;Remove&#8221; the tool if you need.<\/p>","protected":false},"excerpt":{"rendered":"<p>Auto-CPUFreq, the CPU speed &amp; power optimizer and power saving tool for Linux, released new 3.0.0 version yesterday. The new version of this free open-source application added graphical and command line options to override the CPU turbo boost, and config file option to specify battery device manually.<\/p>\n","protected":false},"author":1,"featured_media":44455,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1514],"class_list":["post-50386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-power-management"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=50386"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50386\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44455"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=50386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=50386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=50386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}