def METHOD_NAME(self, mode):
    output_mode = self.console.run_command("ppc64_cpu --frequency")[0].split("Power and Performance Mode: ")
    if output_mode[1] != mode:
        self.failed_test.append(mode)
    else:
        log.info("Change to %s powersave mode is successful" % mode)