Batter Charge Status

Don't log data if the battery is in sleep mode or if it throws and
error.