'Initialize the battery sensor.'

def __init__(self, name, battery_id):

    import batinfo
    self._battery = batinfo.Batteries()
    self._name = name
    self._battery_stat = None
    self._battery_id = (battery_id - 1)
    self._unit_of_measurement = '%'
