merged power savings and state machine