Returns the charger's charge status, as a string

def getStatus(self):
    """Returns the charger's charge status, as a string"""
    command = '$GS'
    status = self.sendCommand(command)
    return states[int(status[1])]