Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Ubuntu 21.04 Power mode

So, I use AIO device and that means this device always plugged in, and I can use performance mode but every time I reboot it auto-set to balance mode. How can I use performance mode permanently?

This what I talk about

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

This link https://gitlab.freedesktop.org/hadess/power-profiles-daemon is providing all the details required for command line.

Installation Steps

git clone https://gitlab.freedesktop.org/hadess/power-profiles-daemon.git
cd power-profiles-daemon
meson _build -Dprefix=/usr
ninja -v -C _build install

to know which profile is active run below command

gdbus introspect --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles

some of the result

  interface net.hadess.PowerProfiles {
    methods:
    signals:
    properties:
      readwrite s ActiveProfile = 'balanced';

to set the Performance mode run the below command

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

Available Profiles

  1. power-saver
  2. balanced
  3. performance

Try this command and reboot and see for the persistence. If the profile is changing back to what you dont want, then put the above command in startup command list.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading