Archives For November 30, 1999

power-profiles-daemon, the power mode settings backend in Gnome, released 0.20 today!

The new release added amdgpu panel power savings which uses dedicated hardware in systems with integrated Radeon graphics to decrease panel power consumption when the system is on battery.

This activates the DRM connector attribute panel_power_savings which takes a range from 0 to 4 to indicate how aggressively to enable panel power savings.

GNOME Power Mode settings page

Continue Reading…

This simple tutorial shows how to switch CPU power mode between ‘Performance’, ‘Balanced’, and ‘Power Saver’ using Linux command in Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

GNOME has options in both ‘Settings’ and top-right system status menu to change CPU frequency by switching between ‘Performance’, ‘Balanced’, and ‘Power Saver’.

It’s useful for saving battery life while being able to get better performance when gaming or doing heavy work.

For users who want to bind the options to keyboard shortcuts, or make the function into script or even application, here’s the single command to switch the power mode.

Single command to change Power Mode in Ubuntu

NOTE: This tutorial is only tested in Ubuntu (GNOME ONLY) with Intel CPU, though it should also work in Fedora workstation and Debian 12 with GNOME desktop.

The power mode setting option is handled by the power-profiles-daemon. It has a command line tool powerprofilesctl to check current and switch power profile.

To switch power mode to ‘power-saver’ for example, just press Ctrl+Alt+T on keyboard to open terminal and run command:

powerprofilesctl set power-saver

In command, replace power-saver with balanced or performance as you want.

After making change, verify by running command:


In the output, the one with an asterisk ‘*’ in the beginning is the power profile currently in use.

For those who want to do the job through D-Bus interface, run the single command below instead:

gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'power-saver'>"

Also, change power-saver in command with balanced or performance as need.

View CPU Speed / frequency in Real Time

As mentioned, you can verify CPU power mode by simply running powerprofilesctl command.

For choice, you may also see CPU frequency (aka clock speed) in real-time by running command in terminal:

watch -n 1 "grep \"^[c]pu MHz\" /proc/cpuinfo"

It will show you the speed for all CPU cores, and update every 1 second. As you want, you may replace number 1 in seconds (e.g., 2 for 2 s, or 0.5 for 500 ms).

TLP is an advanced power management tool for Linux. Here’s how to install the latest 1.0 release in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and derivatives via PPA.

TLP is a command line tool with automated background tasks. It comes with a default configuration (/etc/default/tlp) already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

How to Install TLP 1.0 in Ubuntu:

While Ubuntu Software only provide an old version, you can always install the latest TLP from its official PPA. So far Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and Ubuntu 17.10 are supported.

1. Open terminal either via Ctrl+Alt+T shortcuts or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo add-apt-repository ppa:linrunner/tlp

Input your password (no visual feedback) when it prompts and hit enter

2. If you’ve installed an old version for Ubuntu Software, launch Software Updater to upgrade it.

or simply run following commands one by one to install (or upgrade) TLP:

sudo apt-get update

sudo apt-get install tlp

Once installed, TLP runs silently as background tasks. You may change the default settings by editing /etc/default/tlp, or use command line tools to specify your requirement. Read the full documentation.


To remove tlp, open terminal and run command:

sudo apt-get remove --autoremove tlp

To remove the PPA, launch Software & Updates and navigate to ‘Other Software’ tab.