Patent ID: 9577452
Date: 2017-02-21
CPC Classifications: H01M,H02J,Y02E

Claim:
1. A portable electronic device, comprising: a memory configured to store at least one specific code; a connector, having a first data pin, a second data pin and a power pin; a battery; a battery charging circuit electrically coupled between the connector and the battery, and configured to receive a charging current and a power voltage from an external device via the power pin and to charge the battery according to the charging current; and a processor configured to detect whether the first and second data pins are shorted by the external device when the power voltage is higher than a specific voltage, wherein when the processor detects that the first and second data pins are shorted, the processor sends a request to the external device for making the first and second data pins open and obtains an identification code from the external device via the first and second data pins after the first and second data pins are opened in response to the request, wherein if the identification code matches the specific code stored in the memory, the processor sends a requirement to the external device; and wherein the power voltage and the charging current received by the battery charging circuit are increased by the external device in response to the requirement.