Skip to content

Instantly share code, notes, and snippets.

@agostini01
Created April 25, 2018 04:08
Show Gist options
  • Save agostini01/4b10b2949a53243e38e86a62b1472258 to your computer and use it in GitHub Desktop.
Save agostini01/4b10b2949a53243e38e86a62b1472258 to your computer and use it in GitHub Desktop.
Print Battey Information in Linux
#!/bin/bash
upower -i /org/freedesktop/UPower/devices/battery_BAT0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment