摘要 |
A peripheral device and a method for operating a peripheral device is disclosed. The peripheral device includes one or more connection mechanisms for coupling to a computing device, a power supply, and a controller. The controller is configured to enable the peripheral device to communicate with the computing device. When the peripheral device is coupled to the computing device, the controller is configured to determine the amount of power remaining in the power supply of the peripheral device, and based at least in part on the amount of power remaining in the power supply of the peripheral device, enable the peripheral device to charge a power supply of the computing device, and enable the peripheral device to receive power from the power supply of the computing device. |