@statusbar/battery
v0.1.0
Published
Battery level block for Statusbar.
Downloads
5
Readme
@statusbar/battery
A battery status block for Statusbar.
Usage
const battery = require('@statusbar/battery')
bar.use(battery())
Dependencies
This block uses upower to retrieve battery information. It probably came preinstalled with your OS, and if not it should be available in the relevant repositories:
apt-get install upower
# or
pacman -S upower
# etc