A cradle for connecting to a portable electronic apparatus is described.
The cradle includes an AC adapter connector, a USB connector, a mini USB
plug, and a USB signal detecting circuit. The USB connector is used to
connect to a USB interface of a computer. The mini USB plug is used to
connect to the portable electronic apparatus. The USB signal detecting
circuit detects the USB_D+ and the USB_D- of the USB connector. When the
computer is suspended from an operating state, the portable electronic
apparatus is charged by the AC adapter through the mini USB plug. When
the computer resumes normal operation, the USB connection between the
portable electronic apparatus and the computer is automatically
reestablished.