Prints to the command line your Logitech G Pro Wireless' current voltage and/or the corresponding battery percentage.
- Download the binary from the releases page, or download the sole source file and compile it on your machine.
chmod +x gpwbat
to make the binary executable./gpwbat
to run
./gpwbat
to get the current battery level as a percentage.
./gpwbat voltage
to get just the current voltage.
./gpwbat both
to get voltage and percentage.
Using KDE/Plasma? Get the Command Output
widget and configure it to run gpwbat to have your battery always visible on your taskbar.