def METHOD_NAME(self, index):
    if (index == 1):
        attr_file = 'curr130_input'
    elif (index == 2):
        attr_file = 'curr115_input'
    else:
        logging.error("Invalid PSU number:", index)
        return 0.0
    current = self.get_attr_value(self.HWMON_PATH + attr_file)
    current = current.rstrip()
    if (current != 'ERR'):
        current, dummy = current.split('.',1)
    else:
        return 0.0
    return float(current)/1000