Bash-script to output the current state of battery power on Macs