Batman is a battery management service which tweaks different nodes and pieces of hardware in real time.
batman-gui is based on GTK4 and can tweak batman configuration file in real time.
Tested with Phosh only but it should work with any wlroots based compositor
It should be noted at this program has been tested on FuriOS only.
upower must provide a proper battery status on /org/freedesktop/UPower/devices/DisplayDevice
make
And to install everything onto the system
sudo make install
And on Debian based systems to build and package batman
dpkg-buildpackage
And finally, to enable the service
sudo systemctl daemon-reload
sudo systemctl enable --now batman
POWERSAVE
Powersave allows CPU go into powersaving.
OFFLINE
Offlining is the process of CPU cores shutting down. These two only activate when device is idling. They also save a lot of battery.
GPUSAVE
GPU save allows GPU go into powersaving. This feature is still experimental.
CHARGESAVE
Chargesave indicates whether or not put device to powersave when its charging up.
BUSSAVE
This option allows devfreq bus nodes to be set to powersave. They also save a lot of battery.
BTSAVE
This option will allow batman to moderate bluetooth power management and switch states accordingly. it will check if it is connected and if something is using it and changes states accordingly