Abstract:
A method and an apparatus for performing charging port detection control are provided, where the method is applied to an electronic device, and a communication port of the electronic device has a functionality of obtaining power from an external power source for the electronic device. The method may include the steps of: detecting whether an output voltage level of a battery of the electronic device reaches a predetermined threshold value; and control operation(s) according to whether the output voltage level reaches the predetermined threshold value. For example, the method may include: when it is detected that the output voltage level is less than the predetermined threshold value, pre-charging the battery with a predetermined pre-charging current level to make the output voltage level reach the predetermined threshold value, and then controlling a detection path switching unit to electrically connect data terminal(s) of the communication port to a charging port detection circuit.
Abstract:
A method and an apparatus for performing charging port detection control are provided, where the method is applied to an electronic device, and a communication port of the electronic device has a functionality of obtaining power from an external power source for the electronic device. The method may include the steps of: detecting whether an output voltage level of a battery of the electronic device reaches a predetermined threshold value; and control operation(s) according to whether the output voltage level reaches the predetermined threshold value. For example, the method may include: when it is detected that the output voltage level is less than the predetermined threshold value, pre-charging the battery with a predetermined pre-charging current level to make the output voltage level reach the predetermined threshold value, and then controlling a detection path switching unit to electrically connect data terminal(s) of the communication port to a charging port detection circuit.