code: def update_battery(self):
          
          if self.sk8 is None:
              return
          battery = self.sk8.get_battery_level()
          self.lblBattery.setText('Battery: {}%'.format(battery))
docs: Updates the battery level in the UI for the connected SK8, if any