Initial power console applet.

This commit is contained in:
2026-01-21 02:04:52 -05:00
commit 9de104b32c
5 changed files with 924 additions and 0 deletions

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# Power Console
This is a simple power-management applet for Linux, written in C++ and FLTK.
It supports changing power profiles, reporting battery status, turning on
and off conservation mode for batteries, and indicating whether the AC adapter
is plugged in.
Since a lot of more bare-bones desktops and window managers lack power
management niceties, I decided to write this little gadget.
The paths to various things are hardcoded for my laptop's specific setup and
such.
TODO: I want to add support for dynamic things like
- Choosing the colors and their thresholds
- Specifying what your system's special configuration files are
- Slider to control brightness
- Some power profiles support (within the applet as well as integration with
what is in the linux system binary `powerprofilesctl`)
This code is licened under the AGPL vesrion 3.0, only.