Add battery reading on OSX