Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 274 Bytes
#!/bin/bash
# ~/bin/batt_stat
#
#SOURCE: https://github.com/vonbrownie/homebin/blob/master/batt_stat
# Display battery state, time|percentage remaining until empty|full
upower -i "$(upower -e | grep BAT)" | \
grep --color=never -E 'state|to\ full|to\ empty|percentage'
You can’t perform that action at this time.