Is there a way to control gnome's power profile outside from the gui?

More specifically, I want to automate booting in performance mode and switching to energy save after a couple of minutes, just to have stuff load faster, but I found no way to do that.

16 points · 4 comments · view on lemmy.world

4 Comments

moonpiedumplings@programming.dev · 13 pts · 62d (1 reply)

Yes. Under the hood, gnome controls the power profiles daemon.

You can configure it from the cli via powerprofilesctl.

powerprofilesctl get gets the currently active mode. powerprofilesctl set performance set's it to performance mode.

There are three modes: 'power-saver', 'balanced', 'performance'

morto@piefed.social · 5 pts · 62d

Thank you very much, it worked.

A_norny_mousse@piefed.zip · 4 pts · 62d (1 reply)

Are you sure the kernel isn't doing this already?

If yes: https://wiki.archlinux.org/title/CPU_frequency_scaling

morto@piefed.social · 1 pts · 62d

Are you sure the kernel isn’t doing this already?

Yes, because things take long to open, so I started setting it to performance manually for them to load faster. The difference in loading time is considerate, so I'm sure it's not a trick of the mind

By the way, using powerprofilesctl already did the trick. Thanks