revert delete of setWakeMode