def METHOD_NAME():
    battery_name = find_battery()
    if battery_name is None:
        return None
    batinfo = subprocess.Popen('upower -i %s' % battery_name,
                               stdout=subprocess.PIPE, shell=True,
                               universal_newlines=True)
    if not batinfo:
        return None
    else:
        out, err = batinfo.communicate()
        if out:
            return Battery(out)
        else:
            return None