A short bash script to check the battery status of the power and log it, and email as well. (Not ready for prime time, but it works)