https://github.com/piyushxcoder/powermode-indicator
Power Profiles Indicator plugin for all linux desktop environments
https://github.com/piyushxcoder/powermode-indicator
battery-life cpp linux power power-profile power-profiles-daemon
Last synced: 12 months ago
JSON representation
Power Profiles Indicator plugin for all linux desktop environments
- Host: GitHub
- URL: https://github.com/piyushxcoder/powermode-indicator
- Owner: PiyushXCoder
- License: mit
- Created: 2024-07-06T12:11:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-13T06:34:01.000Z (over 1 year ago)
- Last Synced: 2025-03-25T16:21:13.141Z (about 1 year ago)
- Topics: battery-life, cpp, linux, power, power-profile, power-profiles-daemon
- Language: C++
- Homepage:
- Size: 40 KB
- Stars: 42
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Powermode Indicator
It is a plugin for all desktops supported by libappindicator. It provides menu to choose power profiles.
I do use it on my system. I would love to see contributions and bug reports.
> It depends on [power-profiles-daemon](https://archlinux.org/packages/extra/x86_64/power-profiles-daemon/)

## Installation
### Arch Linux
``` bash
paru -S powermode-indicator-git
```
### Ubuntu and Debian
Deb file has been provided in release. You can download and install.
### From sources
> The packages is made using cmake
#### You will need following dependencies:
* cmake > 3.16
* gtkmm-3.0
* glibmm-2.4
* giomm-2.4
* appindicator3-0.1
* gcc or clangd
* pkg-config
#### Steps:
* Clone and change to the project directory
```
cd powermode-indicator
```
* Make a build directory
``` bash
mkdir build
```
* To build run following commands
``` bash
cmake -B build -S .
cmake --build build
```
* To install run following commands
``` bash
cmake --install build
```
## How to run and configure?
The indicator shows up in Status Tray once `powermode-indicator` command is executed.
I would recommend you to add it in autostart script.
## Troubleshoot
* The indicator doesn't show performace mode or other mode if that is not available on your laptop. If you are not sure run the follwing command to check
``` bash
powerprofilesctl
```
* If icons are not shown. Try papirus-icon-theme, breeze-icons or any other complete icon pack