Skip to content

Instantly share code, notes, and snippets.

@mksglu
Created August 21, 2017 04:44
Show Gist options
  • Save mksglu/793e1d5983956192edef7707227e3344 to your computer and use it in GitHub Desktop.
Save mksglu/793e1d5983956192edef7707227e3344 to your computer and use it in GitHub Desktop.
upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment