Charging method and electronic equipment
By heating the battery in a low-temperature environment and switching the charging path, the problems of slow charging speed and uneven temperature in low-temperature environments are solved, achieving faster charging efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-24
- Publication Date
- 2026-05-01
AI Technical Summary
In low-temperature environments, battery charging is slow, and uneven battery temperature leads to low charging efficiency.
By heating the battery in a low-temperature environment and switching the charging path between the main board and the sub-board to uniformly heat the battery temperature, multiple charging strategies are adopted to dynamically adjust the charging strategy according to temperature changes.
It improves battery charging speed, ensures battery temperature uniformity, and shortens charging time.
Smart Images

Figure CN121964900A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging, and more particularly to a charging method and an electronic device. Background Technology
[0002] In low-temperature environments, the battery's activity decreases, the internal chemical reaction rate slows down, and the battery resistance increases. In order to maintain the performance of electronic devices, the charging current of the battery needs to be limited at low temperatures; therefore, the charging speed of batteries is slow in low-temperature environments. Summary of the Invention
[0003] This application discloses a charging method and electronic device that can improve battery charging speed.
[0004] In a first aspect, this application provides a charging method and an electronic device. The method is applied to an electronic device and includes: at a first moment, the electronic device acquires a first battery temperature and heats the battery based on the first battery temperature; the first battery temperature is less than a first temperature threshold; if the first battery temperature is greater than or equal to a second temperature threshold, the electronic device initiates a first charging strategy to charge the battery; the second temperature threshold is less than the first temperature threshold; at a second moment, the electronic device acquires a second battery temperature and initiates a second charging strategy to charge the battery; the second battery temperature is greater than the first temperature threshold, the maximum charging current of the second charging strategy is greater than the maximum charging current of the first charging strategy, and the second moment occurs after the first moment.
[0005] In this embodiment, under the condition of the first battery temperature, the highest charging current corresponding to the first charging strategy has not yet reached the highest charging current of the highest charging strategy. Therefore, the battery charging speed will be relatively slow. The electronic device can immediately start heating the battery when the temperature is below the first temperature threshold to ensure that the battery temperature rises rapidly, thereby quickly entering the temperature range of the second charging strategy and entering the fast charging stage earlier to accelerate the battery charging speed.
[0006] In one possible implementation, the electronic device includes a main board and a sub-board, which are located at opposite ends of the battery. The electronic device charges the battery through the main board and / or the sub-board. After the first charging strategy is initiated and before the second time point, the method further includes: the electronic device acquiring a first temperature of the main board and a second temperature of the sub-board; if the temperature difference between the first temperature and the second temperature is greater than a threshold temperature difference, the electronic device charges through the auxiliary circuit of the sub-board; if the temperature difference is less than or equal to the threshold temperature difference, the electronic device charges through the main circuit of the main board. Thus, during the charging process, because the main board and sub-board are located at opposite ends of the battery, the battery heats up unevenly when charging at one end, with the temperature higher near the heat source and lower away from the heat source. Therefore, the temperature rise is uneven and the acceleration is slow. Under certain temperature difference conditions, the aforementioned electronic device can select the end with the lower heating temperature for heating. In this way, the low-temperature part can be heated quickly (under the same heat in the same area, the rate of rise of the low temperature is higher than that of the high temperature), thereby effectively increasing the battery temperature. This allows the device to quickly enter the temperature range of the second charging strategy and enter the fast charging stage earlier, thus accelerating the battery charging speed.
[0007] The battery is approximately rectangular in shape, with three opposing sides. The main board and secondary board are located at opposite ends of one of these opposing sides. Figure 6B As shown, when the plane of the mid-frame is vertically facing the user (e.g., the user is holding the electronic device vertically, facing the user's face), the motherboard is located on the upper side of the battery; the motherboard is located on the upper side of the battery.
[0008] In one possible implementation, the electronic device further includes a mid-frame, a flexible printed circuit board (FPC), and a heat spreader; the motherboard, the sub-board, the battery, the FPC, and the heat spreader are all located on one side of the mid-frame; the FPC connects the motherboard and the sub-board; the motherboard connects to the battery; the FPC and the heat spreader are placed between the battery and the mid-frame; when the battery is charging, the motherboard and / or the sub-board conduct heat to the battery through the heat spreader and the mid-frame.
[0009] Among them, combined Figure 6A and Figure 6B As shown, the battery has a main board and a sub-board on its upper and lower sides, respectively.
[0010] In one possible implementation, after the electronic device is charged via the main circuit of the motherboard, the method further includes: after the electronic device has been charging via the main circuit for a first duration, it re-acquires a first battery temperature; if the first battery temperature is greater than or equal to a second temperature threshold, the electronic device re-acquires the first temperature of the motherboard and the second temperature of the secondary board; if the temperature difference between the re-acquired first temperature and the re-acquired second temperature is greater than the threshold temperature difference, the electronic device switches from the main circuit charging to the auxiliary circuit charging; if the temperature difference between the re-acquired first temperature and the re-acquired second temperature is less than or equal to the threshold temperature difference, the electronic device maintains the main circuit charging. Thus, during main circuit charging, the electronic device can continue to monitor the battery temperatures of the motherboard and the secondary board, switching to the auxiliary circuit charging when the temperature difference between the motherboard and the secondary board is large, and maintaining the main circuit charging when the temperature difference between the motherboard and the secondary board is small. This allows for timely adjustment of the heat source location, ensuring rapid battery heating and entry into a faster charging phase, thereby increasing the charging speed.
[0011] In one possible implementation, after the electronic device is charged via the auxiliary circuit of the sub-board, the method further includes: after the electronic device has been charging via the auxiliary circuit for a first duration, it re-acquires a first battery temperature; if the first battery temperature is greater than or equal to a second temperature threshold, the electronic device re-acquires a first temperature of the main board and a second temperature of the sub-board; if the temperature difference between the re-acquired first temperature and the re-acquired second temperature is greater than the threshold temperature difference, the electronic device continues charging via the auxiliary circuit; if the temperature difference between the re-acquired first temperature and the re-acquired second temperature is less than or equal to the threshold temperature difference, the electronic device switches from charging via the auxiliary circuit to charging via the main circuit. Thus, during auxiliary circuit charging, the electronic device can continue to monitor the battery temperatures of the main board and the sub-board, maintaining auxiliary circuit charging when the temperature difference between the main board and the sub-board is large, and switching to main circuit charging when the temperature difference between the main board and the sub-board is small. This allows for timely adjustment of the heat source location, ensuring rapid battery heating and entry into a faster charging phase, thereby increasing the charging speed.
[0012] In one possible implementation, after the electronic device acquires the first temperature of the motherboard and the second temperature of the sub-board, the method further includes: the electronic device determining whether the temperature difference between the first temperature and the second temperature is greater than a threshold temperature difference. This allows the electronic device to determine whether the heat source location needs adjustment, ensuring timely adjustment and thereby improving the battery's heating rate.
[0013] In one possible implementation, the electronic device stores a first mapping relationship, which is a mapping relationship between multiple charging temperature ranges and multiple charging strategies. Before the electronic device activates the first charging strategy, the method further includes: when the first battery temperature is within a first charging temperature range in the first mapping relationship, determining the charging strategy corresponding to the first charging temperature range in the first mapping relationship as the first charging strategy. In this way, faced with multiple charging strategies used by the electronic device, the electronic device can select the charging strategy corresponding to the accurate temperature range, ensuring that the fastest charging strategy is currently used, and adjusting based on temperature in real time, thus ensuring battery charging safety while improving charging speed.
[0014] In one possible implementation, if the first battery temperature is lower than the second temperature threshold, the heating of the battery based on the first battery temperature includes: after heating the battery based on the first battery temperature for a first heating time, the electronic device re-acquires the first battery temperature; the electronic device determines whether the re-acquired first battery temperature is greater than or equal to the second temperature threshold; if the re-acquired first battery temperature is less than the second temperature threshold, the step of heating the battery based on the first battery temperature for the first heating time continues; if the re-acquired first battery temperature is greater than or equal to the second temperature threshold, the step of initiating the first charging strategy to charge the battery is executed. In this way, when the battery temperature is lower than the second temperature threshold, the electronic device can heat the battery without charging, and after heating for a period of time determine whether it can enter a rechargeable range; if heating does not continue, and if it enters a charging range, charging begins. This ensures that the battery heats up quickly while charging begins as early as possible, improving the battery charging speed.
[0015] In one possible implementation, after the electronic device acquires the second battery temperature at a second moment, the method further includes: if the electronic device initiates a heating process, the electronic device stops heating the battery. In this way, once the battery temperature has entered the temperature range of the fastest charging strategy, the electronic device can stop heating the battery, freeing up processing resources and ensuring a better user experience.
[0016] In a second aspect, this application provides an electronic device comprising one or more processors and one or more memories; the one or more processors are coupled to the one or more memories, the one or more memories being used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the charging method described in any possible implementation of the first aspect above.
[0017] Thirdly, embodiments of this application provide a power chip, the chip including the charging method described in any possible implementation of the first aspect above.
[0018] Fourthly, embodiments of this application provide a power management system, which includes the charging method described in any possible implementation of the first aspect above.
[0019] Fifthly, embodiments of this application provide a chip system that includes the charging method described in any possible implementation of the first aspect above.
[0020] Sixthly, a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the charging method as described in any of the possible implementations of the first aspect above.
[0021] In a seventh aspect, the computer program product includes computer program code that, when executed, causes the charging method described in any possible implementation of the first aspect to be performed.
[0022] Eighthly, this application provides an electronic device that includes the charging method described in any possible implementation of the first aspect above. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application;
[0024] Figure 2 This is a charging current and battery capacity curve provided in an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0026] Figure 4A This is a temperature simulation diagram of a single-sided heated battery provided in an embodiment of this application;
[0027] Figure 4B This is a schematic diagram of the simulation results of the temperature of the back, heating surface and center surface of a battery provided in an embodiment of this application;
[0028] Figure 5 This is a graph showing the maximum and minimum heating temperatures on one side of a battery, provided in an embodiment of this application.
[0029] Figure 6A and Figure 6B This is a schematic diagram of the hardware structure of a set of electronic devices provided in an embodiment of this application;
[0030] Figure 7 This is a flowchart of a charging method provided in an embodiment of this application;
[0031] Figure 8 This is a schematic diagram of a charging current and battery capacity curve provided in an embodiment of this application;
[0032] Figures 9A to 9C This is a schematic diagram of a battery charging process provided in an embodiment of this application. Detailed Implementation
[0033] In the embodiments of this application, terms such as "first" and "second" are used to distinguish identical or similar items with substantially the same function and purpose. For example, "first chip" and "second chip" are used only to distinguish different chips and do not limit their order of execution. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.
[0034] It should be noted that, in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0035] This application provides a charging method and electronic device that can improve charging speed.
[0036] The electronic devices in the embodiments of this application may be mobile phones, tablets, desktops, laptops, handheld computers, smart bracelets, super mobile personal computers, netbooks, personal phones, personal data assistants, augmented reality (AR) / virtual reality (VR) and other touch screen devices. This application does not limit the specific form of the electronic devices.
[0037] The structure of the electronic device 100 is described below. Please refer to [link / reference]. Figure 1 , Figure 1 This is a schematic diagram of the hardware structure of the electronic device 100 provided in the embodiments of this application.
[0038] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0039] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include... Figure 1 It can show more or fewer parts, or combine some parts, or split some parts, or arrange different parts. Figure 1 The components shown can be implemented in hardware, software, or a combination of both.
[0040] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0041] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0042] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0043] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0044] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), BLE broadcasting, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0045] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0046] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0047] The temperature sensor 180J can be used to measure temperature. In this embodiment, the electronic device may include multiple temperature sensors, and the electronic device can obtain the temperature values of the battery, casing, motherboard, and sub-board through the temperature sensors.
[0048] To facilitate understanding of the solutions in the embodiments of this application, the prior art is described below:
[0049] 1. CC-CV charging mode:
[0050] CC is the constant current mode of the power supply. When the resistance of the load changes, the output current of the power supply remains at the set value and remains constant, while the output voltage of the power supply changes according to the load. CV is the constant voltage mode of the power supply. When the resistance of the load changes, the output voltage of the power supply remains at the set value and remains constant, while the output current of the power supply changes according to the load.
[0051] In CC-CV charging mode, during the CC phase, a fixed current value corresponds to a maximum voltage. When the voltage rises to the maximum voltage value, the system enters the CV phase. During the CV phase, a fixed voltage value corresponds to a preset current value. When the voltage drops to the preset current value, the system enters the CC phase.
[0052] During the CC charging phase, a constant current is applied to the battery to achieve a faster charging speed. The battery voltage continuously rises, eventually reaching a preset maximum voltage. Once this maximum voltage is reached, the charging mode switches from CC to CV charging, entering the CV charging phase. The voltage remains constant while the current decreases (generally exponentially), gradually reducing the polarization voltage. When the charging current decreases to a preset value, the charging phase resumes. Throughout this CC-CV charging process, the current continuously decreases (it will not drop to zero until the battery is fully charged), while the voltage continues to rise until the battery is fully charged.
[0053] In low-temperature environments, battery activity decreases, meaning the rate of internal chemical reactions slows down, leading to increased battery resistance and reduced charging efficiency. Charging too quickly can damage the battery. To protect the battery and extend its lifespan, charging should be limited in low-temperature environments; charging should not be allowed at excessively low temperatures, and the charging current should be restricted at even lower temperatures.
[0054] In CC-CV charging mode, the maximum current and voltage are limited due to varying ambient temperatures. For example, at temperatures between 10 and 20 degrees Celsius, the charging capability is lower, with a maximum charging current of 2.00C (where C represents battery capacity, and 2.00C means the charging current is twice the battery capacity), i.e., the initial charging current is 2.00C. The maximum charging current set in CC-CV charging mode is even lower. At temperatures between 20 and 35 degrees Celsius, the charging capability is higher, with a maximum charging current of 3.6C. The constant current and constant voltage at different stages of CC-CV charging vary depending on the temperature environment, as the current value set in low-temperature environments is generally lower than that in suitable-temperature environments. Therefore, due to the influence of ambient temperature, the battery charges more slowly in low-temperature environments and more quickly in suitable-temperature environments.
[0055] Based on the aforementioned temperature limitations, electronic devices can be configured with different CC-CV charging strategies under different temperature conditions.
[0056] For example, the electronic device may be configured with a low-temperature CC-CV charging strategy and a high-temperature CC-CV charging strategy. In the low-temperature CC-CV charging strategy, charging can begin with a first current value, and as the voltage rises to a first maximum value, the voltage remains constant at the first maximum value while the current is reduced from the first current value to a second current value. Then, the first current value is maintained constant while the voltage is increased to a second maximum voltage value. This alternating reduction of current and increase of voltage continues until the battery is fully charged.
[0057] In low-temperature environments, electronic devices begin charging using a low-temperature CC-CV charging strategy. During battery charging, the device's motherboard heats up, and through heat conduction, the battery temperature gradually rises. Once the battery temperature reaches a suitable range, the electronic device can switch from the low-temperature CC-CV charging strategy to a high-temperature CC-CV charging strategy, i.e., stopping the low-temperature CC-CV charging strategy and starting charging using the high-temperature CC-CV charging strategy. During this process, the current can increase sharply, accelerating the charging speed and reducing charging time.
[0058] Figure 2 This application discloses, by way of example, a charging current and battery capacity curve. For example... Figure 2 As shown, the electronic device is in an ambient temperature of 10–20 degrees Celsius. Figure 2 The horizontal axis represents the charging time (charging duration), starting at 0:00:00 and reaching full charge in 1 hour and 12 minutes. Curve L1 shows the charging current change (vertical axis unit is mA), and curve L2 shows the battery temperature change during charging (vertical axis unit is degrees Celsius). At the start of charging, the current is approximately 5800 mA, and the battery temperature is approximately 13 degrees Celsius. The electronic device directly uses the CC-CV charging strategy corresponding to 13 degrees Celsius, and the current gradually decreases from 5800 mA. After 1 hour and 12 minutes, the battery is fully charged. The battery current gradually decreases to 0. The entire process takes approximately 1 hour and 12 minutes, after which the battery is fully charged.
[0059] Figure 3 This is a schematic diagram of the hardware structure of an electronic device disclosed exemplary in an embodiment of this application. For example... Figure 3 As shown, the electronic device may include a mid-frame, a vapor chamber (VC), a motherboard, and a battery. The motherboard may include a switching charger (SC) module. The SC module primarily controls the output of the switching power supply, and can monitor and control the charging and discharging of the battery. The battery, vapor chamber, and motherboard are all located on the same side of the mid-frame. The vapor chamber is positioned between the battery and the mid-frame. The vapor chamber is sheet-shaped, with one side close to one side of the mid-frame, and the other side close to one side of the motherboard and one side of the battery. The motherboard and battery are located on the same side of the vapor chamber, both in close contact with it.
[0060] A vapor chamber, also known as a heat spreader, has the ability to conduct heat rapidly. After absorbing heat from the heat source surface, the vapor chamber conducts the heat to the heat dissipation surface, where it releases the heat. In this application, the motherboard acts as the heat source, conducting heat to the area adjacent to the vapor chamber and the middle frame (the heat source surface). The vapor chamber and the middle frame absorb heat from this heat source surface and release it to the area adjacent to the battery (the heat dissipation surface), thereby heating the battery. During this process, when the electronic device begins charging, the SC module on the motherboard operates, causing the motherboard temperature to rise. This temperature rises gradually through the vapor chamber and the middle frame. After heating stops, the battery temperature gradually decreases as the charging current decreases.
[0061] In the above embodiments, during the charging process, the electronic device heats the battery while the SC generates heat. The battery heats up slowly, and the motherboard is located on one side of the battery, which has a large area, resulting in uneven overall battery temperature. This causes the electronic device to need to undergo a long period of charging with a low-temperature CC-CV charging strategy before it can enter the high-temperature CC-CV charging strategy, resulting in a slow charging speed.
[0062] Figure 4A This is a temperature simulation diagram of a single-sided heated battery, as exemplarily disclosed in an embodiment of this application. Figure 4A As shown, the square area represents the battery. Areas 1 and 2 are the adhesive areas where the battery is bonded to the back cover. A heat source was placed on one side of the battery to determine the simulated temperature at various locations. The following simulations will examine the temperatures of the battery's back side, the heated surface, and the center surface.
[0063] Figure 4B This is a schematic diagram illustrating simulation results of the temperatures of the back, heating surface, and center surface of a battery, as exemplarily disclosed in an embodiment of this application. Figure 4B As shown, the back, heating surface, and center surface of the battery all exhibit the same temperature distribution pattern. When the electronic device transfers heat to the battery through a single-sided heat source, the battery temperature is higher near the heat source and gradually decreases with distance from the heat source. Due to the heat insulation plate between regions 1 and 2, which has poor thermal conductivity, the battery temperature is lower. Based on the above battery temperature simulation results, it can be concluded that unilateral SC charging leads to uneven battery temperature.
[0064] according to Figure 4B The distribution of battery temperature is shown below. Under the condition that the battery is heated by a heat source, the maximum and minimum temperature curves of the battery are plotted according to different time periods. Figure 5 This is an exemplary embodiment of the battery single-sided heating temperature maximum and minimum value curve disclosed in this application. For example... Figure 5As shown, the longer the charging time on one side, the greater the temperature difference between the maximum and minimum battery temperatures. At 480 seconds of charging, the temperature difference between the maximum and minimum values is 3.10 degrees Celsius. At 600 seconds, the difference is 3.18 degrees Celsius; and at 900 seconds, it is 3.34 degrees Celsius. Therefore, prolonged unilateral heating leads to a more uneven battery temperature distribution.
[0065] To address the aforementioned issues, this application proposes a charging method and an electronic device. When the ambient temperature is determined to be low, the processor initiates a heating process. The heat generated during processor operation causes the battery to rise rapidly, quickly entering the temperature range suitable for high-temperature CC-CV charging. Furthermore, a main board and a sub-board are positioned at opposite ends of the battery, both including an SC module. If the temperature difference between the main board and the sub-board is too large, charging is switched to the SC module on the cooler side. This accelerates the battery temperature rise while ensuring a more uniform temperature increase, guaranteeing even heating and ensuring the battery enters the high-temperature CC-CV charging range as soon as possible, thus accelerating the charging speed.
[0066] The charging method and electronic device proposed in the embodiments of this application are described below. Figure 6A and Figure 6B Describe the hardware structure of the electronic device. Figure 6B and Figure 6A This is a schematic diagram of an electronic device in two directions. If... Figure 6A This is a side view of the hardware structure. Figure 6B This is the main view of the hardware structure.
[0067] Figure 6A This application discloses, by way of example, a hardware structure diagram of an electronic device. For example... Figure 6A As shown, an electronic device may include a mid-frame, a heat spreader, a main board, a sub-board, and a battery. The mid-frame is on one side of the heat spreader, while the main board, sub-board, and battery are on the other side. The main board refers to the main circuit board of the electronic device. The main board includes various components, such as the CPU, RAM, communication modules, etc. The main board connects these components to form a complete system. The sub-board (also known as a small board) is an auxiliary circuit board inside the electronic device. It can be connected to the main board via an FPC (Flexible Printed Circuit) and provides additional functions and interfaces. Figure 6A As shown, the FPC circuitry is positioned between the battery and the heat spreader, and it connects the motherboard and the sub-board. The motherboard and battery are connected via the BAT interface. During battery charging, the battery can be charged via the motherboard's main SC circuit (main circuit charging), the sub-board's auxiliary SC circuit (auxiliary circuit charging), or both the motherboard's main SC circuit and the sub-board's auxiliary SC circuit can be used simultaneously.
[0068] Figure 6B This is a schematic diagram of the hardware structure of an electronic device disclosed exemplarily in an embodiment of this application. For example... Figure 6B As shown, the electronic device's motherboard, battery, and sub-board are positioned above the mid-frame. A heat spreader and an FPC (Flexible Printed Circuit) are located between the motherboard, battery, and sub-board and the mid-frame. The heat spreader and FPC are partially obscured (not visible). The sub-board charges the battery via FPC traces.
[0069] like Figure 6A and Figure 6B As shown, the main board and sub-board are located on either side of the battery. Both the main board and sub-board include SC modules; the main board includes the main SC, and the sub-board includes the auxiliary SC. The main SC can be connected to the battery's BAT port nearby; the auxiliary SC is connected to the main board via flexible printed circuit (FPC) wiring.
[0070] The electronic device in this application supports at least two charging strategies: a low-temperature CC-CV charging strategy and a high-temperature CC-CV charging strategy. Specifically, the maximum charging current supported by a single SC module is greater than the maximum current supported by the low-temperature CC-CV charging strategy; therefore, the maximum current of a single SC module can support the low-temperature CC-CV charging strategy. However, the current range used in the high-temperature CC-CV charging strategy exceeds the maximum charging current supported by a single SC module; therefore, the maximum current of a single SC module cannot support the low-temperature CC-CV charging strategy. The maximum charging current supported by two SC modules (the main SC and the auxiliary SC) exceeds the maximum current supported by the high-temperature CC-CV charging strategy; therefore, the high-temperature CC-CV charging strategy requires the simultaneous operation of both SC modules.
[0071] Combination Figure 6A and Figure 6B Electronic devices in Figure 7 This is a flowchart illustrating an exemplary charging method disclosed in an embodiment of this application. Figure 7 As shown, the charging method may include, but is not limited to, the following steps:
[0072] Electronic devices may include a System on Chip (SoC), which can execute... Figure 7 The method flow is shown.
[0073] In this application embodiment, the electronic device can use multiple charging strategies, and this application does not limit the type and number of charging strategies. Specifically, when the first charging strategy is activated, the electronic device uses either the main charging path (SC) or the auxiliary charging path (SC). When the second charging strategy is activated, the electronic device uses both the main charging path (SC) and the auxiliary charging path (SC).
[0074] In this embodiment of the application, the electronic device may be equipped with at least three temperature sensors to obtain the temperature of the electronic device's casing, motherboard, and sub-board.
[0075] S701: The electronic device acquires the battery temperature while charging.
[0076] Battery temperature can be either the casing temperature of an electronic device or the temperature of its battery. When the electronic device is charging (connected to an external power source), the device can obtain the battery temperature using a temperature sensor.
[0077] For example, an electronic device can use a temperature sensor to collect the temperature of the battery and various locations near the battery, and calculate the battery temperature based on the collected temperature values. For instance, the average of the collected temperature values can be determined as the battery temperature. Alternatively, the minimum value among the collected temperature values can be used as the battery temperature.
[0078] For example, an electronic device can acquire the casing temperature using a temperature sensor and use the casing temperature as the battery temperature.
[0079] For example, an electronic device may be equipped with multiple temperature sensors that can detect the lowest temperature of the device's battery. The temperature sensors are positioned near the battery and the casing, providing a true reflection of the battery or casing temperature.
[0080] S702: The electronic device determines whether the battery temperature is less than (less than or equal to) a first temperature threshold. If the battery temperature is less than (less than or equal to) the first temperature threshold, execute S703; if the battery temperature is greater than or equal to (greater than) the first temperature threshold, execute S713.
[0081] After the electronic device obtains the battery temperature, it can determine whether the battery temperature is less than (less than or equal to) a first temperature threshold. If the battery temperature is less than (less than or equal to) the first temperature threshold, S703 is executed; if the battery temperature is greater than or equal to (greater than) the first temperature threshold, S713 is executed.
[0082] The charging strategy of the electronic device may include multiple charging strategies corresponding to different temperature ranges. Among these strategies, the target charging strategy corresponds to the highest charging current, and the charging temperature range of the target charging strategy is called the target charging temperature range. The first temperature threshold can be the lower limit of the target charging temperature. For example, if the target charging temperature range is 20–45 degrees Celsius, then the first temperature threshold is 20 degrees Celsius. The range of the first temperature threshold can be 15–30 degrees Celsius.
[0083] S703: Electronic devices heat the battery.
[0084] When the battery temperature is less than (less than or equal to) the first temperature threshold, the electronic device can initiate the heating process of the battery based on the battery temperature. That is, the electronic device can control the processor to start reading and writing, the processor runs under high load, the motherboard heats up, and the battery can be heated up quickly through the heat conduction of the heat spreader and the middle frame.
[0085] S704: The electronic device determines whether the battery temperature is greater than (greater than or equal to) a second temperature threshold. If the battery temperature is greater than (greater than or equal to) the second temperature threshold, execute S706; if the battery temperature is less than or equal to (less than) the second temperature threshold, execute S705.
[0086] In this charging strategy, the first temperature threshold for the low-temperature charging range is greater than the second temperature threshold. The second temperature threshold can be a critical temperature value at which charging is not permitted. For example, the second temperature threshold could be 0 degrees Celsius. Charging does not occur below the second temperature threshold, and charging occurs above the second temperature threshold.
[0087] If, after judgment in S704, the battery temperature is greater than (or equal to) the second temperature threshold, and the current battery temperature is within the rechargeable temperature range, the first charging strategy can be initiated to charge the battery, and S706 is executed. Otherwise, the electronic device continues to heat the battery, and S705 is executed.
[0088] S705: First heating duration for battery heating in electronic devices.
[0089] If the battery temperature is less than or equal to (less than) a second temperature threshold, the electronic device can heat the battery for a first heating time based on the battery temperature, then re-acquire the battery temperature and execute S702. If the battery temperature is less than or equal to (less than) the second temperature threshold, the electronic device cannot charge; charging is prohibited at the current battery temperature to ensure battery safety. To charge as quickly as possible, the electronic device initiates a heating process, heating the battery at high power for the first heating time, causing the battery temperature to rise rapidly to a temperature suitable for charging before charging can begin.
[0090] S706: The electronic device determines a first charging strategy based on the battery temperature and initiates the first charging strategy to charge the battery.
[0091] Electronic devices can execute different charging strategies within different charging temperature ranges. The electronic device stores a first mapping relationship between multiple charging temperature ranges and multiple charging strategies. When the battery temperature is within the first charging temperature range, the electronic device selects the first charging strategy within that first charging temperature range from the first mapping relationship as the currently usable charging strategy. The electronic device can then activate the first charging strategy.
[0092] For example, the first mapping relationship and the first charging strategy are low-temperature charging strategies within a low-temperature charging range (e.g., 10–20 degrees Celsius), such as a low-temperature CC-CV charging strategy. The second charging strategy is a high-temperature charging strategy within a high-temperature charging range (e.g., 20–45 degrees Celsius), such as a high-temperature CC-CV charging strategy. The electronic device does not charge when the battery temperature is below the low-temperature range.
[0093] Table 1
[0094] Charging temperature range (degrees Celsius) Charging strategy Maximum charging current 0-10 Strategy A 3A 10-20 Strategy B 6A 20-45 Strategy C 12A
[0095] Table 1 is an exemplary mapping table between the disclosed charging temperature range and charging strategy (first mapping relationship) in embodiments of this application. As shown in Table 1, in the charging temperature range of 0-10 degrees Celsius, the electronic device uses strategy A for charging, with the lowest maximum charging current of 3A; in the charging temperature range of 10-20 degrees Celsius, the electronic device uses strategy B for charging, with the highest charging current of 6A, greater than strategy A but less than strategy C; in the charging temperature range of 20-45 degrees Celsius, the electronic device uses strategy C for charging, with the highest maximum charging current of 12A. Charging is not performed when the battery temperature is below 0 degrees Celsius or above 45 degrees Celsius. The battery charging speed is fastest in the 20-45 degree Celsius range. It should be noted that Table 1 is merely an exemplary illustration of the first mapping relationship, and this application does not limit it.
[0096] Based on the information in Table 1, assuming the first temperature threshold is 20 degrees Celsius and the second temperature threshold is 0 degrees Celsius, in S704, when the battery temperature is determined to be greater than 0 degrees Celsius, the electronic device is in the 0-20 degree Celsius range, and a charging strategy can be determined based on the battery temperature. For example, when the battery temperature is 7 degrees Celsius, the first charging strategy is determined to be strategy A based on Table 1; when the battery temperature is 15 degrees Celsius, the first charging strategy is determined to be strategy B based on Table 1.
[0097] After determining the first charging strategy, the electronic device can initiate the first charging strategy to charge the battery. When the electronic device first determines the first charging strategy, it can directly initiate the first charging strategy to charge the battery via the motherboard SC. If, after S709 and S710, it has already determined whether to charge via the main circuit or the auxiliary circuit, the current SC can be saved for charging. For example, after the first charging time for the main circuit based on the first charging strategy in S711, if execution continues to S706, then S706 will maintain the main circuit charging. Similarly, after the first charging time for the auxiliary circuit based on the first charging strategy in S711, if execution continues to S706, then S706 will maintain the auxiliary circuit charging.
[0098] S707: Electronic devices obtain the first temperature of the motherboard and the second temperature of the sub-board.
[0099] The first temperature and the second temperature reflect the temperature at different locations within the battery. The first temperature is the mainboard temperature of the electronic device, and the second temperature is the secondary board temperature. The electronic device can obtain the first temperature through a mainboard temperature sensor and the second temperature through a secondary board temperature sensor. The electronic device may include both a mainboard temperature sensor and a secondary board temperature sensor. The mainboard temperature sensor detects the mainboard temperature, and the secondary board temperature sensor detects the secondary board temperature.
[0100] It should be noted that the execution order of S706 and S707 is not limited; S706 can be executed first and then S707, or S707 can be executed first and then S706.
[0101] S708: The electronic device determines whether the temperature difference between the first temperature and the second temperature is greater than (greater than or equal to) a threshold temperature difference. If the temperature difference is greater than (greater than or equal to) the threshold temperature difference, execute S709; if the temperature difference is less than or equal to (less than) the threshold temperature difference, execute S710.
[0102] After the electronic device acquires the first temperature and the second temperature, it can calculate the temperature difference between the first temperature and the second temperature, and then determine whether the temperature difference is greater than (greater than or equal to) a threshold temperature difference. If the temperature difference between the second temperature and the second temperature is greater than (greater than or equal to) the threshold temperature difference, the electronic device charges through the auxiliary circuit SC; if the temperature difference between the second temperature and the second temperature is less than or equal to (less than) the threshold temperature difference, the electronic device charges through the main circuit SC.
[0103] The threshold temperature difference can be a preset value, and the range of the threshold temperature difference can be 1 to 5 degrees Celsius, for example, the threshold temperature difference is 2 degrees Celsius.
[0104] S709: Electronic devices are charged via the auxiliary circuit SC.
[0105] In S706, because the electronic device initiates the first charging strategy and directly charges via the main circuit SC, and the motherboard processor is also heating up, the temperature of the battery near the motherboard rises rapidly, while the temperature of the part farther from the motherboard rises more slowly, thus increasing the temperature difference between the two sides of the battery. In S707, if the temperature difference between the second temperature and the second temperature is greater than (greater than or equal to) a threshold temperature difference, it indicates that the SC heating on the motherboard makes the temperature of the battery near the motherboard significantly higher than the temperature of the part near the secondary board, resulting in uneven battery heating. Continuing to heat via the main circuit SC on the motherboard would further exacerbate the uneven heating of the battery, increasing the temperature difference. Therefore, when the temperature difference is large, charging via the auxiliary circuit SC allows the temperature of the battery in the lower-temperature area to rise faster. That is, the side of the battery corresponding to the heat source has a lower temperature and heats up faster at lower temperatures, thus heating the lower-temperature part of the battery more quickly, reducing the temperature difference, accelerating the rise of the minimum battery temperature, and ensuring faster battery heating.
[0106] S710: Electronic devices are charged via the main circuit SC.
[0107] If the temperature difference between the second temperature and the second temperature is less than or equal to (less than) the threshold temperature difference, it indicates that the temperature difference between the two sides of the battery (the corresponding sides of the main board and the sub-board) is not large, and the heating is relatively uniform. The electronic equipment can continue charging on the main circuit SC. In this case, heating the main circuit SC is more effective in raising the battery temperature, thus accelerating the temperature rise.
[0108] The charging strategies implemented in S708 to S710 differ depending on the temperature conditions. Several possible scenarios are described below.
[0109] In one possible implementation, after the electronic device charges via the main circuit of the motherboard (S710), and after the electronic device charges via the main circuit for a first charging time (S711), the battery temperature is re-acquired (in S712, the re-acquired battery temperature is less than a first temperature threshold). If the battery temperature is greater than or equal to a second temperature threshold, the electronic device re-acquires the first temperature of the motherboard and the second temperature of the secondary board (S707). If the temperature difference between the re-acquired first temperature and the re-acquired second temperature is greater than the threshold temperature difference, the electronic device switches from main circuit charging to auxiliary circuit charging (S709). If the temperature difference between the re-acquired first temperature and the re-acquired second temperature is less than or equal to the threshold temperature difference, the electronic device maintains main circuit charging (S710).
[0110] In another possible implementation, after the electronic device charges via the auxiliary circuit of the sub-board (S709), and after the electronic device charges via the auxiliary circuit for a first charging time (S711), the first battery temperature is re-acquired (the re-acquired battery temperature in S712 is less than the first temperature threshold). If the first battery temperature is greater than or equal to the second temperature threshold, the electronic device re-acquires the first temperature of the main board and the second temperature of the sub-board (S707). If the temperature difference between the re-acquired first temperature and the re-acquired second temperature is greater than the threshold temperature difference, the electronic device continues auxiliary circuit charging (S709). If the temperature difference between the re-acquired first temperature and the re-acquired second temperature is less than or equal to the threshold temperature difference, the electronic device switches from auxiliary circuit charging to main circuit charging (S710).
[0111] Optionally, the execution order of S706 and S707-S710 is not limited. The electronic device may first execute S707 to determine whether to charge via the main circuit or the auxiliary circuit, then determine the first charging strategy, and charge according to the first charging strategy.
[0112] S711: The electronic device charges the battery for a first charging duration based on a first charging strategy.
[0113] After adjusting SC according to the first charging strategy in S709 and S710, the electronic device needs to execute the charging strategy for a period of time, that is, execute the first charging strategy during the first charging duration, for example, 1 minute. After executing S711, S712 is executed again. As charging and heating occur, the battery temperature changes accordingly. It is necessary to adjust the heating strategy and charging strategy according to the changes in battery temperature to ensure timely switching of the charging strategy and improve the charging speed.
[0114] S712: Electronic devices acquire battery temperature.
[0115] After executing S705 or S711, the electronic device re-acquires the battery temperature and executes S702 based on the re-acquired battery temperature, thus performing a cycle. During the cycle, the battery temperature changes, and the judgment result changes accordingly. The increase in temperature increases the maximum charging current corresponding to the charging strategy, thereby increasing the charging speed.
[0116] S713: The electronic device stops heating the battery and initiates a second charging strategy to charge the battery.
[0117] In S702, if the battery temperature is greater than or equal to (greater than) the first temperature threshold, the electronic device determines that the current temperature is within the charging range of the fast charging strategy and starts the second charging strategy to charge the battery.
[0118] There are two possibilities for activating the second charging strategy: In one case, if the first charging strategy has already been activated, the first charging strategy can be stopped and the second charging strategy can be activated to charge the battery. In the other case, if the first charging strategy has not yet been activated, the second charging strategy can be activated directly to charge the battery.
[0119] Optionally, after executing S702, if the battery temperature is greater than or equal to (greater than) the first temperature threshold, the electronic device also needs to determine whether it is within the upper limit of the rechargeable temperature range. The electronic device determines whether the battery temperature is less than the third temperature threshold. If it is less than the third temperature threshold, it executes S713; otherwise, it stops charging. Further, if the battery temperature is greater than the first temperature threshold and less than the third temperature threshold, the electronic device can determine a second charging strategy based on the battery temperature and execute S713. The method by which the electronic device determines the second charging strategy based on the battery temperature can refer to the method in S706 for determining the first charging strategy based on the battery temperature, and will not be repeated here. It should be noted that within the temperature range from the first temperature threshold to the third temperature threshold, the electronic device can correspond to one charging strategy. For example, in Table 1, when the battery temperature is greater than 20 degrees Celsius, the second charging strategy is directly determined to be strategy C. The electronic device can also correspond to multiple charging strategies. For example, when the battery temperature is between 20 and 45 degrees Celsius, the second charging strategy is determined to be strategy D; when the battery temperature is between 45 and 50 degrees Celsius, the second charging strategy is determined to be strategy E. In this application, the maximum charging current of strategy D is greater than that of strategy E. Furthermore, charging is not performed when the battery temperature is above 50 degrees Celsius. The third temperature threshold is greater than the first temperature threshold; the first temperature threshold is greater than the second temperature threshold. The temperature range limitations and examples in Table 1 are illustrative and not intended to limit the scope of this application.
[0120] When the second charging strategy is activated, a larger current is required. The electronic device needs to supply power to the battery simultaneously through the main circuit SC and the auxiliary circuit SC, thereby improving the charging speed.
[0121] Furthermore, when the electronic device determines that the casing temperature is greater than or equal to (greater than) a first temperature threshold, it stops heating the battery. At this point, the battery temperature has met the requirements for fast charging, so charging is stopped to conserve battery power, free up battery processing resources, prevent device lag, and improve the user experience.
[0122] When the battery of an electronic device is fully charged, the electronic device stops operating. Figure 7 The charging process described refers to the electronic device stopping charging.
[0123] Figure 8This is a schematic diagram of a charging current and battery capacity curve disclosed exemplary in an embodiment of this application. Combined with... Figure 7 The charging method shown is in accordance with Figure 7 The charging method is currently used when electronic devices are in an ambient temperature of 10 to 20 degrees Celsius. Figure 8 The horizontal axis represents the charging time (charging duration), starting at 0:00:00 and reaching full charge in approximately 0:43:12 (43 minutes). Curve S1 shows the change in charging current (vertical axis unit is mA), and curve S2 shows the change in battery capacity during charging (vertical axis unit is capacity %). At the start of charging, the current is approximately 5000 mA, and the battery temperature is approximately 13 degrees Celsius. From 0:00:00 to 0:07:46, the electronic device charges according to the CC-CV charging strategy corresponding to 13 degrees Celsius, with the current fluctuating around 3000 mA and the battery temperature continuously rising. After 0:07:46, the battery temperature rises to 26.3 degrees Celsius, and the electronic device switches to the CC-CV charging strategy corresponding to 26.3 degrees Celsius. After 0:07:46, the current surges to approximately 12000 mA, and the charging speed increases dramatically. After the rapid CC-CV charging mode, the battery current gradually decreases. After approximately 43 minutes, the battery was fully charged, and charging was complete. Figure 8 and Figure 3 The comparison revealed that the charging time required to fully charge the battery was reduced from more than 62 minutes to about 43 minutes, a reduction of about 20 minutes, indicating a significant increase in charging speed.
[0124] Figures 9A to 9C This is a schematic diagram of a battery charging process disclosed by way of example in an embodiment of this application. Figures 9A to 9C During the charging process, the current ambient temperature is 5℃, and the electronic device can use the charging strategy corresponding to Table 1. The following section combines... Figures 9A to 9C Please explain the charging process in detail.
[0125] like Figure 9A As shown, when the electronic device starts charging, the battery temperature is acquired to be 5°C (the same as the ambient temperature). Determined that the battery temperature of 5°C is less than the first temperature threshold of 20°C, heating is initiated, and the processor of the electronic device begins heating, causing the battery temperature to rise. When the battery temperature of 5°C is greater than the second temperature threshold of 0°C, the electronic device selects strategy A for charging (main circuit SC charging). Subsequently, the electronic device acquires the first and second temperatures and determines that the temperature difference between the first and second temperatures is less than the threshold temperature difference, therefore maintaining main circuit SC charging. Then, following strategy A, charging is performed via the main circuit SC for the first charging duration, and the battery temperature gradually increases.
[0126] like Figure 9B As shown, after Figure 9ADuring charging and heating, the battery temperature gradually increases. The electronic device re-acquires the battery temperature as 15°C. While the battery temperature of 15°C is below the first temperature threshold of 20°C, the electronic device continues heating. The electronic device then determines that the battery temperature of 15°C is above the second temperature threshold. The electronic device selects strategy B for charging (main circuit SC charging). Subsequently, the electronic device re-acquires the first and second temperatures and determines that the temperature difference between the first and second temperatures is greater than the threshold temperature difference. The electronic device switches from main circuit SC charging to auxiliary circuit charging. Then, following strategy B, charging is performed via auxiliary circuit SC for the first charging duration, and the battery temperature continues to rise.
[0127] like Figure 9B As shown, after Figure 9A During charging and heating, the battery temperature continues to rise. The electronic device re-establishes the battery temperature at 23°C. If the battery temperature of 23°C exceeds the first temperature threshold of 20°C, the electronic device can stop heating and select strategy C to continue charging. Once the battery is fully charged, charging stops, and the electronic device ceases operation. Figure 7 The charging method will be executed if necessary, otherwise continue. Figure 7 The charging method.
[0128] 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 as 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 (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
Claims
1. A charging method, characterized in that, The method is applied to an electronic device, and the method includes: At a first moment, the electronic device acquires a first battery temperature and heats the battery based on the first battery temperature; the first battery temperature is less than a first temperature threshold. If the temperature of the first battery is greater than or equal to the second temperature threshold, the electronic device initiates a first charging strategy to charge the battery; the second temperature threshold is less than the first temperature threshold. At the second moment, the electronic device acquires the second battery temperature and initiates a second charging strategy to charge the battery; the second battery temperature is greater than the first temperature threshold, the maximum charging current of the second charging strategy is greater than the maximum charging current of the first charging strategy, and the second moment occurs after the first moment.
2. The method according to claim 1, characterized in that, The electronic device includes a main board and a sub-board, which are located at opposite ends of the battery; the electronic device charges the battery through the main board and / or the sub-board. Before the second time interval after the initiation of the first charging strategy to charge the battery, the method further includes: The electronic device acquires a first temperature of the motherboard and a second temperature of the sub-board. When the temperature difference between the first temperature and the second temperature is greater than a threshold temperature difference, the electronic device charges through the auxiliary circuit of the sub-board; when the temperature difference is less than or equal to the threshold temperature difference, the electronic device charges through the main circuit of the motherboard.
3. The method according to claim 2, characterized in that, The electronic device further includes a mid-frame, a flexible printed circuit board (FPC), and a heat spreader; the main board, the sub-board, the battery, the FPC, and the heat spreader are all located on one side of the mid-frame; the FPC connects the main board and the sub-board; the main board connects to the battery; the FPC and the heat spreader are placed between the battery and the mid-frame; when the battery is charging, the main board and / or the sub-board conduct heat to the battery through the heat spreader and the mid-frame.
4. The method according to claim 2, characterized in that, After the electronic device is charged via the main circuit of the motherboard, the method further includes: After the electronic device charges through the main circuit for a first time, it re-acquires the first battery temperature. If the first battery temperature is greater than or equal to the second temperature threshold, the electronic device re-acquires the first temperature of the motherboard and the second temperature of the sub-board. If the temperature difference between the reacquired first temperature and the reacquired second temperature is greater than the threshold temperature difference, the electronic device switches from the main charging circuit to the auxiliary charging circuit; if the temperature difference between the reacquired first temperature and the reacquired second temperature is less than or equal to the threshold temperature difference, the electronic device maintains the main charging circuit.
5. The method according to claim 2, characterized in that, After the electronic device is charged via the auxiliary circuit of the sub-board, the method further includes: After the electronic device is charged for a first time via the auxiliary circuit, it re-acquires the first battery temperature. If the first battery temperature is greater than or equal to the second temperature threshold, the electronic device re-acquires the first temperature of the motherboard and the second temperature of the sub-board. If the temperature difference between the reacquired first temperature and the reacquired second temperature is greater than the threshold temperature difference, the electronic device continues charging on the auxiliary circuit; if the temperature difference between the reacquired first temperature and the reacquired second temperature is less than or equal to the threshold temperature difference, the electronic device switches from charging on the auxiliary circuit to charging on the main circuit.
6. The method according to any one of claims 1-5, characterized in that, The electronic device stores a first mapping relationship, which is a mapping relationship between multiple charging temperature ranges and multiple charging strategies. Before the electronic device activates the first charging strategy, the method further includes: When the temperature of the first battery is within the first charging temperature range in the first mapping relationship, the charging strategy corresponding to the first charging temperature range in the first mapping relationship is determined as the first charging strategy.
7. The method according to any one of claims 1-6, characterized in that, If the temperature of the first battery is lower than the second temperature threshold, the heating of the battery based on the first battery temperature includes: After heating the battery for a first heating time based on the first battery temperature, the electronic device re-acquires the first battery temperature; The electronic device determines whether the reacquired first battery temperature is greater than or equal to the second temperature threshold; if the reacquired first battery temperature is less than the second temperature threshold, it continues to execute the step of heating the battery for a first heating time based on the first battery temperature; if the reacquired first battery temperature is greater than or equal to the second temperature threshold, it executes the step of starting the first charging strategy to charge the battery.
8. The method according to any one of claims 1-7, characterized in that, At the second moment, after the electronic device acquires the second battery temperature, the method further includes: When the electronic device initiates the heating process, the electronic device stops heating the battery.
9. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories; the one or more processors are coupled to the one or more memories, the one or more memories being used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-8.