<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getStatus(self):
 """Returns the charger's charge status, as a string"""

    command = '$GS'
    status = self.sendCommand(command)
    return states[int(status[1])]