battery report ubuntu code example Example: battery report ubuntu $ upower -i `upower -e | grep 'BAT'`