Patent ID: 8321603

Claim:
A rechargeable device, comprising: a Universal Serial Bus (USB) connector that allows a port to be connected to the rechargeable device, wherein the USB connector includes a voltage line, a positive data line, a negative data line, and a negative voltage line; a USB controller coupled to the USB connector for communicating with the port by way of the USB connector; a power management module coupled to the USB controller for selectively enabling the provision of power to the USB controller based on the type of the port connected to the USB connector; a hardware detector coupled to the USB connector for detecting the type of the port connected to the USB connector, wherein the hardware detector provides a port type query signal on the positive data line, monitors the negative data line for a response signal, generates a monitoring result based on a delay time between transmission of the query signal and receipt of the response signal, and determines the type of the port based on the monitoring result, wherein the hardware detector determines that the port is a dedicated charger when the delay time between the transmission of the query signal and receipt of the response signal is less than a first predetermined period that is shorter than a USB controller port type detection period, and wherein the hardware detector is coupled to the power management module and provides a port type to the power management module, and the power management module turns off power to the USB controller when the port is a dedicated charger such that the USB controller is in an off state.