Check battery status (capacity, charging rate)

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  • linux
  • ubuntu