Ubuntu Check Power Command Line

upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"

Leave a Reply