If device is powered, set powered_pending from device_set_powered