#!/bin/bash
#sudo apt install tlp tlp-rdw
# sudo tlp-stat -b
# upower -i `upower -e | grep 'BAT'`
# upower -i `upower -e | grep 'BAT'`|grep "energy-rate:"
 upower -i `upower -e | grep 'BAT'`|grep "energy-rate:"|awk -F: '{print $2}'|awk -F" " '{print $1}'
