code: def _get_battery_status(self, battery):
          
          if battery["charge"] == -1:
              return (UNKNOWN_SYMBOL, UNKNOWN, "#FFFFFF")
  
          if battery["isCharging"]:
              status = self.status_chr
              color = self.py3.COLOR_GOOD
          else:
              status = self.status_bat
              color = self.py3.COLOR_DEGRADED
  
          if not battery["isCharging"] and battery["charge"] <= self.low_threshold:
              color = self.py3.COLOR_BAD
  
          if battery["charge"] > 99:
              status = self.status_full
  
          return (battery["charge"], status, color)
docs: Get the battery status