node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

@statusbar/battery

@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

License

MIT