- rework discover to detect power on state change