Wait for power off state before calling discovery done

Change-Id: I2a14b02978a7253e814a5e365462215d055839b8
Implements: blueprint returning-to-ramdisk