power cycle wait state machine