Patent ID: 8487583

Claim:
Apparatus comprising: a connector, for providing a physical connection to a USB device, a detection circuit, operable to detect attachment of a USB device; a charging circuit, for charging a battery of a portable device using current drawn from a USB device, the charging circuit being operable, if it is detected that a USB device is attached, to generate a start-up request signal; wherein the apparatus has a charging mode in which power is provided by the charging circuit to the battery, and a USB connection mode for providing a USB connection made between the USB device and the portable device when the portable device drives a data line to communicate with the USB device, and wherein the apparatus further comprises: a control unit, operable in response to the start-up request signal to determine whether a charge level of the battery meets a predetermined criterion, and operable, if it is determined that the predetermined criterion is not met, to control the apparatus to be in the charging mode and prevent the apparatus from entering the USB connection mode and operable, if it is determined that predetermined criterion is met, to control the apparatus to enter the USB connection mode.