You are not logged in.
This is a nice lightweight power manager if you dont want to have something like xfce4-power-manager.
https://github.com/a-schaefers/spm
I found i had to modify the script to point to the correct battery that being BAT1 not BAT0 in
/sys/class/power_supply/
Offline