code: def battery_reported(self, voltage, rawVoltage):
          
          self._update_attribute(BATTERY_PERCENTAGE_REMAINING, voltage)
          self._update_attribute(self.BATTERY_VOLTAGE_ATTR,
                                 int(rawVoltage / 100))
docs: Battery reported.