Power Profiles

UUID: power-profiles@rcalixte
Last edited:
1 day ago 2024-12-20, 07:33
Last commit: [6535a467] power-profiles@rcalixte: Check for powerprofilesctl if DBus fails (#6698)

An applet to modify the current system power profile as determined by power-profiles-daemon

README

Close

POWER PROFILES

An applet to modify the current system power profile as determined by power-profiles-daemon (accessible via the command-line as powerprofilesctl if installed correctly)

DESCRIPTION

This is an applet that will set the profile via the input menu or keyboard shortcuts.

The following options are selectable from the applet menu (see the screenshot):

  • Power Saver
  • Balanced
  • Performance (if available)

There are two customizable keyboard shortcuts for switching profiles:

  • Previous profile
  • Next profile

There are also settings for customizing the operation of the keyboard shortcuts:

  • Cycle through profiles when using keyboard shortcuts (Default: false)

    This will determine whether the keyboard shortcuts will cycle through the available system power profiles. Example: The current profile is 'Power Saver' and the keyboard shortcut for 'Previous profile' is entered. If this option is set to false, the profile will stay set at 'Power Saver' and if the option is set to true, the profile will change to 'Performance' if it is available or 'Balanced' otherwise.

  • On-screen display for keyboard shortcuts (Default: true)

    This will control whether there is an on-screen display (see the screenshot) if a keyboard shortcut defined via the applet configuration settings is entered. Similar to volume and other system on-screen displays, even if the option to cycle is set to false and the profile is unchanged by the keyboard shortcut, the on-screen display will still be shown.

COMPATIBILITY

This applet has been tested to be compatible with Cinnamon 5.6+ but is supported for Cinnamon 5.4+.

DEPENDENCIES

This applet depends on the following packages being installed:

On Debian-based, Arch-based, Fedora-based, and Gentoo-based systems, the package is available in the default repositories as power-profiles-daemon.

KNOWN ISSUES

The power-profiles-daemon package and daemon conflicts with TLP and other similar applications - there should only be one such tool installed and running to ensure overall stability.

READ MORE

CHANGELOG

Open

Log In To Comment!

10 Comments

hansingt
hansingt-4 weeks ago
Fedora 41 has switched from power-profiles-daemon to tuned developed by RedHat (https://github.com/redhat-performance/tuned). This provides a power-profiles-daemon compatibility layer. This worked very well with this plugin, up until you released version 1.1, which explicitly checks for the `power-profiles-daemon` package. Would it be possible to make this plugin compatible with tuned-ppd as well? I think, the problem might be the check for ppd package you've implemented with version 1.1
Rick Calixte
Rick Calixte-4 weeks ago
I'll open a proper issue for this. As they support the same DBus namespace, it should be feasible.
Melroy van den Berg
Melroy van den Berg-3 months ago
Thank you so much! I believe I could the config via CLI, but I find this simple applet for PPD very useful. Thanks again, I'm using it with my Framework 13 laptop with much joy. Don't forget people, also install the package: power-profiles-daemon.
invexx
invexx-1 year ago
Would it be possible to make it work with vertical panels too?
Rick Calixte
Rick Calixte-1 year ago
It should already work with vertical panels? Can you share what you're experiencing in a new Issue in the GitHub repository?
020JRO
020JRO-1 year ago
Love it!, Thank you :-)
angelotux
angelotux-1 year ago
hello thank you very much for the applet i first installed sudo apt -y install power-profiles-daemon and then i activated your app you only see balanced and powes saver you don't see performance do you have a remedy? I use mint cinnamon 21.1 cpu ryzen 7 5700g, kernel liquorix 6.3
Rick Calixte
Rick Calixte-1 year ago
Hello! Can you run "powerprofilesctl" in your terminal and check the output? It's possible that your CPU may not be supported or that you may need to adjust your kernel to add "amd_pstate=active" to the GRUB options (in the case of a 6.3+ kernel). Also, additional support for AMD CPUs was added in version 0.13 of power-profiles-daemon that is not there in 0.12 and prior releases. You can find out what version you have by running "powerprofilesctl --version" in your terminal.
angelotux
angelotux-1 year ago
I have version 0.10 how can I put 0.13? I downloaded the 0.13 package it's not a deb file can you put a help in the description? Thank you
Rick Calixte
Rick Calixte-1 year ago
There's a link in the README to the source for the power-profiles-daemon package and that page has installation instructions. Providing those instructions as part of the applet goes beyond the scope of the applet. If the latest version isn't in your distro's repository and you don't want to wait, you would need to compile it from source. If you don't have experience compiling from source, you should wait until there's an upgrade available in your distro's repository. I hope this helps!