Hotplug and power state of a connector