Detecting the status of a connected apparatus