Battery status script

Xterm package must be installed and replace BAT0 with correct device.

The script:

#!/bin/sh
xterm -e 'echo #################
echo Checking battery status
echo #################
upower -i /org/freedesktop/UPower/devices/battery_BAT0
echo #################
echo Close the scipt pressing Ctrl c
sleep 900'
exit 0