Electronic device, adapter, and charging control method

By communicating between electronic devices and adapters with Type-C interfaces, the battery level is detected and a voltage drop signal is sent, thus solving the problem of wasted power resources during Type-C interface charging and achieving efficient and energy-saving operation of the adapter.

WO2026156487A1PCT designated stage Publication Date: 2026-07-30HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2025-01-21
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

How to save power during Type-C interface charging, especially when electronic device batteries are fully charged or stopped charging, and avoid power waste caused by intermittent operation of the adapter.

Method used

By communicating between the electronic device and the adapter, the battery level is detected and a voltage reduction control signal is sent when the level reaches a certain value. This controls the adapter to reduce or stop the voltage input to the Type-C interface. Combined with the use of a switching unit, this ensures the saving of power resources.

Benefits of technology

This effectively reduces the power consumption of the adapter, avoids intermittent operation caused by the discontinuous conduction mode of the power factor correction circuit, and achieves power resource saving and efficient operation of the adapter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025073676_30072026_PF_FP_ABST
    Figure CN2025073676_30072026_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device, an adapter, and a charging control method. The electronic device comprises a first charging circuit, a processing circuit, and a first Type-C interface. A first terminal of the first charging circuit is connected to a CC terminal of the first Type-C interface, a second terminal of the first charging circuit is connected to a VBUS terminal of the first Type-C interface, and a third terminal of the first charging circuit is connected to the processing circuit. The processing circuit comprises a GPIO interface. The processing circuit is configured to detect the remaining capacity of a battery of the electronic device during charging, and output a consumption reduction control signal by means of the GPIO interface when it is detected that the remaining capacity reaches a first capacity value or it is detected that charging for the battery stops, so as to control the VBUS terminal of the first Type-C interface to stop inputting a power supply signal to the first charging circuit. In this way, power resource saving is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

An electronic device, an adapter, and a charging control method Technical Field

[0001] This application relates to the field of charging technology, and in particular to an electronic device, an adapter, and a charging control method. Background Technology

[0002] Universal Serial Bus (USB) has become an indispensable part of daily life and work. It is not only a crucial bridge connecting computers to various peripheral devices, but also an important interface for data transfer and charging. The Type-C interface is a type of USB interface that supports reversible plugging and data transfer. As the mainstream USB interface, Type-C is widely used in electronic devices such as smartphones, tablets, laptops, e-readers, digital cameras, and headphones.

[0003] Furthermore, the Type-C interface supports fast charging protocols (such as Power Delivery (PD) protocols), enabling electronic devices to achieve fast charging and high-speed data transmission. When the Type-C interface of an electronic device is plugged into the Type-C interface of an adapter, and the adapter is powered on, fast charging of the electronic device can be achieved if the adapter supports fast charging protocols.

[0004] When adapters power electronic devices via Type-C interfaces, how to save power resources is currently a hot research topic. Summary of the Invention

[0005] This application provides an electronic device, an adapter, and a charging control method, which helps to save power resources.

[0006] In a first aspect, embodiments of this application provide an electronic device, which includes a first charging circuit, a processing circuit, and a first Type-C interface; a first terminal of the first charging circuit is connected to the CC terminal of the first Type-C interface, a second terminal of the first charging circuit is connected to the VBUS terminal of the first Type-C interface, and a third terminal of the first charging circuit is connected to the processing circuit; the processing circuit includes a GPIO interface.

[0007] The processing circuit is used to detect the battery level of the electronic device during the charging process, and when the battery level reaches a first level or the battery stops charging, it outputs a power reduction control signal through the GPIO interface. The power reduction control signal is used to control the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit.

[0008] It is evident that when the battery of an electronic device is fully charged or stopped charging, the power saving control signal output by the GPIO interface of the processing circuit controls the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit, thereby stopping the power supply to the electronic device, which helps to save power resources.

[0009] In conjunction with the electronic device provided in the first aspect, in one possible implementation, the power consumption control signal is used to control the VBUS terminal of the first Type-C interface to receive a first potential, and the first potential is used to control the VBUS terminal of the first Type-C interface to stop inputting a power signal to the first charging circuit, thereby stopping the power supply to the electronic device.

[0010] Optionally, the electronic device also includes a first switching unit, which is connected to a GPIO interface, a first voltage terminal, and the VBUS terminal of a first Type-C interface;

[0011] The processing circuit is specifically used to transmit the power reduction control signal to the first switching unit through the GPIO interface;

[0012] The first switching unit is used to control the VBUS terminal of the first Type-C interface to be electrically connected to the first voltage terminal when a power reduction control signal is received. The first voltage terminal is used to provide a first potential. Thus, the first voltage terminal provides a first potential to the VBUS terminal of the first Type-C interface, so that the VBUS terminal of the first Type-C interface stops inputting a power signal to the first charging circuit.

[0013] Optionally, the control terminal of the first switching unit is connected to the GPIO interface, the first conductive terminal of the first switching unit is connected to the first voltage terminal, and the second conductive terminal of the first switching unit is connected to the VBUS terminal of the first Type-C interface.

[0014] The first switching unit is specifically used to control the second conductive terminal of the first switching unit to be electrically connected to the first conductive terminal of the first switching unit when the control terminal of the first switching unit receives a power reduction control signal from the GPIO interface, so as to make the VBUS terminal of the first Type-C interface electrically connected to the first voltage terminal; wherein, the first voltage terminal is the ground terminal.

[0015] In other words, when the first switching unit is in the ON state, the VBUS terminal of the first Type-C interface is grounded, thereby stopping the VBUS terminal of the first Type-C interface from inputting power signals to the first charging circuit.

[0016] In conjunction with the electronic device provided in the first aspect, in one possible implementation, the power consumption control signal is used to control the VBUS terminal of the first Type-C interface to stop receiving power signals, thereby stopping the VBUS terminal of the first Type-C interface from inputting power signals to the first charging circuit.

[0017] Optionally, the GPIO interface is connected to the SUB terminal of the first Type-C interface, and the SUB terminal of the first Type-C interface is used to connect to the SUB terminal of the second Type-C interface of the adapter, so that the adapter stops providing power signals to the electronic device, that is, the adapter stops supplying power to the electronic device.

[0018] In conjunction with the electronic device provided in the first aspect, in one possible implementation, the power reduction control signal is used to control the CC terminal of the first Type-C interface to receive a second potential, and the second potential is used to control the VBUS terminal of the first Type-C interface to stop inputting a power signal to the first charging circuit, so as to stop supplying power to the electronic device.

[0019] Optionally, the electronic device also includes a second switching unit, which is connected to the GPIO interface, the second voltage terminal, and the CC terminal of the Type-C interface;

[0020] The processing circuit is specifically used to transmit the power reduction control signal to the second switching unit through the GPIO interface;

[0021] The second switching unit, upon receiving a power-saving control signal, controls the CC terminal of the first Type-C interface to electrically connect with the second voltage terminal, which provides a second potential. This second voltage terminal provides the second potential to the CC terminal of the first Type-C interface, causing the CC terminal of the Type-C interface on the adapter side to receive the second potential. Consequently, the adapter stops supplying power to the electronic device, and the VBUS terminal of the first Type-C interface also stops inputting a power signal to the first charging circuit.

[0022] Optionally, the control terminal of the second switching unit is connected to the GPIO interface, the first conductive terminal of the second switching unit is connected to the second voltage terminal, and the second conductive terminal of the second switching unit is connected to the CC terminal of the first Type-C interface.

[0023] The second switching unit is specifically used to control the second conductive terminal of the second switching unit to be electrically connected to the first conductive terminal of the second switching unit when the control terminal of the second switching unit receives a power reduction control signal from the GPIO interface, so as to make the CC terminal of the first Type-C interface electrically connected to the second voltage terminal; wherein, the second voltage terminal is a high voltage terminal.

[0024] In other words, when the second switching unit is in the conducting state, the CC terminal of the first Type-C interface receives the second potential (the potential provided by the high voltage terminal), which in turn causes the CC terminal of the Type-C interface on the adapter side to receive the second potential, thereby stopping the adapter from supplying power to the electronic device, and the VBUS terminal of the first Type-C interface also stops inputting power signals to the first charging circuit.

[0025] In conjunction with the electronic device provided in the first aspect, in one possible implementation, the processing circuit is further configured to, upon detecting that the battery level has dropped to a second level, output a recovery control signal via a GPIO interface and send a voltage increase control signal to the first Type-C interface via the first charging circuit; wherein the second level is less than the first level; the recovery control signal is used to control the VBUS terminal of the first Type-C interface to resume inputting a power signal to the first charging circuit; and the voltage increase control signal is used to control the voltage increase of the power signal input to the VBUS terminal of the first Type-C interface. Thus, when the battery level drops to the second level, the electronic device can be recharged.

[0026] Secondly, embodiments of this application provide an adapter, which includes a second charging circuit, a charging output unit, and a second Type-C interface; the output terminal of the second charging circuit is connected to the charging output unit, the charging output unit is connected to the VBUS terminal of the second Type-C interface, and the SUB terminal of the second Type-C interface is used to connect to the SUB terminal of the first Type-C interface of an electronic device;

[0027] When the adapter powers the electronic device and the battery level of the electronic device reaches a first charge level or the battery of the electronic device stops charging, the SUB terminal of the second Type-C interface receives a power reduction control signal from the SUB terminal of the first Type-C interface. The power reduction control signal is used to control the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface.

[0028] As can be seen, when the battery of an electronic device is fully charged or stopped charging, the power saving control signal received from the electronic device through the SUB terminal of the second Type-C interface can control the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface, thereby stopping the adapter from inputting power signals to the electronic device, which helps to save power resources.

[0029] In conjunction with the adapter provided in the second aspect, in one possible implementation, the adapter further includes a third switching unit, which is connected to the charging output unit, the third voltage terminal, and the SUB terminal of the second Type-C interface;

[0030] The third switching unit is used to receive a power reduction control signal from the SUB terminal of the second Type-C interface to control the charging output unit to be electrically connected to the third voltage terminal; wherein, the third voltage terminal is used to provide a third potential, and the third potential is used to control the charging output unit to stop inputting a power signal to the VBUS terminal of the second Type-C interface.

[0031] In other words, under the action of the power consumption reduction control signal, the third switching unit is in the conducting state, which makes the charging output unit electrically connected to the third voltage terminal, so that the third voltage terminal provides a third potential to the charging output voltage, so that the charging output unit stops inputting power signals to the VBUS terminal of the second Type-C interface.

[0032] Optionally, the control terminal of the third switch unit is connected to the SUB terminal of the second Type-C interface, the first conductive terminal of the third switch unit is connected to the third voltage terminal, and the second conductive terminal of the third switch unit is connected to the charging output unit.

[0033] The third switching unit is specifically used to control the second conductive terminal of the third switching unit to be electrically connected to the first conductive terminal of the third switching unit when the control terminal of the third switching unit receives the power reduction control signal from the SUB terminal of the second Type-C interface, so as to make the charging output unit electrically connected to the third voltage terminal; wherein, the third voltage terminal is the ground terminal.

[0034] In other words, under the action of the power consumption reduction control signal, the third switching unit is in the conducting state, which grounds the charging output unit, thereby stopping the charging output unit from inputting power signals to the VBUS terminal of the second Type-C interface.

[0035] Optionally, the control terminal of the charging output unit is connected to the second conductive terminal of the third switching unit, the first conductive terminal of the charging output unit is connected to the output terminal of the second charging circuit, and the second conductive terminal of the charging output unit is connected to the VBUS terminal of the second Type-C interface.

[0036] The charging output unit is used to control the first conductive terminal of the charging output unit to be electrically disconnected from the second conductive terminal of the charging output unit when it is electrically connected to the third voltage terminal and receives the third potential from the third voltage terminal, so that the output terminal of the second charging circuit is electrically disconnected from the VBUS terminal of the second Type-C interface.

[0037] In other words, when the control terminal of the charging output unit is grounded, the charging output unit is in a cut-off state, which electrically disconnects the output terminal of the second charging circuit from the VBUS terminal of the second Type-C interface, thereby stopping the charging output unit from inputting power signals to the VBUS terminal of the second Type-C interface.

[0038] In conjunction with the adapter provided in the second aspect, in one possible implementation, the adapter further includes an over-temperature adjustment unit, which is connected to the SUB terminal of the second Type-C interface, the second charging circuit, and the third voltage terminal;

[0039] The over-temperature adjustment unit is used to receive a power reduction control signal from the SUB terminal of the second Type-C interface to control the voltage change of the over-temperature adjustment unit.

[0040] The over-temperature adjustment unit is also used to control the second charging circuit to stop inputting power signals to the charging output unit when the voltage corresponding to the temperature of the over-temperature adjustment unit reaches the first voltage value.

[0041] In other words, under the action of the power consumption reduction control signal, the voltage of the over-temperature adjustment unit will change. When its voltage reaches the first voltage value, the second charging circuit will stop inputting power signals to the charging output unit, thereby the charging output unit will stop inputting power signals to the VBUS terminal of the second Type-C interface.

[0042] Optionally, the first end of the over-temperature adjustment unit is connected to the third voltage terminal, and the second end of the over-temperature adjustment unit is connected to the second charging circuit and the SUB terminal of the second Type-C interface.

[0043] The over-temperature adjustment unit is specifically used to control the second charging circuit to connect to the third voltage terminal when the voltage corresponding to the temperature of the over-temperature adjustment unit reaches the first voltage value; wherein, the third voltage terminal is the ground terminal.

[0044] In other words, under the action of the power consumption reduction control signal, the voltage of the over-temperature adjustment unit will change. When its voltage reaches the first voltage value, the second charging circuit will be grounded, thereby stopping the charging output unit from inputting power signals to the VBUS terminal of the second Type-C interface.

[0045] In conjunction with the adapter provided in the second aspect, in one possible implementation, when the battery power of the electronic device drops to a second power level, the SUB terminal of the second Type-C interface receives a recovery control signal from the SUB terminal of the first Type-C interface; the CC terminal of the second Type-C interface receives a voltage increase control signal from the CC terminal of the first Type-C interface.

[0046] The recovery control signal controls the charging output unit to resume inputting a power signal to the VBUS terminal of the second Type-C interface; the voltage increase control signal increases the voltage of the power signal input to the VBUS terminal of the second Type-C interface. This allows the adapter to recharge the electronic device even when the battery level drops to a second charge level.

[0047] Thirdly, embodiments of this application provide a charging control method, which can be applied to an electronic device including a first Type-C interface, the first Type-C interface being connected to an adapter. The method may include: detecting the battery level of the electronic device during charging; and, upon detecting that the battery level has reached a first level or that charging has stopped, sending a voltage reduction control signal to the adapter, the voltage reduction control signal controlling the voltage input by the adapter to the VBUS terminal of the first Type-C interface to decrease; and, upon detecting that the battery level has decreased to a second level, sending a voltage increase control signal to the adapter, the voltage increase control signal controlling the voltage input by the adapter to the VBUS terminal of the first Type-C interface to increase; wherein the first level is greater than the second level.

[0048] It is evident that when the electronic device's battery is fully charged or stopped charging, sending a voltage reduction control signal to the adapter reduces the adapter's energy consumption, thereby saving power resources. When the electronic device's battery level drops to a second charge level, sending a voltage increase control signal to the adapter enables the electronic device to resume charging.

[0049] In conjunction with the method provided in the third aspect, in one possible implementation, the voltage reduction input by the adapter to the VBUS terminal of the first Type-C interface includes reducing the voltage input by the adapter to the VBUS terminal of the first Type-C interface from a first voltage to a second voltage, or the adapter stopping inputting voltage to the VBUS terminal of the first Type-C interface.

[0050] The voltage increase input by the adapter to the VBUS terminal of the first Type-C interface includes the voltage input by the adapter to the VBUS terminal of the first Type-C interface increasing from a second voltage to a third voltage, or the adapter inputting a fourth voltage to the VBUS terminal of the first Type-C interface.

[0051] In conjunction with the method provided in the third aspect, in one possible implementation, the electronic device further includes a first charging circuit and a processing circuit; when the battery level is detected to have dropped to a second level, a voltage rise control signal is sent to the adapter, including: the processing circuit connecting to the battery and detecting the battery level; when the processing circuit detects that the battery level has dropped to the second level, the processing circuit generating a voltage rise control signal and outputting the voltage rise control signal to the first charging circuit; the first charging circuit outputs the voltage rise control signal to the adapter through the CC terminal of the first Type-C interface.

[0052] Fourthly, embodiments of this application provide a charging control method, which can be applied to an adapter including a second Type-C interface, the second Type-C interface being connected to an electronic device. The method may include: when the adapter is supplying power to the electronic device and the battery level of the electronic device reaches a first charge level or the battery of the electronic device stops charging, controlling the voltage output from the VBUS terminal of the second Type-C interface to decrease in response to a voltage reduction control signal from the electronic device; and when the battery level of the electronic device drops to a second charge level, controlling the voltage output from the VBUS terminal of the second Type-C interface to increase in response to a voltage increase control signal from the electronic device; wherein the first charge level is greater than the second charge level.

[0053] As can be seen, when the electronic device's battery is fully charged or stopped charging, the adapter can control the output voltage to decrease by receiving a voltage reduction control signal from the electronic device, thereby reducing the adapter's energy consumption and saving power. When the electronic device's battery level drops to a second charge level, the adapter can control the output voltage to increase by receiving a voltage increase control signal from the electronic device, thus enabling the electronic device to be recharged.

[0054] In conjunction with the method provided in the fourth aspect, in one possible implementation, the adapter further includes a second charging circuit; in response to a voltage reduction control signal from an electronic device, controlling the voltage output of the VBUS terminal of the second Type-C interface to decrease includes: the CC terminal of the second Type-C interface receiving the voltage reduction control signal from the electronic device and transmitting the voltage reduction control signal to the second charging circuit; the second charging circuit, in response to the voltage reduction control signal, reducing the voltage output of the VBUS terminal of the second Type-C interface from a first voltage to a second voltage, or the VBUS terminal of the second Type-C interface stopping the voltage output.

[0055] In conjunction with the method provided in the fourth aspect, in one possible implementation, in response to a voltage rise control signal from an electronic device, controlling the voltage output of the VBUS terminal of the second Type-C interface to rise includes: the CC terminal of the second Type-C interface receiving the voltage rise control signal from the electronic device and transmitting the voltage rise control signal to the second charging circuit; the second charging circuit, in response to the voltage rise control signal, reducing the voltage output of the VBUS terminal of the second Type-C interface from a second voltage to a third voltage, or controlling the VBUS terminal of the second Type-C interface to output a fourth voltage.

[0056] Fifthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the third aspect and any possible implementation thereof. When executed on an adapter, the instructions cause the adapter to perform the method described in the fourth aspect and any possible implementation thereof. Attached Figure Description

[0057] Figure 1A is a scenario example diagram of an electronic device 100 being electrically connected to an adapter 110 via a Type-C interface;

[0058] Figure 1B is an example diagram of the interface on one side of the electronic device 100;

[0059] Figure 1C is a structural example diagram of adapter 110;

[0060] Figure 2 is a pin view of the socket end and plug lead end of the Type-C interface;

[0061] Figure 3 is a schematic flowchart of a charging control method provided in an embodiment of this application;

[0062] Figures 4A and 4B are example circuit structure diagrams of an electronic device based on the embodiment shown in Figure 3;

[0063] Figures 4C and 4D are example circuit structure diagrams of the adapter based on the embodiment shown in Figure 3;

[0064] Figure 5 is a flowchart illustrating another charging control method provided in an embodiment of this application;

[0065] Figures 6A to 6D are example circuit structure diagrams of several electronic devices based on the embodiments shown in Figure 5;

[0066] Figure 7 is a flowchart illustrating another charging control method provided in an embodiment of this application;

[0067] Figures 8A and 8B are example circuit structure diagrams of two adapters based on the embodiment shown in Figure 7;

[0068] Figure 8C is an example circuit structure diagram of an electronic device based on the embodiment shown in Figure 7. Detailed Implementation

[0069] The terms "first" and "second," etc., used in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0070] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0071] In this application, "at least one (item)" refers to one or more, "more than one" refers to two or more, "at least two (items)" refers to two or three or more, and "and / or" is used to describe the correspondence between related objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0072] The Type-C interface, as the mainstream USB interface, is widely used in electronic devices such as smartphones, tablets, laptops, e-readers, digital cameras, and headphones. The Type-C interface supports fast charging protocols (such as PD protocol and Super Charge Protocol (SCP)), enabling fast charging and high-speed data transfer for electronic devices. When the Type-C port of an electronic device is plugged into the Type-C port of an adapter, and the adapter is powered on, fast charging of the electronic device can be achieved if the adapter supports fast charging protocols.

[0073] Among them, PD protocol is a fast charging protocol based on the Type-C interface. Through this protocol, electronic devices and adapters can negotiate charging voltage and current to achieve fast charging and bidirectional discharging. SCP protocol is also a fast charging protocol based on the Type-C interface. This protocol uses low-voltage direct charging and increases the charging current to achieve higher power, providing users with a more efficient and faster charging experience. These two fast charging protocols are used as examples; other fast charging protocols may be used in actual applications. This application's embodiments use the PD protocol as an example.

[0074] In this embodiment, electronic devices refer to devices such as tablets, laptops, and e-readers. These electronic devices are equipped with a Type-C interface, which can be plugged into the Type-C interface of an adapter, allowing the adapter to charge the electronic device while it is powered on. Furthermore, these electronic devices may remain connected to the adapter for extended periods, as is typical for laptops. In other words, these electronic devices may be in a charging state for extended periods.

[0075] When electronic devices such as tablets and laptops are connected to a power adapter, the adapter can boost the output voltage to a fixed voltage (e.g., 20V, 28V, or 48V) to charge the device using a fast charging protocol (e.g., PD protocol). Even when the device is fully charged (100% charge), the adapter continues to output the fixed voltage value used during charging, such as 20V, 28V, or 48V. This causes the Power Factor Correction (PFC) circuit in the adapter to operate in Discontinuous Conduction Mode (DCM), resulting in intermittent operation. The PFC circuit primarily controls the waveform of the input current to synchronize it with the input voltage waveform. It also improves the power factor, reduces harmonic content, and addresses electromagnetic interference and electromagnetic compatibility issues caused by severe current waveform distortion due to capacitive loads. The power factor is the ratio of active power to apparent power (i.e., total power consumption); a higher power factor indicates higher power utilization. In DCM mode, the inductor is only in the conducting state for part of the switching cycle, and the current is intermittent, which causes the adapter to work intermittently.

[0076] Currently, for adapters that support the PD protocol and have a power greater than 75 watts (W), some products require the addition of PFC circuitry, such as adapters for tablets and laptops.

[0077] The PFC circuit in the adapter is in DCM mode, causing the adapter to operate intermittently. This results in increased power consumption and wastes electrical resources. To save energy and reduce emissions, it is necessary to limit standby power consumption.

[0078] Therefore, saving power resources is a current research hotspot when the adapter powers electronic devices through the Type-C interface.

[0079] In view of this, embodiments of this application provide an electronic device, an adapter, and a charging control method, which reduces the voltage input from the adapter to the electronic device, or stops the adapter from inputting voltage to the electronic device, to avoid intermittent operation of the adapter, thereby saving power resources.

[0080] The charging control method provided in this application embodiment can be applied to scenarios where an adapter supplies power to an electronic device via a Type-C interface, as shown in Figure 1A. In Figure 1A, the Type-C interface of the electronic device 100 is connected to a data cable 120, which is connected to an adapter 110. The adapter 110 is powered on, thereby charging the electronic device 100 via the data cable 120.

[0081] Electronic device 100 may be in standby mode, working mode, or power-off mode. The charging control method provided in this application embodiment is applicable when electronic device 100 is in standby mode or power-off mode. Electronic device 100 has multiple interfaces, such as a headphone / microphone combo jack, a High Definition Multimedia Interface (HDMI), a USB-A interface, a charging interface, etc. For example, an interface example diagram of one side of electronic device 100 is shown in Figure 1B. In Figure 1B, one side of electronic device 100 includes a storage compartment, a full-function USB-C interface, and a Thunderbolt port. TM Interfaces. The storage compartment can be used to store camera devices. The full-featured USB-C port is also a type of Type-C port, supporting not only data transfer but also video output and charging. Thunderbolt TM A Thunderbolt interface is a high-speed data transmission and multi-functional connection interface, also known as a Thunderbolt interface. It combines the transmission of data, video, audio, and power onto a single interface. TM The interface can be Thunderbolt. TM 4-port or Thunderbolt TM 5-pin interface, or higher-level Thunderbolt TMInterface. Typically, Thunderbolt TM While serving as a charging interface, a full-featured USB-C interface can also function as a charging interface in certain situations. For ease of description, in this embodiment, the Type-C interface used for charging on the electronic device is referred to as the first Type-C interface, which can be the Thunderbolt interface shown in Figure 1B. TM The interface can also be the full-featured USB-C interface shown in Figure 1B.

[0082] Adapter 110 is powered on and charges electronic device 100 via data cable 120. In one implementation, adapter 110 and data cable 120 are independent. Adapter 110 includes a Type-C interface for coupling with one end of the data cable, and the other end of the data cable is coupled to a first Type-C interface of electronic device 100. In another implementation, adapter 110 and data cable 120 are integrated, as shown in Figure 1C, which illustrates a structural example of adapter 110. In Figure 1C, adapter 110 includes a data cable (bolded portion) and a Type-C interface, which is coupled to the first Type-C interface of electronic device 100. In this embodiment, the Type-C interface coupled to the first Type-C interface of electronic device 100 is referred to as the second Type-C interface. The second Type-C interface can be the Type-C interface shown in Figure 1C or a Type-C interface of data cable 120. This embodiment uses adapter 110 including a second Type-C interface as an example.

[0083] Both the first and second Type-C interfaces support fast charging protocols, such as the PD protocol, to enable fast charging of the electronic device 100. The first Type-C interface can be a Type-C socket interface, and the second Type-C interface can be a Type-C plug interface. The pinouts of the Type-C socket and plug interfaces are shown in Figures 2(A) and (B), where (A) is a pin view of the Type-C socket interface and (B) is a pin view of the Type-C plug interface. The pinouts in Figure 2 are explained as follows:

[0084] The GND pin is used for grounding.

[0085] The TX1+ and TX1- pins represent a differential pin pair. The TX+1 pin transmits the positive signal of SuperSpeed ​​differential signal pair 1, and the TX-1 pin transmits the negative signal of SuperSpeed ​​differential signal pair 1. The TX2+ and TX2- pins represent another differential pin pair. The TX+2 pin transmits the positive signal of SuperSpeed ​​differential signal pair 2, and the TX-2 pin transmits the negative signal of SuperSpeed ​​differential signal pair 2. These two pairs of differential pins are used for high-speed data transmission.

[0086] The VBUS pin is the power supply pin, which provides power to the bus.

[0087] The CC1 and CC2 pins represent the Configuration Channel (CC) pins, used to support fast charging protocols such as the PD protocol. The CC pins are also used for device identification, cable connection and removal detection, and socket / plug orientation detection.

[0088] The SBU pin indicates a Sideband Use (SBU) pin or auxiliary signal pin, used for low-speed signal paths or standby mode communication.

[0089] The D+ and D- pins represent a pair of differential pins. The D+ pin is used to transmit the positive signal of USB 2.0 differential signal pair 1, and the D- pin is used to transmit the negative signal of USB 2.0 differential signal pair 1.

[0090] In the embodiments of this application, the VBUS pin is referred to as the VBUS terminal, the CC1 and CC2 pins are referred to as the CC terminal, and the SBU pin is referred to as the SBU terminal.

[0091] The charging control method provided in the embodiments of this application will be described in detail below.

[0092] Please refer to Figure 3, which is a flowchart illustrating a charging control method provided in an embodiment of this application. This method may include, but is not limited to:

[0093] S301, the electronic device detects whether the battery has reached a first charge level or whether the battery has stopped charging.

[0094] During the charging process of an electronic device, the device detects whether its battery level has reached a first charge threshold. The electronic device may include processing circuitry and a battery. The processing circuitry can be a circuit composed of a microcontroller unit (MCU), such as an embedded MCU (EC_MCU), also known as a low-power MCU. Optionally, the processing circuitry can also be a circuit composed of a processor, such as a central processing unit (CPU). The processing circuitry is connected to the battery.

[0095] The electronic device detects whether the battery's power processing circuit has reached a first power level or whether the battery has stopped charging. This processing circuit can acquire the battery's power level in real time and detect whether it has reached a first power level, such as 100% or 95%. For some electronic devices, 100% power indicates a fully charged battery; for some devices with damaged batteries, 95% or 90% power indicates a fully charged battery. In other words, the processing circuit detects whether the battery is fully charged. The processing circuit can also detect whether the battery is charging, for example, by analyzing the power levels acquired multiple times (say, four times). If the four consecutive power levels are the same, the processing circuit can detect that the battery has stopped charging; if the four consecutive power levels are different and show an upward trend, the processing circuit can determine that the battery is charging. Normally, the battery will stop charging when it is fully charged. Detecting whether the battery has reached a first power level and detecting whether the battery has stopped charging are both ways of detecting whether the battery is fully charged.

[0096] S302, when the battery power is detected to have reached a first power value or the battery has stopped charging, the electronic device sends a voltage reduction control signal to the adapter.

[0097] The voltage reduction control is used to control the reduction of the voltage input from the adapter to the electronic device. Controlling the voltage reduction from the adapter to the electronic device essentially means controlling the reduction of the voltage input to the VBUS terminal of the first Type-C interface, or controlling the reduction of the adapter's output voltage. The reduction of the voltage input to the VBUS terminal of the first Type-C interface can be caused by the voltage input from the adapter to the VBUS terminal of the first Type-C interface decreasing from a first voltage to a second voltage, or the adapter ceasing to input voltage to the VBUS terminal of the first Type-C interface. For example, the voltage of the power signal input from the adapter to the VBUS terminal of the first Type-C interface decreases from a first voltage to a second voltage, or the adapter ceasing to input power signal to the VBUS terminal of the first Type-C interface. Here, the first voltage is higher than the second voltage; for example, the first voltage is 10V and the second voltage is 5V; or, for example, the first voltage is 20V and the second voltage is 10V, etc.

[0098] The electronic device may further include a first charging circuit, which may be a circuit supporting a fast charging protocol, such as a circuit including a PD chip. A first terminal of the first charging circuit is connected to a first Type-C interface, for example, to the CC terminal of the first Type-C interface. A second terminal of the first charging circuit is connected to the VBUS terminal of the first Type-C interface, and the VBUS terminal of the first Type-C interface is connected to the VBUS terminal of a second Type-C interface to supply power to the first charging circuit. A third terminal of the first charging circuit is connected to a processing circuit, thereby supplying power to the processing circuit and ultimately to the electronic device.

[0099] When the processing circuit detects that the battery level has reached a first charge level or that the battery has stopped charging, it generates a voltage reduction control signal and outputs the voltage reduction control signal to the first charging circuit. Upon receiving the voltage reduction control signal, the first charging circuit outputs the voltage reduction control signal to the adapter through the CC terminal of the first Type-C interface, for example, to the CC terminal of the adapter's second Type-C interface.

[0100] For example, see the circuit structure example diagram of the electronic device shown in Figure 4A. This circuit structure includes a first Type-C interface, a first charging circuit 401, and a processing circuit 402. The first Type-C interface includes a VBUS terminal, a CC terminal, a D+ terminal, and a D- terminal. The first charging circuit includes a first terminal 4011, a second terminal 4012, and a third terminal 4013. The second terminal 4012 is connected to the CC terminal of the first Type-C interface, the first terminal 4011 is connected to the VBUS terminal of the first Type-C interface, and the third terminal 4013 is connected to the processing circuit. During the charging process of the electronic device, when the processing circuit 402 detects that the battery level has reached a first charge value or that the battery has stopped charging, it generates a voltage reduction control signal and transmits the voltage reduction control signal to the third terminal 4013. The voltage reduction control signal transmitted by the processing circuit 402 to the third terminal 4013 can be I... 2 The C control signal serves two purposes: firstly, it notifies the first charging circuit 401 that the battery is fully charged; secondly, it instructs the first charging circuit 401 to execute a voltage reduction strategy. Upon receiving the voltage reduction control signal at its third terminal 4013, the first charging circuit 401 outputs the voltage reduction control signal to the CC terminal of the first Type-C interface via its second terminal 4012. This voltage reduction control signal is then transmitted to the CC terminal of the second Type-C interface, which in turn transmits the voltage reduction control signal to the charging circuit in the adapter, i.e., the second charging circuit. Taking the PD protocol as an example, both the first charging circuit 401 and the second charging circuit support the PD protocol. The first charging circuit 401 transmits the voltage reduction control signal to the second charging circuit via the PD protocol, enabling the second charging circuit to execute the voltage reduction strategy. The first terminal 4011 is connected to the VBUS terminal of the first Type-C interface, and the VBUS terminal of the first Type-C interface is connected to the VBUS terminal of the second Type-C interface, thereby enabling the adapter to power the first charging circuit and, consequently, the electronic device.

[0101] Specifically, for the adapter, the voltage reduction strategy involves either reducing the voltage of the power signal output from the VBUS terminal of the second Type-C interface from a first voltage to a second voltage, or stopping the output of the power signal from the VBUS terminal of the second Type-C interface. For the electronic device, the voltage reduction strategy involves either reducing the voltage of the power signal input to the VBUS terminal of the first Type-C interface from a first voltage to a second voltage, or stopping the input of the power signal to the VBUS terminal of the first Type-C interface.

[0102] S303, the adapter responds to the voltage reduction control signal by reducing the output voltage.

[0103] The adapter receives a voltage reduction control signal from the electronic device via the CC pin of the second Type-C interface, and reduces the output voltage. For example, it reduces the voltage output from the VBUS pin of the second Type-C interface from a first voltage to a second voltage, or it stops the VBUS pin of the second Type-C interface from outputting voltage. It can be understood that, in response to the voltage reduction control signal, the adapter reduces the voltage of the power signal output from the VBUS pin of the second Type-C interface from a first voltage to a second voltage, or it stops the VBUS pin of the second Type-C interface from outputting the power signal.

[0104] The adapter may also include a second charging circuit, which may be a circuit supporting a fast charging protocol, such as a circuit including a PD chip. That is, the first charging circuit and the second charging circuit support the same fast charging protocol. The second charging circuit is connected to a second Type-C interface, and the CC terminal of the second Type-C interface receives a voltage reduction control signal and transmits it to the second charging circuit. In response to the voltage reduction control signal, the second charging circuit reduces its output voltage.

[0105] After the adapter reduces the output voltage, if it continues to supply power to the electronic device, the power signal provided will be called power signal 1. The voltage of power signal 1 is lower than the voltage of the initial power signal (i.e., the power signal before the voltage reduction). If it stops supplying power to the electronic device, the adapter will no longer provide a power signal to the electronic device.

[0106] For example, see the partial circuit structure example diagram of the adapter shown in Figure 4B. This circuit structure includes a second Type-C interface, a second charging circuit 501, and a charging output unit 502. The charging output unit 502 is exemplified by a field-effect transistor (FET). The charging output unit 502 includes a control terminal 5020, a second conductive terminal 5021, and a first conductive terminal 5022. The control terminal 5011 of the second charging circuit 501 is connected to the control terminal 5020 of the charging output unit 502. The signal output by the control terminal 5011 to the control terminal 5020 is used to control the charging output unit 502 to be in a conducting or cut-off state. If it is in a conducting state, the output terminal 5012 of the second charging circuit 501 can input a power signal to the VBUS terminal of the second Type-C interface; if it is in a cut-off state, the output terminal 5012 of the second charging circuit 501 stops inputting a power signal to the VBUS terminal of the second Type-C interface. The output terminal 5012 of the second charging circuit 501 is connected to the second conductive terminal 5021 of the charging output unit 502, and the first conductive terminal 5022 of the charging output unit 502 is connected to the VBUS terminal of the second Type-C interface. The CC terminal of the second Type-C interface receives a voltage reduction control signal from the electronic device and transmits the voltage reduction control signal to the second charging circuit 501. When the second charging circuit 501 receives the voltage reduction control signal, it reduces the voltage of the power signal output by the output terminal 5012 from the first voltage to the second voltage (therefore, the voltage of the power signal output by the first conductive terminal 5022 of the charging output unit 502 decreases, thereby reducing the voltage of the power signal output by the VBUS terminal of the second Type-C interface), or controls the output terminal 5012 to stop outputting the power signal (therefore, the first conductive terminal 5022 of the charging output unit 502 stops outputting the power signal, thereby stopping the VBUS terminal of the second Type-C interface from outputting the power signal).

[0107] Before step S303, the charging output unit 502 in FIG4B is in the on state so as to output the power signal to the electronic device through the second Type-C interface.

[0108] S304, the electronic device detects whether the battery level is lower than the second charge level.

[0109] After the adapter reduces the voltage output from the VBUS terminal of the second Type-C interface, the electronic device still consumes power even in standby or power-off mode. Therefore, the electronic device continuously monitors the battery level and checks if it falls below a second charge threshold. This second charge threshold can be understood as a recharge threshold, such as 90% or 85%. The adapter can continue charging the electronic device even when the battery level is below this second threshold. The second charge threshold is less than the first charge threshold.

[0110] The processing circuit can continuously monitor the battery's charge level and detect whether the battery's charge level is lower than a second charge level value.

[0111] S305, when the battery level is detected to be lower than the second level, the electronic device sends a voltage increase control signal to the adapter.

[0112] The voltage rise control signal controls the increase in the voltage input from the adapter to the electronic device. Controlling this voltage increase essentially means controlling the increase in the voltage input to the VBUS terminal of the first Type-C interface. This voltage increase can occur by raising the voltage input from a second voltage to a third voltage, or by inputting a fourth voltage. For example, the power signal voltage input from the adapter to the VBUS terminal of the first Type-C interface can rise from a second voltage to a third voltage, or the adapter can input a power signal with a fourth voltage. The third voltage is higher than the second voltage; for example, if the second voltage is 5V, the third voltage may be 8V or 10V. The third voltage may be the same as or different from the first voltage. If the third voltage is lower than the second voltage, slow charging can be achieved. The fourth voltage may be the same as or different from the initial charging voltage, which is the initial power signal voltage.

[0113] For an adapter to step down from a first voltage to a second voltage during buck conversion, it can step up from the second voltage to a third voltage during boost conversion. For an adapter to stop outputting a power signal during buck conversion, it can output a power signal at a fourth voltage during boost conversion.

[0114] When the processing circuit detects that the battery level has dropped to a second level, it generates a voltage rise control signal and outputs it to the first charging circuit. Upon receiving the voltage rise control signal, the first charging circuit outputs the voltage rise control signal to the adapter via the CC terminal of the first Type-C interface, for example, to the CC terminal of the adapter's second Type-C interface.

[0115] For example, based on the circuit structure shown in Figure 4A, when the processing circuit 402 detects that the battery level has dropped to a second level, it generates a voltage rise control signal and transmits the voltage rise control signal to the third terminal 4013. The voltage rise control signal transmitted by the processing circuit 402 to the third terminal 4013 can be I... 2The first charging circuit 401 receives a voltage boost control signal (C-C) and instructs it to activate the charging chip (e.g., a PD chip) and execute a voltage boost strategy. Upon receiving the voltage boost control signal, the third terminal 4013 of the first charging circuit 401 outputs the voltage boost control signal to the CC terminal of the first Type-C interface via its second terminal 4012. This signal is then transmitted to the CC terminal of the second Type-C interface, which in turn transmits the voltage boost control signal to the second charging circuit. Taking the PD protocol as an example, both the first and second charging circuits support the PD protocol. The first charging circuit 401 transmits the voltage boost control signal to the second charging circuit via the PD protocol, enabling the second charging circuit to execute the voltage boost strategy.

[0116] Specifically, for the adapter, the voltage boosting strategy means that the voltage of the power signal output from the VBUS terminal of the second Type-C interface increases from the second voltage to the third voltage, or the voltage of the power signal output from the VBUS terminal of the second Type-C interface becomes the fourth voltage. For the electronic device, the voltage boosting strategy means that the voltage of the power signal input to the VBUS terminal of the first Type-C interface increases from the second voltage to the third voltage, or the voltage of the power signal input to the VBUS terminal of the first Type-C interface becomes the fourth voltage.

[0117] S306, the adapter increases the output voltage in response to the voltage increase control signal.

[0118] The adapter receives a voltage boost control signal from the electronic device via the CC pin of the second Type-C interface, and boosts the output voltage of the VBUS pin of the second Type-C interface, for example, boosting the output voltage of the VBUS pin of the second Type-C interface from a second voltage to a third voltage, or controlling the VBUS pin of the second Type-C interface to output a fourth voltage. It can be understood that, in response to the voltage boost control signal, the adapter boosts the voltage of the power signal output from the VBUS pin of the second Type-C interface from a second voltage to a third voltage, or controls the VBUS pin of the second Type-C interface to output a fourth voltage power signal.

[0119] The CC pin of the second Type-C interface receives the voltage rise control signal and transmits it to the second charging circuit. The second charging circuit, in response to the voltage rise control signal, increases the output voltage.

[0120] For example, based on the circuit structure shown in Figure 4B, the CC terminal of the second Type-C interface receives a voltage rise control signal from the electronic device and transmits the voltage rise control signal to the second charging circuit 501. Upon receiving the voltage rise control signal, the second charging circuit 501 raises the voltage of the power signal output from the output terminal 5012 from the second voltage to the third voltage (therefore, the voltage of the power signal output from the first conductive terminal 5022 of the charging output unit 502 rises, thereby raising the voltage of the power signal output from the VBUS terminal of the second Type-C interface), or controls the output terminal 5012 to output a fourth voltage power signal (therefore, the first conductive terminal 5022 of the charging output unit 502 outputs a fourth voltage power signal, thereby raising the voltage of the fourth voltage power signal output from the VBUS terminal of the second Type-C interface).

[0121] After the adapter increases the output voltage, the power signal it provides to the electronic device is called power signal 2. The voltage of power signal 2 is higher than that of power signal 1.

[0122] The electronic device continuously receives the power signal 2, which may cause the battery to reach the first charge level after a period of time, so the electronic device can execute step S301 again.

[0123] In the embodiment shown in Figure 3, when the battery of the electronic device is fully charged, the adapter is controlled to reduce the output voltage by a voltage reduction control signal. When the battery charge drops to the recharge threshold, the adapter is controlled to increase the output voltage by a voltage increase control signal. This allows for flexible and dynamic adjustment of the charging strategy, which helps to save power resources.

[0124] In Figure 3, the voltage decrease control signal or voltage increase control signal transmitted by the processing circuit to the first charging circuit is an I signal supporting the PD protocol. 2 The C signal can therefore be transmitted through the first charging circuit and the second charging circuit. The charging circuit is exemplified by a circuit including a PD chip (i.e., the first charging circuit is exemplified by the first PD circuit, and the second charging circuit by the second PD circuit), and the processing circuit is exemplified by the EC_MCU circuit. Example circuit structure diagrams for electronic devices and adapters can be found in Figures 4C and 4D, respectively. The PFC circuit in Figure 4D is a circuit unique to adapters for electronic devices such as tablets and laptops.

[0125] The EC_MCU circuit generates an I signal when it detects that the battery level has reached a first charge level or that the battery has stopped charging. 2The voltage reduction control signal of C is transmitted sequentially through the first PD circuit and the CC terminal of the first Type-C interface to the CC terminal of the second Type-C interface of the adapter. The CC terminal of the second Type-C interface transmits the voltage reduction control signal to the second PD circuit. The second PD circuit responds to the voltage reduction control signal and reduces the output voltage.

[0126] When the EC_MCU circuit detects that the battery level has dropped to a second level, it generates I. 2 The voltage rise control signal of C is transmitted sequentially through the first PD circuit and the CC terminal of the first Type-C interface to the CC terminal of the second Type-C interface of the adapter. The CC terminal of the second Type-C interface transmits the voltage rise control signal to the second PD circuit. The second PD circuit responds to the voltage rise control signal and increases the output voltage.

[0127] Please refer to Figure 5, which is a flowchart illustrating another charging control method provided in an embodiment of this application. This method may include, but is not limited to:

[0128] S501, the electronic device detects whether the battery level has reached a first charge level or whether the battery has stopped charging. Step S501 can be found in the detailed description of step S301 in the embodiment shown in Figure 3, and will not be repeated here.

[0129] S502, when the battery level is detected to have reached a first charge level or the battery has stopped charging, the electronic device generates a power saving control signal.

[0130] The power consumption reduction control signal is used to control the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit. When the adapter stops inputting power signals to the electronic device, the VBUS terminal of the first Type-C interface also stops inputting power signals to the first charging circuit. The adapter stopping inputting power signals to the electronic device can also be described as the adapter stopping inputting voltage to the electronic device.

[0131] The electronic device includes a first charging circuit, a processing circuit, and a first Type-C interface. The first terminal of the first charging circuit is connected to the CC terminal of the first Type-C interface, the second terminal is connected to the VBUS terminal of the first Type-C interface, and the third terminal is connected to the processing circuit. The processing circuit includes a GPIO interface. During the charging process, when the processing circuit detects that the battery level has reached a first charge level or that charging has stopped, it generates a power-saving control signal and outputs it through the GPIO interface. This power-saving control signal differs from the voltage drop control signal and voltage rise control signal shown in Figure 3; these two signals are I... 2 C signal, while the power consumption control signal is not I.2 The C signal will not be transmitted through the first charging circuit and the second charging circuit.

[0132] S503, the electronic device controls the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit.

[0133] The electronic device can control the VBUS pin of the first Type-C interface to stop inputting power signals to the first charging circuit based on the generated power reduction control signal. Since the power reduction control signal is not transmitted through the first and second charging circuits, the circuit structure of the electronic device may be altered.

[0134] In one implementation, a power-saving control signal is used to control the VBUS terminal of the first Type-C interface to receive a first potential. This first potential is used to control the VBUS terminal of the first Type-C interface to stop inputting a power signal to the first charging circuit. The electronic device may further include a first switching unit, which is connected to a GPIO interface, a first voltage terminal, and the VBUS terminal of the first Type-C interface. The first voltage terminal is used to provide the first potential and is grounded. The processing circuit transmits the power-saving control signal to the first switching unit through the GPIO interface. Upon receiving the power-saving control signal, the first switching unit controls the VBUS terminal of the first Type-C interface to be electrically connected to the first voltage terminal, i.e., controls the VBUS terminal of the first Type-C interface to be grounded. Specifically, the control terminal of the first switching unit is connected to the GPIO interface, the first conductive terminal of the first switching unit is connected to the first voltage terminal, and the second conductive terminal of the first switching unit is connected to the VBUS terminal of the first Type-C interface. When the control terminal of the first switching unit receives a power-saving control signal from the GPIO interface, it controls the second conductive terminal of the first switching unit to be electrically connected to the first conductive terminal of the first switching unit. This connects the VBUS terminal of the first Type-C interface to the first voltage terminal, grounding the VBUS terminal of the first Type-C interface. Consequently, the VBUS terminal of the first Type-C interface stops inputting power signals to the first charging circuit, and the adapter no longer inputs voltage to the VBUS terminal of the first Type-C interface. The electrical connection between the second conductive terminal and the first conductive terminal of the first switching unit means that the first switching unit is in the ON state. The power-saving control signal can be a high-level signal to control the first switching unit to be in the ON state.

[0135] In this implementation, an example circuit structure of the electronic device can be seen in Figure 6A. This circuit structure includes a first Type-C interface, a first charging circuit 401, a processing circuit 402, and a first switching unit 403. The processing circuit 402 includes a GPIO interface 4021. The control terminal 4030 of the first switching unit is connected to the GPIO interface 4021, the second conductive terminal 4031 of the first switching unit is connected to the VBUS terminal of the first Type-C interface, and the first conductive terminal 4032 of the first switching unit is connected to GND. When the control terminal 4030 of the first switching unit receives a power reduction control signal from the GPIO interface 4021, it controls the circuit between the second conductive terminal 4031 and the first conductive terminal 4032 to be electrically connected, that is, the VBUS terminal of the first Type-C interface is electrically connected to GND, making the VBUS terminal of the first Type-C interface grounded. Therefore, the VBUS terminal of the first Type-C interface stops inputting power signals to the first charging circuit, and the adapter no longer inputs voltage to the VBUS terminal of the first Type-C interface.

[0136] Taking a MOSFET as the first switching unit as an example, the circuit structure of the electronic device in this implementation is shown in Figure 6B. Figure 6B adds a MOSFET compared to Figure 4C; this MOSFET is a P-type MOSFET. The GPIO interface of the EC_MCU circuit is connected to the control terminal (G terminal) of this MOSFET. The first conductive terminal (S terminal) of this MOSFET is grounded, and the second conductive terminal (D terminal) of this MOSFET is connected to the VBUS terminal of the first Type-C interface. When this MOSFET is turned on, the VBUS terminal of the first Type-C interface is grounded, thus causing the adapter to short-circuit and malfunction.

[0137] In another implementation, a power-saving control signal is used to control the CC terminal of the first Type-C interface to receive a second potential. This second potential is used to control the VBUS terminal of the first Type-C interface to stop inputting a power signal to the first charging circuit. The electronic device may also include a second switching unit connected to a GPIO interface, a second voltage terminal, and the CC terminal of the first Type-C interface. The second voltage terminal provides the second potential and is a high-voltage terminal, for example, providing 3.3V. The processing circuit transmits the power-saving control signal to the second switching unit via the GPIO interface. Upon receiving the power-saving control signal, the second switching unit controls the CC terminal of the first Type-C interface to be electrically connected to the second voltage terminal, i.e., controls the CC terminal of the first Type-C interface to connect to the high-voltage terminal. The control terminal of the second switching unit is connected to the GPIO interface, the first conductive terminal of the second switching unit is connected to the second voltage terminal, and the second conductive terminal of the second switching unit is connected to the CC terminal of the first Type-C interface. When the control terminal of the second switching unit receives a power-saving control signal from the GPIO interface, it controls the second conductive terminal of the second switching unit to be electrically connected to the first conductive terminal of the second switching unit. This makes the CC terminal of the first Type-C interface electrically connected to the second voltage terminal. For example, if the CC terminal of the first Type-C interface is connected to 3.3V, the CC terminal of the second Type-C interface will also be connected to 3.3V. This causes the charging output unit 502 in Figure 4B to be turned off, thereby stopping the adapter from inputting voltage to the VBUS terminal of the first Type-C interface, and consequently stopping the VBUS terminal of the first Type-C interface from inputting voltage to the first charging circuit. The second conductive terminal of the second switching unit is electrically connected to the first conductive terminal of the second switching unit, meaning the second switching unit is in the on state. The power-saving control signal can be a high-level signal to control the second switching unit to be in the on state.

[0138] In this implementation, an example circuit structure of the electronic device can be seen in Figure 6C. This circuit structure includes a first Type-C interface, a first charging circuit 401, a processing circuit 402, a second switching unit 404, and a second voltage terminal. The processing circuit 402 includes a GPIO interface 4021. The control terminal 4040 of the second switching unit is connected to the GPIO interface 4021, the second conductive terminal 4041 of the second switching unit is connected to the CC terminal of the first Type-C interface, and the first conductive terminal 4042 of the second switching unit is connected to the second voltage terminal. When the control terminal 4040 of the second switching unit receives the power reduction control signal from the GPIO interface 4021, it controls the circuit between the second conductive terminal 4041 and the first conductive terminal 4042 to be electrically connected, that is, the CC terminal of the first Type-C interface is electrically connected to the second voltage terminal, so that the CC terminal of the first Type-C interface receives a high voltage signal, thereby turning off the charging output unit 502 in FIG4B, so that the adapter stops inputting voltage to the VBUS terminal of the first Type-C interface, and thus the VBUS terminal of the first Type-C interface stops inputting voltage to the first charging circuit.

[0139] Taking a MOSFET as the second switching unit as an example, the circuit structure of the electronic device in this implementation is shown in Figure 6D. Figure 6D adds a MOSFET and a 3.3V voltage terminal compared to Figure 4C. This MOSFET is a P-type MOSFET. The GPIO interface of the EC_MCU circuit is connected to the control terminal (G terminal) of this MOSFET. The first conductive terminal (S terminal) of this MOSFET is connected to the 3.3V voltage terminal, and the second conductive terminal (D terminal) of this MOSFET is connected to the CC terminal of the first Type-C interface. When the MOSFET is turned on, the CC terminal of the first Type-C interface is connected to the 3.3V voltage terminal, causing the CC terminal of the second Type-C interface to be connected to 3.3V. This, in turn, turns off the charging output unit 502 in Figure 4B, thus stopping the adapter from inputting voltage to the VBUS terminal of the first Type-C interface.

[0140] It should be noted that in the embodiment shown in Figure 5, the circuit structure of the adapter can be found in the circuit structure shown in Figure 4B or Figure 4D.

[0141] S504, the electronic device detects whether the battery level is lower than the second charge level.

[0142] S505: When the battery level is detected to be lower than the second charge level, the electronic device sends a voltage increase control signal to the adapter.

[0143] S506, the adapter increases the output voltage in response to the voltage increase control signal.

[0144] Steps S504 to S506 can be found in the detailed description of steps S304 to S306 in the embodiment shown in Figure 3, and will not be repeated here. However, in Figure 5, the voltage rise control signal is used to control the power signal of the adapter outputting the fourth voltage.

[0145] Optionally, if the battery level is detected to be lower than a second level, the electronic device also generates a recovery control signal to control the adapter to restore the input voltage to the VBUS terminal of the first Type-C interface. The recovery control signal is used to control the VBUS terminal of the first Type-C interface to input a power signal to the first charging circuit. For example, based on the circuit structure shown in Figure 6A, the processing circuit 402 also generates a recovery control signal, i.e., a low-level signal, to control the first switching unit 403 to be in the off state, so that the adapter can supply power to the electronic device. As another example, based on the circuit structure shown in Figure 6C, the processing circuit 402 also generates a recovery control signal, i.e., a low-level signal, to control the second switching unit 404 to be in the off state, so that the adapter can supply power to the electronic device.

[0146] In the embodiment shown in Figure 5, by changing the circuit structure of the electronic device, the charging strategy can be adjusted flexibly and dynamically, thereby helping to save power resources.

[0147] Please refer to Figure 7, which is a flowchart illustrating another charging control method provided in an embodiment of this application. This method may include, but is not limited to:

[0148] S701, the electronic device detects whether the battery level has reached a first charge level or whether the battery has stopped charging. Step S701 can be found in the detailed description of step S301 in the embodiment shown in Figure 3, and will not be repeated here.

[0149] S702: When the battery level is detected to have reached a first charge level or the battery has stopped charging, the electronic device sends a power reduction control signal to the adapter.

[0150] Specifically, for the electronic device, the power saving control signal is used to control the VBUS terminal of the first Type-C interface to stop receiving power signals, so that the VBUS terminal of the first Type-C interface stops inputting power signals to the first charging circuit. For the adapter, the power saving control signal is used to control the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface, so that the VBUS terminal of the second Type-C interface stops inputting power signals to the VBUS terminal of the first Type-C interface, that is, the adapter stops inputting power signals to the electronic device.

[0151] The electronic device includes a first charging circuit, a processing circuit, and a first Type-C interface. The first terminal of the first charging circuit is connected to the CC terminal of the first Type-C interface, the second terminal is connected to the VBUS terminal of the first Type-C interface, and the third terminal is connected to the processing circuit. The processing circuit includes a GPIO interface. When the processing circuit detects that the battery level has reached a first charge level or that the battery has stopped charging, it generates a power-saving control signal and outputs this signal to the adapter via the GPIO interface. The GPIO interface is connected to the SUB terminal of the first Type-C interface, which is used to connect to the SUB terminal of the adapter's second Type-C interface. In other words, the processing circuit outputs the power-saving control signal to the SUB terminal of the first Type-C interface via the GPIO interface, and the SUB terminal of the first Type-C interface, upon receiving the power-saving control signal, transmits it to the SUB terminal of the second Type-C interface. The power-saving control signal is different from the voltage drop control signal and voltage rise control signal shown in Figure 3; these two signals are I... 2 C signal, while the power consumption control signal is not I. 2 The C signal will not be transmitted through the first charging circuit and the second charging circuit.

[0152] S703, the adapter controls the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface.

[0153] Upon receiving the power derating control signal, the adapter controls the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface. Since the power derating control signal is not transmitted through the first and second charging circuits, the circuit structure of the electronic device and the adapter may be altered. The circuit structure of the electronic device is shown in Figure 8C. The GPIO interface 4021 of the processing circuit 402 is connected to the SUB terminal of the first Type-C interface. The SUB terminal of the first Type-C interface is used to connect to the SUB terminal of the adapter's second Type-C interface, enabling the electronic device to transmit the power derating control signal to the adapter.

[0154] The adapter includes a second charging circuit, a charging output unit, and a second Type-C interface. The output of the second charging circuit is connected to the charging output unit, which is connected to the VBUS terminal of the second Type-C interface. The SUB terminal of the second Type-C interface is used to connect to the SUB terminal of the first Type-C interface of the electronic device. When the adapter supplies power to the electronic device, and the battery level of the electronic device reaches a first charge level or the battery of the electronic device stops charging, the SUB terminal of the second Type-C interface receives a power reduction control signal from the SUB terminal of the first Type-C interface to control the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface.

[0155] In one implementation, the adapter may further include a third switching unit connected to the charging output unit, a third voltage terminal, and the SUB terminal of the second Type-C interface. The charging output unit refers to the charging output unit 502 in Figure 4B. The third voltage terminal provides a third potential, which controls the charging output unit to stop inputting a power signal to the VBUS terminal of the second Type-C interface. The third voltage terminal is also a ground terminal. The third switching unit receives a power-saving control signal from the SUB terminal of the second Type-C interface to control the charging output unit to conduct with the third voltage terminal, thereby transmitting the third potential to the charging output unit. The control terminal of the third switching unit is connected to the SUB terminal of the second Type-C interface, the first conductive terminal of the third switching unit is connected to the third voltage terminal, and the second conductive terminal of the third switching unit is connected to the charging output unit. When the control terminal of the third switching unit receives the power-saving control signal from the SUB terminal of the second Type-C interface, the second conductive terminal of the third switching unit is electrically connected to the first conductive terminal of the third switching unit, so that the charging output unit is electrically connected to the third voltage terminal, i.e., the charging output unit is electrically connected to the ground terminal.

[0156] The control terminal of the charging output unit is connected to the second conductive terminal of the third switching unit, the first conductive terminal of the charging output unit is connected to the output terminal of the second charging circuit, and the second conductive terminal of the charging output unit is connected to the VBUS terminal of the second Type-C interface. When the charging output unit is electrically connected to the third voltage terminal and receives the third potential from the third voltage terminal (i.e., when the charging output unit is grounded), the first conductive terminal of the charging output unit is electrically disconnected from the second conductive terminal, so that the output terminal of the second charging circuit is electrically disconnected from the VBUS terminal of the second Type-C interface, thereby stopping the second charging circuit from inputting the first power signal to the VBUS terminal of the Type-C interface.

[0157] In this implementation, an example circuit structure of the adapter can be seen in Figure 8A. This circuit structure includes a second Type-C interface, a second charging circuit 501, a charging output unit 502, and a third switching unit 503. The control terminal 5030 of the third switching unit 503 is connected to the SUB terminal of the second Type-C interface, and the first conductive terminal 5032 of the third switching unit 503 is connected to a third voltage terminal, which is grounded. The second conductive terminal 5031 of the third switching unit 503 is connected to the control terminal 5020 of the charging output unit 502. When the control terminal 5030 of the third switching unit 503 receives a power-saving control signal from the electronic device, it controls the circuit between the second conductive terminal 5031 and the first conductive terminal 5032 to be electrically connected, that is, the control terminal 5020 of the charging output unit 502 is electrically connected to GND, causing the charging output unit 502 to be in a cut-off state. When the charging output unit 502 is in a cut-off state, the second charging circuit stops inputting the first power signal to the VBUS terminal of the Type-C interface. The charging output unit 502 is in the off state, that is, the second conductive terminal 5021 of the charging output unit 502 is electrically disconnected from the first conductive terminal 5022 of the charging output unit 502.

[0158] Figure 8A uses a MOSFET as an example for the third switching unit. An example circuit structure of the electronic device can be found in Figure 8C. The GPIO interface 4021 of the processing circuit 402 is connected to the SUB terminal of the first Type-C interface, transmitting the power reduction control signal to the SUB terminal of the second Type-C interface via the SUB terminal. The SUB terminal of the second Type-C interface is connected to the control terminal (G terminal) of the third switching unit. The first conductive terminal (S terminal) of the third switching unit is grounded, and the second conductive terminal (D terminal) of the third switching unit is connected to the G terminal of the charging output unit. The power reduction control signal is used to control the third switching unit to be in the ON state (i.e., the second conductive terminal of the third switching unit is electrically connected to the first conductive terminal of the third switching unit), thereby grounding the G terminal of the charging output unit and stopping the charging output unit from providing power signals to the electronic device through the VBUS terminal of the second Type-C interface.

[0159] In another implementation, the adapter may further include an over-temperature adjustment unit connected to the SUB terminal of the second Type-C interface, the second charging circuit, and a third voltage terminal, which is grounded. The over-temperature adjustment unit receives a power-saving control signal from the SUB terminal of the second Type-C interface to control its voltage change. When the voltage corresponding to the temperature of the over-temperature adjustment unit reaches a first voltage value, the over-temperature adjustment unit controls the second charging circuit to connect to the third voltage terminal, thereby stopping the second charging circuit from inputting a power signal to the charging output unit. The first terminal of the over-temperature adjustment unit is connected to the third voltage terminal, and the second terminal is connected to the second charging circuit and the SUB terminal of the second Type-C interface. When the voltage corresponding to the temperature of the over-temperature adjustment unit reaches the first voltage value, the over-temperature adjustment unit controls the second charging circuit to ground, thereby stopping the second charging circuit from inputting a power signal to the electronic device through the charging output unit. The specific value of the first voltage value is not limited in this embodiment.

[0160] In this implementation, an example circuit structure of the adapter can be seen in Figure 8B. This circuit structure includes a second Type-C interface, a second charging circuit 501, a charging output unit 502, and an over-temperature adjustment unit 504. The first terminal 5041 of the over-temperature adjustment unit 504 is grounded, and the second terminal 5042 of the over-temperature adjustment unit 504 is connected to the SUB terminal of the second charging circuit and the second Type-C interface. Upon receiving a power-saving control signal from the electronic device, the SUB terminal of the second Type-C interface transmits it to the over-temperature adjustment unit 504. Upon receiving the power-saving control signal, the over-temperature adjustment unit 504 controls its voltage change. When the voltage corresponding to the temperature of the over-temperature adjustment unit 504 reaches a first voltage value, the over-temperature adjustment unit 504 controls the second charging circuit 501 to be grounded, thereby stopping the second charging circuit 501 from inputting power signals to the electronic device through the charging output unit 502.

[0161] Figure 8B uses the over-temperature adjustment unit as an example of an over-temperature adjustment resistor. An example circuit structure diagram of the electronic device can be found in Figure 8C. The GPIO interface 4021 of the processing circuit 402 is connected to the SUB terminal of the first Type-C interface, transmitting the power reduction control signal to the SUB terminal of the second Type-C interface. The SUB terminal of the second Type-C interface is connected to the over-temperature adjustment unit 504. When the over-temperature adjustment unit 504 receives the power reduction control signal, it controls the voltage change of the over-temperature adjustment unit 504. When the voltage corresponding to the temperature reaches a first voltage value, the over-temperature adjustment unit 504 is turned off, grounding the second charging circuit 501, thereby stopping the second charging circuit 501 from supplying power to the electronic device through the charging output unit 502.

[0162] S704, the electronic device detects whether the battery level is lower than the second charge level.

[0163] S705: When the battery level is detected to be lower than a second charge level, the electronic device sends a voltage increase control signal to the adapter.

[0164] S706, the adapter increases the output voltage in response to the voltage increase control signal.

[0165] Steps S704 to S706 can be found in the detailed description of steps S304 to S306 in the embodiment shown in Figure 3, and will not be repeated here. However, in Figure 7, the voltage rise control signal is used to control the power signal of the adapter outputting the fourth voltage.

[0166] Optionally, if the battery level is detected to be lower than a second charge level, the electronic device also generates a recovery control signal and sends it to the adapter to control the adapter to restore the input voltage to the electronic device. The recovery control signal is used to control the charging output unit to restore the input power signal to the VBUS terminal of the second Type-C interface, thereby restoring the power input signal from the adapter to the electronic device. For example, based on the circuit structures shown in Figures 8A and 8C, the processing circuit 402 also generates a recovery control signal, i.e., a low-level signal, to control the third switching unit 503 to be in the off state, so that the adapter can supply power to the electronic device. As another example, based on the circuit structures shown in Figures 8B and 8C, the processing circuit 402 also generates a recovery control signal, i.e., a low-level signal, to prevent the over-temperature resistor 504 from grounding, so that the adapter can supply power to the electronic device.

[0167] In the embodiment shown in Figure 7, by changing the circuit structure of the electronic device and the adapter, the charging strategy can be adjusted flexibly and dynamically, thereby helping to save power resources.

[0168] As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the listed items. As used in the above embodiments, depending on the context, the term “when” can be interpreted as meaning “if…” or “after…” or “in response to determining…” or “in response to detecting…”. Similarly, depending on the context, the phrase “when…” or “if (the stated condition or event) is interpreted as meaning “if…” or “in response to determining…” or “when (the stated condition or event) is detected” or “in response to detecting (the stated condition or event)”.

[0169] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid-state drive), etc.

[0170] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. An electronic device, characterized in that, The electronic device includes a first charging circuit, a processing circuit, and a first Type-C interface; a first end of the first charging circuit is connected to the CC terminal of the first Type-C interface, a second end of the first charging circuit is connected to the VBUS terminal of the first Type-C interface, and a third end of the first charging circuit is connected to the processing circuit; the processing circuit includes a GPIO interface. The processing circuit is used to detect the battery level of the electronic device during the charging process, and when the battery level reaches a first value or the battery stops charging, it outputs a power reduction control signal through the GPIO interface. The power reduction control signal is used to control the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit.

2. The electronic device as claimed in claim 1, characterized in that, The power consumption reduction control signal is used to control the VBUS terminal of the first Type-C interface to receive a first potential, and the first potential is used to control the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit.

3. The electronic device as described in claim 2, characterized in that, The electronic device further includes a first switching unit, which is connected to the GPIO interface, the first voltage terminal, and the VBUS terminal of the first Type-C interface; The processing circuit is specifically used to transmit the power reduction control signal to the first switching unit through the GPIO interface; The first switching unit is used to control the VBUS terminal of the first Type-C interface to be electrically connected to the first voltage terminal when the power reduction control signal is received, and the first voltage terminal is used to provide the first potential.

4. The electronic device as claimed in claim 3, characterized in that, The control terminal of the first switching unit is connected to the GPIO interface, the first conductive terminal of the first switching unit is connected to the first voltage terminal, and the second conductive terminal of the first switching unit is connected to the VBUS terminal of the first Type-C interface. The first switching unit is specifically used to control the second conductive terminal of the first switching unit to be electrically connected to the first conductive terminal of the first switching unit when the control terminal of the first switching unit receives the power reduction control signal from the GPIO interface, so that the VBUS terminal of the first Type-C interface is electrically connected to the first voltage terminal; wherein, the first voltage terminal is a ground terminal.

5. The electronic device as claimed in claim 1, characterized in that, The power consumption reduction control signal is used to control the VBUS terminal of the first Type-C interface to stop receiving power signals.

6. The electronic device as claimed in claim 5, characterized in that, The GPIO interface is connected to the SUB terminal of the first Type-C interface, and the SUB terminal of the first Type-C interface is used to connect to the SUB terminal of the second Type-C interface of the adapter.

7. The electronic device as claimed in claim 1, characterized in that, The power consumption reduction control signal is used to control the CC terminal of the first Type-C interface to receive the second potential, and the second potential is used to control the VBUS terminal of the first Type-C interface to stop inputting power signals to the first charging circuit.

8. The electronic device as claimed in claim 7, characterized in that, The electronic device further includes a second switching unit, which is connected to the GPIO interface, the second voltage terminal, and the CC terminal of the Type-C interface; The processing circuit is specifically used to transmit the power reduction control signal to the second switching unit through the GPIO interface; The second switching unit is used to control the CC terminal of the first Type-C interface to be electrically connected to the second voltage terminal when the power reduction control signal is received, and the second voltage terminal is used to provide the second potential.

9. The electronic device as claimed in claim 8, characterized in that, The control terminal of the second switching unit is connected to the GPIO interface, the first conductive terminal of the second switching unit is connected to the second voltage terminal, and the second conductive terminal of the second switching unit is connected to the CC terminal of the first Type-C interface. The second switching unit is specifically used to control the second conductive terminal of the second switching unit to be electrically connected to the first conductive terminal of the second switching unit when the control terminal of the second switching unit receives the power reduction control signal from the GPIO interface, so as to make the CC terminal of the first Type-C interface electrically connected to the second voltage terminal; wherein, the second voltage terminal is a high voltage terminal.

10. The electronic device according to any one of claims 1-9, characterized in that, The processing circuit is further configured to, upon detecting that the battery's charge level has dropped to a second charge level, output a recovery control signal through the GPIO interface and send a voltage increase control signal to the first Type-C interface through the first charging circuit; wherein the second charge level is less than the first charge level; the recovery control signal is used to control the VBUS terminal of the first Type-C interface to resume inputting a power signal to the first charging circuit; and the voltage increase control signal is used to control the voltage increase of the power signal input to the VBUS terminal of the first Type-C interface.

11. An adapter, characterized in that, The adapter includes a second charging circuit, a charging output unit, and a second Type-C interface; the output terminal of the second charging circuit is connected to the charging output unit, the charging output unit is connected to the VBUS terminal of the second Type-C interface, and the SUB terminal of the second Type-C interface is used to connect to the SUB terminal of the first Type-C interface of the electronic device. When the adapter supplies power to the electronic device, and the battery level of the electronic device reaches a first charge level or the battery of the electronic device stops charging, the SUB terminal of the second Type-C interface receives a power reduction control signal from the SUB terminal of the first Type-C interface; the power reduction control signal is used to control the charging output unit to stop inputting a power signal to the VBUS terminal of the second Type-C interface.

12. The adapter as claimed in claim 11, characterized in that, The adapter also includes a third switch unit, which is connected to the charging output unit, the third voltage terminal, and the SUB terminal of the second Type-C interface; The third switching unit is used to receive the power reduction control signal from the SUB terminal of the second Type-C interface to control the charging output unit to be electrically connected to the third voltage terminal; wherein, the third voltage terminal is used to provide the third potential, and the third potential is used to control the charging output unit to stop inputting power signals to the VBUS terminal of the second Type-C interface.

13. The adapter as claimed in claim 12, characterized in that, The control terminal of the third switch unit is connected to the SUB terminal of the second Type-C interface, the first conductive terminal of the third switch unit is connected to the third voltage terminal, and the second conductive terminal of the third switch unit is connected to the charging output unit. The third switching unit is specifically used to control the second conductive terminal of the third switching unit to be electrically connected to the first conductive terminal of the third switching unit when the control terminal of the third switching unit receives the power reduction control signal from the SUB terminal of the second Type-C interface, so that the charging output unit is electrically connected to the third voltage terminal; wherein, the third voltage terminal is a ground terminal.

14. The adapter as claimed in claim 13, characterized in that, The control terminal of the charging output unit is connected to the second conductive terminal of the third switch unit, the first conductive terminal of the charging output unit is connected to the output terminal of the second charging circuit, and the second conductive terminal of the charging output unit is connected to the VBUS terminal of the second Type-C interface. The charging output unit is configured to, when electrically connected to the third voltage terminal and receiving the third potential from the third voltage terminal, control the first conductive terminal of the charging output unit to be electrically disconnected from the second conductive terminal of the charging output unit, so that the output terminal of the second charging circuit is electrically disconnected from the VBUS terminal of the second Type-C interface.

15. The adapter as claimed in claim 11, characterized in that, The adapter also includes an over-temperature adjustment unit, which is connected to the SUB terminal of the second Type-C interface, the second charging circuit, and the third voltage terminal; The over-temperature adjustment unit is used to receive the power reduction control signal from the SUB terminal of the second Type-C interface to control the voltage change of the over-temperature adjustment unit; The over-temperature adjustment unit is further configured to control the second charging circuit to stop inputting a power signal to the charging output unit when the voltage corresponding to the temperature of the over-temperature adjustment unit reaches a first voltage value.

16. The adapter as claimed in claim 15, characterized in that, The first end of the over-temperature adjustment unit is connected to the third voltage terminal, and the second end of the over-temperature adjustment unit is connected to the second charging circuit and the SUB terminal of the second Type-C interface; The over-temperature adjustment unit is specifically used to control the second charging circuit to connect to the third voltage terminal when the voltage corresponding to the temperature of the over-temperature adjustment unit reaches the first voltage value; wherein, the third voltage terminal is a ground terminal.

17. The adapter as claimed in any one of claims 11-16, characterized in that, When the battery power of the electronic device drops to a second power level, the SUB terminal of the second Type-C interface receives a recovery control signal from the SUB terminal of the first Type-C interface; the CC terminal of the second Type-C interface receives a voltage increase control signal from the CC terminal of the first Type-C interface. The recovery control signal is used to control the charging output unit to resume inputting a power signal to the VBUS terminal of the second Type-C interface; the voltage increase control signal is used to increase the voltage of the power signal input to the VBUS terminal of the second Type-C interface.

18. A charging control method, characterized in that, The method is applied to an electronic device including a first Type-C interface, wherein the first Type-C interface is connected to an adapter, and the method includes: The device detects the battery level of the electronic device during the charging process, and sends a voltage reduction control signal to the adapter when the battery level reaches a first level or the battery stops charging. The voltage reduction control signal is used to control the voltage input by the adapter to the VBUS terminal of the first Type-C interface to be reduced. If the battery level is detected to have dropped to a second level, a voltage increase control signal is sent to the adapter. The voltage increase control signal is used to control the voltage input by the adapter to the VBUS terminal of the first Type-C interface to increase. Wherein, the first power value is greater than the second power value.

19. The method as described in claim 18, characterized in that, The voltage reduction input by the adapter to the VBUS terminal of the first Type-C interface includes the voltage input by the adapter to the VBUS terminal of the first Type-C interface decreasing from a first voltage to a second voltage, or the adapter stopping inputting voltage to the VBUS terminal of the first Type-C interface; The voltage increase input by the adapter to the VBUS terminal of the first Type-C interface includes the voltage input by the adapter to the VBUS terminal of the first Type-C interface increasing from the second voltage to the third voltage, or the adapter inputting a fourth voltage to the VBUS terminal of the first Type-C interface.

20. The method as described in claim 18 or 19, characterized in that, The electronic device further includes a first charging circuit and a processing circuit; The step of sending a voltage increase control signal to the adapter when the battery level is detected to have dropped to a second level includes: The processing circuit is connected to the battery and detects the battery's charge level; When the processing circuit detects that the battery's charge level has dropped to a second charge level, the processing circuit generates a voltage increase control signal and outputs the voltage increase control signal to the first charging circuit. The first charging circuit outputs the voltage rise control signal to the adapter through the CC terminal of the first Type-C interface.

21. A charging control method, characterized in that, The method is applied to an adapter including a second Type-C interface, the second Type-C interface being connected to an electronic device, and the method includes: When the adapter powers the electronic device and the battery of the electronic device reaches a first charge level or the battery of the electronic device stops charging, the voltage output of the VBUS terminal of the second Type-C interface is controlled to decrease in response to a voltage reduction control signal from the electronic device. When the battery power of the electronic device drops to a second power level, in response to a voltage increase control signal from the electronic device, the voltage output from the VBUS terminal of the second Type-C interface is increased. Wherein, the first power value is greater than the second power value.

22. The method as described in claim 21, characterized in that, The adapter also includes a second charging circuit; The step of controlling the voltage reduction output from the VBUS terminal of the second Type-C interface in response to a voltage reduction control signal from the electronic device includes: The CC terminal of the second Type-C interface receives a voltage reduction control signal from the electronic device and transmits the voltage reduction control signal to the second charging circuit; In response to the voltage reduction control signal, the second charging circuit reduces the voltage output from the VBUS terminal of the second Type-C interface from the first voltage to the second voltage, or stops outputting voltage from the VBUS terminal of the second Type-C interface.

23. The method as described in claim 22, characterized in that, The step of controlling the voltage increase output from the VBUS terminal of the second Type-C interface in response to a voltage increase control signal from the electronic device includes: The CC terminal of the second Type-C interface receives a voltage rise control signal from the electronic device and transmits the voltage rise control signal to the second charging circuit; In response to the voltage increase control signal, the second charging circuit reduces the voltage output from the VBUS terminal of the second Type-C interface from the second voltage to the third voltage, or controls the VBUS terminal of the second Type-C interface to output a fourth voltage.

24. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, they cause the method of any one of claims 18-20 to be performed, or the method of any one of claims 21-23 to be performed.