Patent ID: 9257854
Filing Date: 2016-02-09
CPC Classification: H02J

Claim Text:
1. An electronic device, comprising a battery, a charging socket, and a protection circuit connected between the battery and the charging socket, wherein the charging socket is detachably connected to a charging plug of a power supply device and transmitting power from the power supply device to the battery; the charging socket comprises a charging pin receiving the power and transmitting the power to the battery, and a ground pin connected to ground, the protection circuit is connected between the battery and the charging socket, and controlling whether the battery is electrically connected to the charging pin; when the charging socket is disconnected from the charging plug, the protection circuit disconnects the battery from the charging pin before the charging pin is disconnected from the charging plug; wherein the charging socket further comprises a detection pin detachably connected to the charging plug; when the detection pin is electrically connected to the charging plug, a first voltage from a first power source is applied to the detection pin; when the detection pin is disconnected from the charging plug, a second voltage from a second power source is applied to the detection pin; the first voltage differs from the second voltage; when the charging socket is disconnected from the charging plug, the detection pin is disconnected from the charging plug before the charging pin is disconnected from the charging plug; the protection circuit controls whether the battery is connected to the charging pin based on which of the first and second voltages is applied to the detection pin.