Patent ID: 11860805
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
Field: Electrical machinery, apparatus, energy (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 10:
11. A charging method, applied to a terminal device, wherein the terminal device comprises: a first Type-C interface, wherein the first Type-C interface comprises: a first group of pins and a second group of pins;
a first switch unit, wherein the first group of pins are connected to an application processor earphone interface or an application processor fast charge interface of the terminal device through the first switch unit;
a second switch unit, wherein the second group of pins are connected to the application processor earphone interface or the application processor fast charge interface of the terminal device through the second switch unit; and
a controller, wherein in a case where grounding impedance value of the first group of pins is within a preset range, the controller controls the first switch unit to connect the first group of pins to the application processor earphone interface, and controls the second switch unit to connect the second group of pins to the application processor fast charge interface; or
in a case where grounding impedance value of the second group of pins is within the preset range, controls the second switch unit to connect the second group of pins to the application processor earphone interface, and controls the first switch unit to connect the first group of pins to the application processor fast charge interface; and
the method comprises:
detecting a grounding impedance value of a target pin, to obtain a detection result, wherein the target pin comprises a first group of pins and/or a second group of pins; and
in a case where the detection result is that the grounding impedance value of the first group of pins is within a preset range, controlling the first group of pins to connect to the application processor earphone interface of the terminal device, and controlling the second group of pins to connect to the application processor fast charge interface of the terminal device;
or in a case where the detection result is that the grounding impedance value of the second group of pins is within the preset range, controlling the second group of pins to connect to the application processor earphone interface, and controlling the first group of pins to connect to the application processor fast charge interface.