Script to test whether computer is running on AC power
