Patent ID: 8860360

Claim:
A first device comprising: a battery; a first connector configured to connect the first device to a second device, wherein the first connector includes a power supply pin, a ground pin, two transmit pins, and two receive pins, and wherein the two transmit pins are separate from the two receive pins; a charging module configured to receive power from the second device via the power supply pin and the ground pin to charge the battery, and supply power from the battery to the second device via the power supply pin and the ground pin; a sensing module configured to sense the power supply pin and the ground pin of the first connector, and based on the sensing, detect when the first device (i) connects to the second device via the first connector and (ii) disconnects from the second device; and a communication module configured to transmit data to the second device via the two transmit pins using a Peripheral Component Interconnect Express protocol, and receive data from the second device via the two receive pins using the Peripheral Component Interconnect Express protocol.