Skip to content

PiyushXCoder/powermode-indicator

Repository files navigation

Powermode Indicator

A system tray indicator for switching power profiles on Linux. Works on any desktop supported by libappindicator.

Requires power-profiles-daemon


Screenshot of Powermode Incicator in Xfce4

Features

  • Switch between Balanced, Power Saver, and Performance profiles from the system tray
  • Instant profile change detection via D-Bus signals (no polling)
  • Tooltip showing the active profile name
  • Icons sourced from the system theme; Papirus icons bundled as fallback (dark/light variants auto-detected)

Installation

Arch Linux

paru -S powermode-indicator-git

Ubuntu / Debian

Download the .deb from Releases and install:

sudo dpkg -i powermode-indicator_*.deb

Fedora / RPM-based

Download the .rpm from Releases and install:

sudo rpm -i powermode-indicator_*.rpm

Build from source

Dependencies:

Package Version
cmake ≥ 3.16
gtkmm 3.0
glibmm 2.4
giomm 2.4
appindicator3 0.1
glib2 (glib-compile-resources)
gcc or clang
pkg-config

Steps:

git clone https://github.com/PiyushXCoder/powermode-indicator
cd powermode-indicator
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
sudo cmake --install build

Autostart

To launch on login, create ~/.config/autostart/powermode-indicator.desktop:

[Desktop Entry]
Type=Application
Name=Powermode Indicator
Exec=powermode-indicator
X-GNOME-Autostart-enabled=true

Troubleshooting

Profile mode missing from menu Only profiles supported by your hardware are shown. Check available profiles:

powerprofilesctl

Icons not showing Icons are loaded from the active icon theme. If the theme lacks them, bundled Papirus icons are used automatically. If neither works, install Papirus or another complete icon theme.

Contributing

Bug reports and pull requests are welcome.

About

Power Profiles Indicator plugin for all linux desktop environments

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors