def METHOD_NAME(self) -> tuple[int, int, int]:
    """ get display frames if in compatibility mode"""
    if not config.MNT_COMPATIBILITY_MODE:
        return None
    command = 'dumpsys window | grep DisplayFrames'
    line = self.run(command).decode('utf8')
    """ eg. DisplayFrames w=1920 h=1080 r=3 """
    res = line.strip().replace('=', ' ').split(' ')
    return int(res[2]), int(res[4]), int(res[6])