GNOME Shell extension to automatically switch between power profiles based on power supply
When enabled, the extension will automatically switch to:
- the selected defaults profiles based on the which power supply the device is running on.
- to power saving profile if running on battery and the percentage drops below the selected level.
This extension depends on powerprofilesctl
. Install it with:
# Arch
sudo pacman -S power-profiles-daemon
# Ubuntu
sudo apt install power-profiles-daemon
# Fedora
sudo dnf install power-profiles-daemon
Then you need to enable and start the systemd service
sudo systemctl enable power-profiles-daemon
sudo systemctl start power-profiles-daemon
This extension can be found in the store.
Clone the repo and put the files in the extension folder.
These are usually stored in ~/.local/share/gnome-shell/extensions/
cd .local/share/gnome-shell/extensions
git clone https://github.com/eliapasquali/power-profile-switcher
sudo mv power-profile-switcher [email protected]
After this, the extensions is installed. In order to enable it run the following command or use the Extensions app.
gnome-extensions enable [email protected]
This extensions is developed and tested on Arch, with GNOME 43 on Wayland.
Contribution to this project are welcome