implemented powersave conditions - test pass