This seems to be doing basically the same thing as ```is_power_button_on```. Could this be simplified to just wait for ```is_power_button_on``` to be false?