Charging method and device, electronic equipment and storage medium

By detecting the cause of shutdown and initiating an automatic power-on process, the inapplicability of the shutdown charging method in existing technologies has been resolved, enabling fast automatic power-on on different platforms and improving user experience and convenience in emergency use.

CN121940485APending Publication Date: 2026-04-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-10-28
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing technology, the charging method for mobile phones in the power-off state cannot provide a customized charging method according to the reason for power-off, which leads to users waiting too long to turn on the phone in emergency situations or cannot meet the specific user needs.

Method used

By detecting the reason for the mobile terminal's shutdown, it determines whether the conditions for automatic power-on are met, and initiates the automatic power-on process when the conditions are met. This includes identifying battery voltage, charging protocol, and platform type, and optimizing the low-battery charging process to shorten the power-on time.

Benefits of technology

It improves the user experience, reduces the waiting time for manual power-on, meets the urgent needs of different users, and especially automatically powers on when the battery is low, adapting to the different charging needs of Qualcomm and MediaTek platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940485A_ABST
    Figure CN121940485A_ABST
Patent Text Reader

Abstract

The invention relates to a charging method and device, electronic equipment and a storage medium. And in response to the detection that the mobile terminal is charged in the power-off state, obtaining a power-off reason of the mobile terminal. And then, based on the shutdown reason of the mobile terminal, determining whether the mobile terminal meets an automatic power-on condition or not. And if the mobile terminal meets the automatic power-on condition, starting an automatic power-on process for the mobile terminal, and performing automatic power-on processing on the mobile terminal. Therefore, on the premise of considering the use requirements of the user, the automatic power-on service is provided for the user, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a charging method, apparatus, electronic device and storage medium. Background Technology

[0002] With the development of internet technology, users are becoming increasingly reliant on smartphones. When a phone shuts down due to a dead battery, it becomes especially important for those who need to stay connected and respond quickly. This includes professions such as emergency responders, financial professionals, medical professionals, and journalists.

[0003] Currently, when a user charges a phone that is turned off, there are two ways to handle the phone: one is to charge it while it is off, and the other is to automatically turn it on as soon as charging begins while it is off.

[0004] In the case of charging while the phone is off, users need to wait for the phone to reach sufficient battery level before manually pressing the power button to turn it on, and then wait until it's powered on before using the phone. This process is quite lengthy, especially inconvenient when users need to use their phones urgently. The solution where the phone automatically powers on when charging starts from a off state is not suitable for users who need to charge their phones while they are off. Summary of the Invention

[0005] This disclosure provides a charging method, apparatus, electronic device, and storage medium to address the shortcomings of related technologies.

[0006] According to a first aspect of the present disclosure, a charging method is provided, comprising:

[0007] In response to detecting that a mobile terminal is charging while powered off, the reason for the mobile terminal being powered off is obtained;

[0008] Based on the reason for the mobile terminal's shutdown, determine whether the mobile terminal meets the conditions for automatic power-on;

[0009] If the mobile terminal meets the conditions for automatic power-on, the automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0010] According to a second aspect of the present disclosure, a charging device is provided, comprising:

[0011] The acquisition module is used to acquire the reason for the shutdown of the mobile terminal in response to detecting that the mobile terminal is charging while it is powered off.

[0012] The determination module is used to determine whether the mobile terminal meets the conditions for automatic power-on based on the reason for the mobile terminal's power-off.

[0013] The startup module is used to initiate an automatic power-on process for the mobile terminal if the mobile terminal meets the automatic power-on conditions, and to perform automatic power-on processing on the mobile terminal.

[0014] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0015] processor;

[0016] Memory used to store processor-executable instructions;

[0017] The processor is used to implement the above-described charging method.

[0018] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform the steps of the above-described charging method.

[0019] The technical solutions provided by the embodiments of this disclosure can include at least the following beneficial effects:

[0020] According to embodiments of this disclosure, in response to detecting that a mobile terminal is charging while powered off, the reason for the mobile terminal's shutdown is obtained. Based on the reason for the mobile terminal's shutdown, it is determined whether the mobile terminal meets the conditions for automatic power-on. If the mobile terminal meets the conditions for automatic power-on, an automatic power-on process is initiated to automatically power on the mobile terminal. Thus, considering user needs, an automatic power-on service is provided to the user, improving the user experience.

[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a schematic flowchart illustrating a charging method according to some embodiments of the present disclosure.

[0024] Figure 2 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0025] Figure 3 It is based on Figure 1A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0026] Figure 4 This is a flowchart illustrating a low-power charging method according to some embodiments of the present disclosure.

[0027] Figure 5 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0028] Figure 6 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0029] Figure 7 It is based on Figure 1 A schematic diagram of another charging method shown based on the illustrated embodiment.

[0030] Figure 8 This is a schematic flowchart illustrating a charging method according to some embodiments of the present disclosure.

[0031] Figure 9 This is a schematic flowchart illustrating a charging method for a Qualcomm platform according to some embodiments of the present disclosure.

[0032] Figure 10 This is a schematic flowchart illustrating a charging method for a MediaTek platform according to some embodiments of the present disclosure.

[0033] Figure 11 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0034] Figure 12 This is a flowchart illustrating a power-off charging process according to some embodiments of the present disclosure.

[0035] Figure 13 This is a schematic block diagram illustrating a charging device according to some embodiments of the present disclosure.

[0036] Figure 14 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0037] Figure 15 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0038] Figure 16 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0039] Figure 17 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0040] Figure 18 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0041] Figure 19 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0042] Figure 20 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0043] Figure 21 This is a schematic block diagram illustrating a charging device according to an embodiment of the present disclosure. Detailed Implementation

[0044] Some embodiments of this disclosure will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. Various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will become apparent upon understanding this disclosure. For example, the order of operations described herein is merely illustrative and is not limited to those orders set forth herein, but can be changed as will become apparent upon understanding this disclosure, except for operations that must be performed in a particular order. Furthermore, for clarity and brevity, descriptions of features known in the art may be omitted.

[0045] The embodiments described in the following examples of this disclosure are not representative of all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0046] Currently, when a user charges a phone that is turned off, there are two ways to handle the phone: one is to charge it while it is off, and the other is to automatically turn it on as soon as charging begins while it is off.

[0047] In the case of charging while the phone is off, users need to wait for the phone to reach sufficient battery level before manually pressing the power button to turn it on, and then wait until it's powered on before using the phone. This process is quite lengthy, especially inconvenient when users need to use their phones urgently. The solution where the phone automatically powers on when charging starts from a off state is not suitable for users who need to charge their phones while they are off.

[0048] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a charging method according to some embodiments of the present disclosure. Figure 1 As shown, the charging method may include the following steps:

[0049] In step 102, in response to detecting that the mobile terminal is charging while powered off, the reason for the mobile terminal being powered off is obtained.

[0050] In step 104, based on the reason for the mobile terminal's shutdown, it is determined whether the mobile terminal meets the conditions for automatic power-on.

[0051] In step 106, if the mobile terminal meets the automatic power-on conditions, the automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0052] In one possible implementation, in response to detecting that the mobile terminal is charging while powered off, the reason for the mobile terminal's shutdown is obtained. The reasons for shutdown include: the battery is completely depleted, the user actively shuts down the device while it is powered on, or a system or application error causes the shutdown.

[0053] Then, the mobile terminal can determine whether it meets the automatic power-on conditions based on the reason for its shutdown. The automatic power-on conditions can refer to shutdown reasons other than those initiated by the user while the device is powered on. For example, a shutdown due to completely depleted battery power determines that the mobile terminal meets the automatic power-on conditions. Another example is a shutdown due to a system or application error, which also determines that the mobile terminal meets the automatic power-on conditions. It should be noted that this manual does not limit the automatic power-on conditions.

[0054] If the mobile terminal meets the conditions for automatic power-on, the automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0055] As can be seen from the above embodiments, automatic power-on service is provided for users after taking into account their needs, thereby improving the user experience.

[0056] Please see Figure 2 , Figure 2 It is based on Figure 1 A schematic flowchart illustrating another charging method based on the illustrated embodiment is shown. Figure 2 As shown, the charging method may include the following steps:

[0057] In step 202, it is determined whether the reason for the shutdown of the mobile terminal is that the user actively shut it down while it was powered on.

[0058] In step 204, if the reason for the shutdown of the mobile terminal is not an active shutdown by the user while the terminal is powered on, it is determined that the mobile terminal meets the automatic power-on conditions.

[0059] In practical applications, mobile terminals lack the ability to automatically determine the reason for shutdown and can only be charged according to a pre-set charging method. In other words, regardless of whether the mobile terminal is shut down due to depleted battery or user-initiated shutdown, the charging method is always a pre-set method, and it cannot provide a customized charging method based on the reason for shutdown.

[0060] In one possible implementation, the mobile terminal can determine whether the reason for the shutdown is that the user actively shut down the mobile terminal while it was powered on.

[0061] If the reason for the mobile terminal's shutdown is not due to the user's active shutdown while the terminal is powered on, then the mobile terminal meets the conditions for automatic power-on.

[0062] It should be noted that active shutdown can include: the user shutting down the device by pressing and holding the power button, the user selecting the "Shut Down" option in the mobile terminal's settings menu, or the user shutting down the mobile terminal via voice command. This manual does not limit the specific form of active shutdown.

[0063] As can be seen from the above embodiments, the mobile terminal can identify the reason for the mobile terminal being turned off, providing users with an automatic power-on service and improving the user experience.

[0064] Please see Figure 3 , Figure 3 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0065] like Figure 3 As shown, the charging method may include the following steps:

[0066] In step 302, if the mobile terminal meets the automatic power-on conditions, it is further determined whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal.

[0067] In step 304, if the battery voltage is greater than the power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0068] In practical applications, when a mobile terminal's battery is completely depleted, the battery cannot provide enough voltage to power on the terminal. In this situation, the mobile terminal cannot power on automatically and requires external charging to increase the battery voltage until it exceeds the terminal's power-on voltage, at which point the terminal can be manually powered on.

[0069] In one possible implementation, if the mobile terminal meets the automatic power-on conditions, it is further determined whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal.

[0070] If the battery voltage is higher than the power-on voltage, initiate the automatic power-on process for the mobile terminal and automatically power on the mobile terminal.

[0071] As can be seen from the above embodiments, when the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, the mobile terminal can automatically enter the automatic power-on process without manual intervention by the user, thus improving the user experience.

[0072] Furthermore, if the battery voltage is not greater than the power-on voltage, a low-battery charging process for the mobile terminal is initiated to charge the mobile terminal until the battery voltage is greater than the power-on voltage.

[0073] It's important to note that Qualcomm and MediaTek are two major chip platform suppliers, employing different technical standards and implementation methods in charging technology. Therefore, Qualcomm and MediaTek platforms each have their unique low-power charging processes. When charging a mobile device, it's necessary to identify the device's platform type. Then, the low-power charging process corresponding to that platform type is followed. Specifically... Figure 4 As shown.

[0074] Please see Figure 4 , Figure 4 This is a flowchart illustrating a low-power charging method according to some embodiments of the present disclosure.

[0075] exist Figure 4 In step S400, in response to detecting that the mobile terminal is charging while powered off, the reason for the mobile terminal being powered off is obtained, and the process proceeds to step S401.

[0076] Step S401: Determine whether the reason for the shutdown of the mobile terminal is that the user actively shuts down the device while it is powered on. If the reason for the shutdown is that the user actively shuts down the device while it is powered on, proceed to step S402. If the reason for the shutdown is not that the user actively shuts down the device while it is powered on, proceed to step S403.

[0077] Step S402: Initiate the power-off charging process for the mobile terminal, and proceed to step S404.

[0078] Step S404: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S406 or step S407. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S412.

[0079] Step S403: Initiate the automatic power-on process for the mobile terminal, then proceed to step S405.

[0080] Step S405: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S406 or step S407. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S413.

[0081] Step S406: Is the platform type a Qualcomm platform? If the platform type is a Qualcomm platform, proceed to step S408.

[0082] Step S407: Is the platform type MediaTek platform? If the platform type is MediaTek platform, proceed to step S409.

[0083] Step S408: Charge the mobile terminal according to the low-battery charging process of the Qualcomm platform, and proceed to step S410.

[0084] Step S409: Charge the mobile terminal according to the low-battery charging process of the MediaTek platform, and proceed to step S411.

[0085] Step S410: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S408. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, and the shutdown reason is that the user actively shuts down the mobile terminal while it is powered on, proceed to step S412. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, and the shutdown reason is not that the user actively shuts down the mobile terminal while it is powered on, proceed to step S413.

[0086] Step S411: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S409. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, and the shutdown reason is that the user actively shuts down the mobile terminal while it is powered on, proceed to step S412. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, and the shutdown reason is not that the user actively shuts down the mobile terminal while it is powered on, proceed to step S413.

[0087] Step S412: Power off and charge the mobile terminal.

[0088] Step S413: Automatically power on the mobile terminal.

[0089] Please see Figure 5 , Figure 5 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0090] like Figure 5 As shown, the charging method may include the following steps:

[0091] In step 502, if the mobile terminal meets the automatic power-on conditions, it is determined whether the battery voltage of the mobile terminal is greater than the operating system startup voltage of the mobile terminal.

[0092] In step 504, if the battery voltage is not greater than the operating system startup voltage, the mobile terminal is charged based on the pre-charge current until the battery voltage is detected to be greater than the operating system startup voltage, and the operating system is started so that the operating system can recognize the charging protocol supported by the charger.

[0093] In step 506, if the operating system recognizes that the charging protocol supported by the charger is a fast charging protocol, it performs fast charging on the mobile terminal based on the fast charging protocol, and further determines whether the battery voltage is greater than the fast charging startup voltage of the mobile terminal.

[0094] In step 508, if the battery voltage is greater than the fast charging power-on voltage, the automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0095] In practical applications, the charging port types in the BC1.2 charging protocol include: Standard Downstream Port (SDP), Dedicated Charging Port (DCP), and Charging Downstream Port (CDP). SDP ports support data protocols. DCP ports do not support data protocols but support fast charging. CDP ports support both data protocols and fast charging.

[0096] Qualcomm's low-battery charging process typically begins by activating the UEFI system, followed by loading the ADSP system to detect the charging port type in the BC1.2 charging protocol. After detection, it determines whether to perform fast charging based on the mobile terminal's charging port type.

[0097] Furthermore, when the battery voltage exceeds the power-on voltage, the ADSP system must be uninstalled before the kernel system can be started to automatically power on the mobile terminal. This series of steps prolongs the mobile terminal's boot time, thereby reducing the user experience.

[0098] In one possible implementation, if the mobile terminal meets the automatic power-on conditions, it is determined whether the mobile terminal's battery voltage is greater than the mobile terminal's operating system startup voltage. Here, the operating system can refer to a UEFI system, and correspondingly, the operating system startup voltage can refer to the UEFI system's startup voltage. The UEFI system can refer to a real-time operating system on the Qualcomm platform that precedes the kernel system. The kernel system can refer to the Linux kernel.

[0099] If the battery voltage is not greater than the operating system startup voltage, the mobile terminal is charged based on the pre-charge current until the battery voltage is detected to be greater than the operating system startup voltage. Then the operating system is started so that it can recognize the charging protocol supported by the charger.

[0100] If the operating system recognizes that the charger supports a fast charging protocol, it will perform fast charging on the mobile terminal based on this protocol, and further determine whether the battery voltage is greater than the mobile terminal's fast charging startup voltage. Here, the fast charging protocol can refer to protocols such as Quick Charge (QC) or Power Delivery (PD). The fast charging startup voltage refers to the startup voltage of the mobile terminal during the fast charging process.

[0101] It's important to note that during fast charging of a mobile device, the current and voltage provided are higher, meaning the actual startup voltage required for the device can be set lower. This allows the device to start up quickly in a shorter time. In other words, the startup voltage for fast charging is lower than that for standard charging.

[0102] If the battery voltage is higher than the fast charging startup voltage, the automatic startup process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0103] As can be seen from the above embodiments, by optimizing the low-battery charging process of the Qualcomm platform and adding functions such as detecting the charging port type in the BC1.2 charging protocol from the ADSP system to the UEFI system, it is no longer necessary to load and unload the ADSP system, thereby improving the efficiency of automatic power-on of mobile terminals.

[0104] Furthermore, a lower fast-charging power-on voltage is set for mobile terminals, which can further improve the efficiency of automatic power-on of mobile terminals.

[0105] Please see Figure 6 , Figure 6 It is based on Figure 1 A schematic flowchart of another charging method is shown based on the embodiment illustrated.

[0106] like Figure 6 As shown, the charging method may include the following steps:

[0107] In step 602, if the mobile terminal meets the automatic power-on conditions, it is determined whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal.

[0108] In step 604, if the battery voltage is not greater than the power-on voltage, the operating system is started so that the operating system can identify the charging protocol supported by the charger and determine whether the battery voltage is greater than the fast charging voltage of the mobile terminal.

[0109] In step 606, if the battery voltage is greater than the fast charging voltage and the charger supports a fast charging protocol, the mobile terminal is fast charged based on the fast charging protocol, and it is further determined whether the battery voltage is greater than the fast charging startup voltage of the mobile terminal.

[0110] In step 608, if the battery voltage is greater than the fast charging power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0111] In practical applications, the low-battery charging process on MediaTek platforms often requires the Preloader system to detect the charging port type in the BC1.2 charging protocol. After detection, it determines whether to perform fast charging on the mobile terminal based on the charging port type.

[0112] However, the low-battery charging process of MediaTek platforms cannot use the fast charging protocol of Qualcomm platforms.

[0113] In one possible implementation, if the mobile terminal meets the automatic power-on conditions, it is determined whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal.

[0114] If the battery voltage is not greater than the power-on voltage, the operating system will boot up to identify the charging protocols supported by the charger and determine if the battery voltage is greater than the mobile terminal's fast-charging voltage. The operating system mentioned here could refer to the preloader system. The fast-charging voltage mentioned here refers to the voltage at which the mobile terminal can perform fast charging.

[0115] Since the low-battery charging process of the MediaTek platform cannot detect the fast charging protocol of the Qualcomm platform, it is necessary to control the D+ and D- lines and use software simulation to identify the type of fast charging protocol.

[0116] If the battery voltage is greater than the fast charging voltage, and the charger supports a fast charging protocol, the mobile terminal is fast-charged based on the fast charging protocol, and the battery voltage is further determined to be greater than the fast charging startup voltage of the mobile terminal. If the battery voltage is not greater than the fast charging voltage, the mobile terminal is charged using standard charging. The fast charging protocol can refer to protocols such as Quick Charge (QC) or Power Delivery (PD).

[0117] It's important to note that during fast charging of a mobile device, the current and voltage provided are higher, meaning the actual startup voltage required for the device can be set lower. This allows the device to start up quickly in a shorter time. In other words, the startup voltage for fast charging is lower than that for standard charging.

[0118] If the battery voltage is higher than the fast charging startup voltage, the automatic startup process for the mobile terminal is initiated to automatically power on the mobile terminal.

[0119] As can be seen from the above embodiments, optimizing the low-power charging process of the MediaTek platform, identifying different fast charging protocols, and setting a lower fast charging startup voltage required by the mobile terminal can improve the efficiency of automatic startup of the mobile terminal.

[0120] Please see Figure 7 , Figure 7 It is based on Figure 1 A schematic diagram of another charging method based on the illustrated embodiment is shown. Figure 7 As shown, the method may include:

[0121] In step 702, if the battery voltage is detected to be greater than the data display voltage of the mobile terminal, low battery charging display data is played repeatedly on the mobile terminal for a set duration.

[0122] In practical applications, the low-power charging cycle in the MediaTek platform's low-power charging process takes a relatively long time. Correspondingly, the low-power charging animation also takes a long time to loop, typically 20 or 40 seconds. Furthermore, each charge requires at least one charging cycle.

[0123] In one possible implementation, if the battery voltage is detected to be higher than the data display voltage of the mobile terminal, low-battery charging display data is played repeatedly on the mobile terminal for a set duration. This low-battery charging display data may include low-battery charging animations, low-battery charging images, etc.

[0124] It should be noted that because the current and voltage provided during the fast charging process of a mobile terminal are relatively high, the low-battery charging cycle time of the mobile terminal is reduced accordingly, and the cycle time of the low-battery charging animation will also be reduced.

[0125] As can be seen from the above embodiments, the low-battery charging cycle time and the low-battery charging animation cycle time of the mobile terminal are reduced, thereby improving the efficiency of automatically powering on the mobile terminal.

[0126] Please see Figure 8 , Figure 8 This is a schematic flowchart illustrating a charging method according to some embodiments of the present disclosure. Figure 8 As shown, the charging method may include the following steps:

[0127] In step 802, the battery status information of the mobile terminal is obtained; the battery status information includes at least: battery temperature and battery aging status.

[0128] In step 804, based on the battery status information, the charging current and charging voltage of the fast charging protocol supported by the charger are adjusted to obtain the adjusted charging current and charging voltage.

[0129] In step 806, the mobile terminal is fast-charged based on the adjusted charging current and charging voltage.

[0130] In practical applications, improper charging parameters may accelerate battery aging and shorten battery life. Furthermore, overheating and overcharging can damage the battery and even cause safety accidents such as fires or explosions.

[0131] In one possible implementation, the battery status information of the mobile terminal is obtained. This battery status information includes at least: battery temperature, battery aging status, etc.

[0132] Then, based on battery status information, the charging current and charging voltage of the fast charging protocol supported by the charger are adjusted to obtain the adjusted charging current and charging voltage. For example, the charging current and charging voltage can be limited based on battery temperature. Another example is limiting the charging current and charging voltage based on the battery's aging state.

[0133] Next, based on the adjusted charging current and charging voltage, the mobile terminal is quickly charged.

[0134] As can be seen from the above embodiments, limiting the charging current and charging voltage by controlling battery temperature can prevent battery overheating and overcharging, thereby reducing safety risks. Limiting the charging current and charging voltage by controlling battery aging can slow down the aging process and extend battery life.

[0135] Furthermore, by dynamically adjusting the charging current and charging voltage, a more efficient charging speed can be provided for mobile terminals, shortening the charging time.

[0136] Please see Figure 9 , Figure 9 This is a schematic flowchart illustrating a charging method for a Qualcomm platform according to some embodiments of the present disclosure.

[0137] exist Figure 9 Taking the QC3 fast charging protocol as an example, the QC3 protocol requires shorting the D+ and D- lines for communication to determine the charging protocol between the charger and the mobile terminal. It should be noted that the DCP type in the BC1.2 charging protocol also requires shorting the D+ and D- lines.

[0138] Step S900: Initiate the automatic power-on process for the mobile terminal, then proceed to step S901.

[0139] Step S901: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S902. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S916.

[0140] Step S902: Determine whether the battery voltage of the mobile terminal is greater than the UEFI startup voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the UEFI startup voltage of the mobile terminal, proceed to step S903. If the battery voltage of the mobile terminal is greater than the UEFI startup voltage of the mobile terminal, proceed to step S906.

[0141] Step S903: Charge the mobile terminal based on the pre-charge current, then proceed to step S904.

[0142] Step S904: Determine whether the battery voltage of the mobile terminal is greater than the low battery charging animation display voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the low battery charging animation display voltage of the mobile terminal, proceed to step S903. If the battery voltage of the mobile terminal is greater than the low battery charging animation display voltage of the mobile terminal, proceed to step S905.

[0143] Step S906: Display a low battery charging animation on the mobile terminal.

[0144] In step S907, the UEFI detects the charging port type in the BC1.2 charging protocol and proceeds to step S908.

[0145] Step S908: Determine whether the charging port type is DCP. If the charging port type is DCP, proceed to step S909. If the charging port type is not DCP, proceed to step S911.

[0146] In step S909, the UEFI identifies the charging protocol supported by the charger and proceeds to step S910.

[0147] Step S910: Determine whether the charging protocol is QC3. If the charging protocol is QC3, proceed to step S912. If the charging protocol is not QC3, proceed to step S911.

[0148] Step S911: Perform standard charging on the mobile terminal, then proceed to step S913.

[0149] Step S912: Perform fast charging on the mobile terminal, then proceed to step S913.

[0150] Step S913: Based on the battery status information, adjust the charging current and charging voltage to obtain the adjusted charging current and charging voltage. The battery status information includes at least: battery temperature and battery aging status. Proceed to step S914.

[0151] Step S914: Based on the adjusted charging current and charging voltage, the mobile terminal is fast-charged, and then proceed to step S915.

[0152] Step S915: Determine whether the battery voltage of the mobile terminal is greater than the adjusted power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the adjusted power-on voltage of the mobile terminal, proceed to step S912. If the battery voltage of the mobile terminal is greater than the adjusted power-on voltage of the mobile terminal, proceed to step S917.

[0153] Step S916: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S911. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S917.

[0154] Step S917: Automatically power on the mobile terminal.

[0155] It should be noted that different fast charging protocols require different conditions, and this manual will not elaborate on the methods used for applying other fast charging protocols.

[0156] Please see Figure 10 , Figure 10 This is a schematic flowchart illustrating a charging method for a MediaTek platform according to some embodiments of the present disclosure.

[0157] exist Figure 10 Taking the QC3 fast charging protocol as an example, the QC3 protocol requires shorting the D+ and D- lines for communication to determine the charging protocol between the charger and the mobile terminal. It should be noted that the DCP type in the BC1.2 charging protocol also requires shorting the D+ and D- lines.

[0158] Step S1000: Initiate the automatic power-on process for the mobile terminal, then proceed to step S1001.

[0159] Step S1001: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S1002. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S1015.

[0160] In step S1002, the Perloader system detects the BC1.2 type and proceeds to step S1003. The Perloader system may refer to a real-time operating system on the MediaTek platform that precedes the LK system.

[0161] Step S1003: Determine whether the charging port type is DCP. If the charging port type is DCP, proceed to step S1004. If the charging port type is not DCP, proceed to step S1008.

[0162] Step S1004: Determine whether the battery voltage of the mobile terminal is greater than the charging chip voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the charging chip voltage of the mobile terminal, proceed to step S1008. If the battery voltage of the mobile terminal is greater than the charging chip voltage of the mobile terminal, proceed to step S1005.

[0163] In step S1005, the Perloader system can control the D+ and D- lines and identify the charging protocol of the charger through software simulation. Proceed to step S1006.

[0164] Step S1006: Determine whether the charging protocol is QC3. If the charging protocol is QC3, proceed to step S1007. If the charging protocol is not QC3, proceed to step S1008.

[0165] In step S1007, the LK system performs standard charging on the mobile terminal, then proceeds to step S1009. The LK system can refer to a real-time operating system on the MediaTek platform that precedes the kernel system.

[0166] In step S1008, the LK system performs fast charging on the mobile terminal, then proceeds to step S1009.

[0167] Step S1009: Based on the battery status information, adjust the charging current and charging voltage to obtain the adjusted charging current and charging voltage. The battery status information includes at least: battery temperature and battery aging status. Proceed to step S1010.

[0168] Step S1010: Based on the adjusted charging current and charging voltage, the mobile terminal is fast-charged, and then proceed to step S1011.

[0169] Step S1011: Determine whether the battery voltage of the mobile terminal is greater than the low battery charging animation display voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the low battery charging animation display voltage of the mobile terminal, proceed to step S1008. If the battery voltage of the mobile terminal is greater than the adjusted power-on voltage of the mobile terminal, proceed to step S1012.

[0170] Step S1012: Display low battery charging animation, then proceed to step S1013.

[0171] Step S1013: Determine whether the battery voltage of the mobile terminal is greater than the adjusted power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the adjusted power-on voltage of the mobile terminal, proceed to step S1008. If the battery voltage of the mobile terminal is greater than the adjusted power-on voltage of the mobile terminal, proceed to step S1015.

[0172] Step S1014: Determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal. If the battery voltage of the mobile terminal is not greater than the power-on voltage of the mobile terminal, proceed to step S1007. If the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, proceed to step S1015.

[0173] Step S1015: Automatically power on the mobile terminal.

[0174] It should be noted that different fast charging protocols require different conditions, and this manual will not elaborate on the methods used for applying other fast charging protocols.

[0175] Please see Figure 11 , Figure 11 It is based on Figure 1 A schematic flowchart illustrating another charging method based on the illustrated embodiment is shown. Figure 11 As shown, the charging method may include the following steps:

[0176] In step 1102, in response to detecting that the mobile terminal is charging while powered off, the startup mode of the mobile terminal is set to automatic power-on mode, and the reason for the power-off of the mobile terminal is obtained.

[0177] In step 1104, if the mobile terminal does not meet the automatic power-on conditions, the startup parameters of the mobile terminal are set to the power-off charging mode, and the mobile terminal is powered off and charged.

[0178] In practical applications, if the mobile terminal shuts down not because the user actively shuts it down while it is powered on, the mobile terminal usually cannot record this reason for shutdown. In this case, the mobile terminal cannot record the specific details of the shutdown reason, making it unable to determine whether to execute the automatic power-on process.

[0179] In one possible implementation, in response to detecting that the mobile terminal is charging while powered off, the startup mode of the mobile terminal is set to automatic power-on mode, and the reason for the mobile terminal's power-off is obtained.

[0180] If the mobile terminal does not meet the conditions for automatic power-on, set the mobile terminal's startup parameters to power-off charging mode and perform power-off charging on the mobile terminal.

[0181] As can be seen from the above embodiments, setting the mobile terminal's startup mode to automatic power-on mode means that automatic power-on is required by default. Then, after determining that the reason for shutdown is the user's active shutdown while the terminal is powered on, the mobile terminal's startup parameters are set to power-off charging mode, and the mobile terminal is charged while powered off. This allows the mobile terminal to determine whether to execute the automatic power-on process.

[0182] Please see Figure 12 , Figure 12 This is a flowchart illustrating a power-off charging process according to some embodiments of the present disclosure.

[0183] exist Figure 12 In step S1200, the startup mode is set to automatic power-on mode, and then proceed to step S1201.

[0184] Step S1201: In the BootLoader stage, read the Charger partition and proceed to step S1202. BootLoader can refer to a general term for small real-time operating systems that precede the Kernel system.

[0185] Step S1202: Determine if the Charger partition header is corrupted. If the Charger partition header is corrupted, proceed to step S1206; if the Charger partition header is not corrupted, proceed to step S1203.

[0186] Step S1203: Determine if the mode bit in the Charger partition is 1. If the mode bit in the Charger partition is 1, proceed to step S1204; if the mode bit in the Charger partition is not 1, proceed to step S1205.

[0187] Step S1204: Set the startup mode to power-off charging mode, then proceed to step S1205.

[0188] Step S1205: Set the Charger partition and proceed to step S1206.

[0189] Step S1206: Set the startup mode to automatic power-on mode, then proceed to step S1207.

[0190] Step S1207: In the RootFs stage, read the boot mode and proceed to step S1208. RootFs can refer to the root file system of the Linux system, which is the first file system mounted when the Linux system boots.

[0191] Step S1208: Determine whether the startup mode is a power-off charging mode. If the startup mode is a power-off charging mode, proceed to step S1210; if the startup mode is not a power-off charging mode, proceed to step S1209.

[0192] Step S1209: Automatically power on the mobile terminal.

[0193] Step S1210: Power off and charge the mobile terminal.

[0194] Furthermore, after the mobile terminal automatically powers on, if the user actively powers off the mobile terminal, the startup mode is set to power-off charging mode, and then the mobile terminal is powered off again.

[0195] Corresponding to the aforementioned embodiments of the charging method, this disclosure also provides embodiments of the charging device.

[0196] Please see Figure 13 , Figure 13 This is a schematic block diagram illustrating a charging device according to some embodiments of the present disclosure. Figure 13 As shown, the device may include:

[0197] The acquisition module 1302 is used to acquire the reason for the shutdown of the mobile terminal in response to detecting that the mobile terminal is charging while it is powered off.

[0198] The determining module 1304 is used to determine whether the mobile terminal meets the automatic power-on conditions based on the reason for the mobile terminal's shutdown.

[0199] The startup module 1306 is used to start the automatic power-on process for the mobile terminal if the mobile terminal meets the automatic power-on conditions, and to perform automatic power-on processing on the mobile terminal.

[0200] Please see Figure 14 , Figure 14 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0201] like Figure 14 As shown, the determining module 1304 includes:

[0202] The first determining module 1402 is used to determine whether the reason for the shutdown of the mobile terminal is an active shutdown by the user while the terminal is powered on.

[0203] The second determining module 1404 is used to determine that the mobile terminal meets the automatic power-on conditions if the reason for the shutdown of the mobile terminal is not an active shutdown by the user while the terminal is powered on.

[0204] Please see Figure 15 , Figure 15 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0205] like Figure 15 As shown, the startup module 1306 includes:

[0206] The judgment module 1502 is used to further determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions.

[0207] The processing module 1504 is used to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the power-on voltage, and to perform automatic power-on processing on the mobile terminal.

[0208] Please see Figure 16 , Figure 16 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0209] like Figure 16 As shown, the judgment module 1502 includes:

[0210] The judgment submodule 1602 is used to determine whether the battery voltage of the mobile terminal is greater than the operating system startup voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions.

[0211] The charging module 1604 is used to charge the mobile terminal based on a pre-charging current if the battery voltage is not greater than the operating system startup voltage, until the battery voltage is detected to be greater than the operating system startup voltage, and then start the operating system so that the operating system can recognize the charging protocol supported by the charger.

[0212] The fast charging module 1606 is used to fast charge the mobile terminal based on the fast charging protocol if the operating system recognizes that the charging protocol supported by the charger is a fast charging protocol, and further determine whether the battery voltage is greater than the fast charging start-up voltage of the mobile terminal.

[0213] The processing module 1504 includes:

[0214] The processing submodule 1608 is used to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the fast charging power-on voltage, and to perform automatic power-on processing on the mobile terminal.

[0215] Please see Figure 17 , Figure 17 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0216] like Figure 17 As shown, the judgment module 1502 includes:

[0217] The judgment submodule 1702 is used to determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions.

[0218] The identification module 1704 is used to start the operating system if the battery voltage is not greater than the power-on voltage, so that the operating system can identify the charging protocol supported by the charger and determine whether the battery voltage is greater than the fast charging voltage of the mobile terminal.

[0219] The fast charging module 1706 is used to fast charge the mobile terminal based on the fast charging protocol if the battery voltage is greater than the fast charging voltage and the charging protocol supported by the charger is the fast charging protocol, and further determine whether the battery voltage is greater than the fast charging start-up voltage of the mobile terminal.

[0220] The processing module 1504 includes:

[0221] The processing submodule 1708 is used to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the fast charging power-on voltage, and to perform automatic power-on processing on the mobile terminal.

[0222] Please see Figure 18 , Figure 18 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0223] like Figure 18 As shown, the device further includes:

[0224] The playback module 1802 is used to play low-battery charging display data on the mobile terminal in a loop for a set duration if the battery voltage is detected to be greater than the data display voltage of the mobile terminal.

[0225] Please see Figure 19 , Figure 19 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0226] like Figure 19 As shown, the fast charging module 1606 includes:

[0227] The acquisition module 1902 is used to acquire the battery status information of the mobile terminal; the battery status information includes at least: battery temperature and battery aging status;

[0228] The adjustment module 1904 is used to adjust the charging current and charging voltage of the fast charging protocol supported by the charger based on the battery status information, so as to obtain the adjusted charging current and charging voltage.

[0229] The fast charging submodule 1906 is used to fast charge the mobile terminal based on the adjusted charging current and charging voltage.

[0230] Please see Figure 20 , Figure 20 It is based on Figure 13 A schematic block diagram of another charging device is shown based on the embodiment illustrated.

[0231] like Figure 20 As shown, the acquisition module 1302 includes:

[0232] The first setting module 2002 is used to, in response to detecting that the mobile terminal is charging while it is powered off, set the startup mode of the mobile terminal to automatic power-on mode and obtain the reason for the power-off of the mobile terminal.

[0233] The device further includes:

[0234] The second setting module 2004 is used to set the startup parameters of the mobile terminal to the power-off charging mode and perform power-off charging on the mobile terminal if the mobile terminal does not meet the automatic power-on conditions.

[0235] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments of the relevant methods, and will not be elaborated upon here.

[0236] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0237] Accordingly, this disclosure also provides a user equipment, including: a processor;

[0238] Memory used to store processor-executable instructions;

[0239] The processor is used to implement the above-described charging method.

[0240] Accordingly, this disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described charging method.

[0241] like Figure 21 As shown, Figure 21 This is a schematic block diagram illustrating a charging device 2100 according to an embodiment of the present disclosure. For example, device 2100 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0242] Reference Figure 21 The device 2100 may include one or more of the following components: a processing component 2102, a memory 2104, a power supply component 2106, a multimedia component 2108, an audio component 2110, an input / output (I / O) interface 2112, a sensor component 2114, and a communication component 2116.

[0243] Processing component 2102 typically controls the overall operation of device 2100, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 2102 may include one or more processors 2120 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 2102 may include one or more modules to facilitate interaction between processing component 2102 and other components. For example, processing component 2102 may include a multimedia module to facilitate interaction between multimedia component 2108 and processing component 2102.

[0244] Memory 2104 is configured to store various types of data to support the operation of device 2100. Examples of such data include instructions for any application or method operating on device 2100, contact data, phonebook data, messages, pictures, videos, etc. Memory 2104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0245] Power supply component 2106 provides power to various components of device 2100. Power supply component 2106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 2100.

[0246] Multimedia component 2108 includes a screen that provides an output interface between the device 2100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 2108 includes a front-facing camera and / or a rear-facing camera. When the device 2100 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0247] Audio component 2110 is configured to output and / or input audio signals. For example, audio component 2110 includes a microphone (MIC) configured to receive external audio signals when device 2100 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 2104 or transmitted via communication component 2116. In some embodiments, audio component 2110 also includes a speaker for outputting audio signals.

[0248] I / O interface 2112 provides an interface between processing component 2102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0249] Sensor assembly 2114 includes one or more sensors for providing status assessments of various aspects of device 2100. For example, sensor assembly 2114 may detect the on / off state of device 2100, the relative positioning of components such as the display and keypad of device 2100, changes in the position of device 2100 or a component of device 2100, the presence or absence of user contact with device 2100, the orientation or acceleration / deceleration of device 2100, and temperature changes of device 2100. Sensor assembly 2114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 2114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 2114 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0250] Communication component 2116 is configured to facilitate wired or wireless communication between device 2100 and other devices. Device 2100 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or combinations thereof. In some embodiments of this disclosure, communication component 2116 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of this disclosure, communication component 2116 further includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0251] In some embodiments of this disclosure, the apparatus 2100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described in any of the above embodiments.

[0252] In some embodiments of this disclosure, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 2104 including instructions, which can be executed by a processor 2120 of device 2100 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0253] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this disclosure can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented in hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this disclosure.

[0254] In the above detailed description, reference has been made to the accompanying drawings, which illustrate specific aspects of this disclosure by way of illustration. In this regard, terms indicating direction or positional relationship, such as “center,” “longitudinal,” “lateral,” “length,” “width,” “thickness,” “upper,” “lower,” “front,” “rear,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” “outer,” “clockwise,” “counterclockwise,” “axial,” “radial,” and “circumferential,” are used with reference to the orientation of the described figures. Since components of the described device can be positioned in multiple different orientations, directional terms are used for illustrative purposes and not for limitation. It should be understood that other aspects can be utilized and structural or logical changes can be made without departing from the concept of this disclosure. Therefore, the following detailed description should not be considered limiting.

[0255] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term “and / or” includes any one of the relevant listed items and any combination of any two or more; similarly, “at least one of…” includes any one of the relevant listed items and any combination of any two or more.

[0256] It should be understood that, unless otherwise expressly specified and limited, the terms "joining," "attaching," "installing," "connecting," "linking," "fixing," etc., used in the embodiments of this disclosure should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms herein based on the specific circumstances.

[0257] Furthermore, the term "above" as used herein with respect to components, elements, or material layers formed or located "above" a surface may be used to indicate that the component, element, or material layer is "indirectly" positioned (e.g., placed, formed, deposited, etc.) on the surface such that one or more additional components, elements, or layers are arranged between the surface and the component, element, or material layer. However, the term "above" as used with respect to components, elements, or material layers formed or located "above" a surface may also optionally have a specific meaning: that the component, element, or material layer is "directly" positioned (e.g., placed, formed, deposited, etc.) on the surface, for example, in direct contact with the surface.

[0258] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature. In the description herein, “a plurality” means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0259] It should be understood that spatial relative terms, such as “above,” “upper,” “below,” and “lower,” are used herein to describe the relationship between one element and another shown in the figures. In addition to the orientation depicted in the figures, these spatial relative terms are also intended to encompass different orientations of the device in use or operation. For example, if the device in the figures is flipped, an element described as “above” or “upper” relative to another element would be “below” or “lower” relative to that other element. Thus, depending on the spatial orientation of the device, the term “above” encompasses both above and below orientations. Devices may have other orientations (e.g., rotated 90 degrees or in other orientations), and the spatial relative terms used herein should be interpreted accordingly.

[0260] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0261] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding the specification and drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0262] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0263] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

[0264] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0265] The methods and apparatus provided in the embodiments of this disclosure have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this disclosure. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this disclosure. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this disclosure. Therefore, the content of this specification should not be construed as a limitation of this disclosure.

Claims

1. A charging method, characterized in that, include: In response to detecting that a mobile terminal is charging while powered off, the reason for the mobile terminal being powered off is obtained; Based on the reason for the mobile terminal's shutdown, determine whether the mobile terminal meets the conditions for automatic power-on; If the mobile terminal meets the conditions for automatic power-on, the automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

2. The method according to claim 1, characterized in that, Based on the reason for the mobile terminal's shutdown, determine whether the mobile terminal meets the conditions for automatic power-on, including: Determine whether the reason for the shutdown of the mobile terminal is that the user actively shut it down while it was powered on; If the reason for the shutdown of the mobile terminal is not a user's active shutdown while the terminal is powered on, then the mobile terminal is determined to meet the conditions for automatic power-on.

3. The method according to claim 1, characterized in that, If the mobile terminal meets the conditions for automatic power-on, an automatic power-on process is initiated for the mobile terminal to perform automatic power-on processing, including: If the mobile terminal meets the automatic power-on conditions, it is further determined whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal; If the battery voltage is greater than the power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

4. The method according to claim 3, characterized in that, If the mobile terminal meets the automatic power-on conditions, further determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, including: If the mobile terminal meets the automatic power-on conditions, determine whether the battery voltage of the mobile terminal is greater than the operating system startup voltage of the mobile terminal; If the battery voltage is not greater than the operating system startup voltage, the mobile terminal is charged based on the pre-charge current until the battery voltage is detected to be greater than the operating system startup voltage, at which point the operating system is started so that the operating system can recognize the charging protocol supported by the charger. If the operating system recognizes that the charging protocol supported by the charger is a fast charging protocol, it performs fast charging on the mobile terminal based on the fast charging protocol, and further determines whether the battery voltage is greater than the fast charging startup voltage of the mobile terminal. If the battery voltage is greater than the power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal, including: If the battery voltage is greater than the fast charging power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

5. The method according to claim 3, characterized in that, If the mobile terminal meets the automatic power-on conditions, further determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal, including: If the mobile terminal meets the automatic power-on conditions, determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal; If the battery voltage is not greater than the power-on voltage, the operating system is started so that the operating system can identify the charging protocol supported by the charger and determine whether the battery voltage is greater than the fast charging voltage of the mobile terminal. If the battery voltage is greater than the fast charging voltage, and the charger supports a fast charging protocol, the mobile terminal is fast charged based on the fast charging protocol, and it is further determined whether the battery voltage is greater than the fast charging startup voltage of the mobile terminal. If the battery voltage is greater than the power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal, including: If the battery voltage is greater than the fast charging power-on voltage, an automatic power-on process for the mobile terminal is initiated to automatically power on the mobile terminal.

6. The method according to claim 5, characterized in that, The method further includes: If the battery voltage is detected to be greater than the data display voltage of the mobile terminal, low battery charging display data is played repeatedly on the mobile terminal for a set duration.

7. The method according to claim 4 or claim 5, characterized in that, Based on the fast charging protocol, fast charging of the mobile terminal includes: Obtain the battery status information of the mobile terminal; the battery status information includes at least: battery temperature and battery aging status; Based on the battery status information, the charging current and charging voltage of the fast charging protocol supported by the charger are adjusted to obtain the adjusted charging current and charging voltage. Based on the adjusted charging current and charging voltage, the mobile terminal is quickly charged.

8. The method according to claim 1, characterized in that, In response to detecting that a mobile terminal is charging while powered off, the reason for the mobile terminal's power-off is obtained, including: In response to detecting that the mobile terminal is charging while powered off, the startup mode of the mobile terminal is set to automatic power-on mode, and the reason for the power-off of the mobile terminal is obtained. The method further includes: If the mobile terminal does not meet the conditions for automatic power-on, the startup parameters of the mobile terminal are set to power-off charging mode, and the mobile terminal is powered off and charged.

9. A charging device, characterized in that, include: The acquisition module is used to acquire the reason for the shutdown of the mobile terminal in response to detecting that the mobile terminal is charging while it is powered off. The determination module is used to determine whether the mobile terminal meets the conditions for automatic power-on based on the reason for the mobile terminal's power-off. The startup module is used to initiate an automatic power-on process for the mobile terminal if the mobile terminal meets the automatic power-on conditions, and to perform automatic power-on processing on the mobile terminal.

10. The apparatus according to claim 9, characterized in that, The determining module includes: The first determining module is used to determine whether the reason for the shutdown of the mobile terminal is an active shutdown by the user while the terminal is powered on. The second determining module is used to determine that the mobile terminal meets the automatic power-on conditions if the reason for the shutdown of the mobile terminal is not an active shutdown by the user while the terminal is powered on.

11. The apparatus according to claim 9, characterized in that, The startup module includes: The judgment module is used to further determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions. The processing module is configured to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the power-on voltage, and to perform automatic power-on processing on the mobile terminal.

12. The apparatus according to claim 11, characterized in that, The judgment module includes: The judgment submodule is used to determine whether the battery voltage of the mobile terminal is greater than the operating system startup voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions. A charging module is used to charge the mobile terminal based on a pre-charging current if the battery voltage is not greater than the operating system startup voltage, until the battery voltage is detected to be greater than the operating system startup voltage, and then start the operating system so that the operating system can recognize the charging protocol supported by the charger. A fast charging module is used to fast charge the mobile terminal based on the fast charging protocol if the operating system recognizes that the charging protocol supported by the charger is a fast charging protocol, and further determine whether the battery voltage is greater than the fast charging start-up voltage of the mobile terminal. The processing module includes: The processing submodule is used to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the fast charging power-on voltage, and to perform automatic power-on processing on the mobile terminal.

13. The apparatus according to claim 11, characterized in that, The judgment module includes: The determination submodule is used to determine whether the battery voltage of the mobile terminal is greater than the power-on voltage of the mobile terminal if the mobile terminal meets the automatic power-on conditions. The identification module is used to start the operating system if the battery voltage is not greater than the power-on voltage, so that the operating system can identify the charging protocol supported by the charger and determine whether the battery voltage is greater than the fast charging voltage of the mobile terminal. A fast charging module is used to fast charge the mobile terminal based on the fast charging protocol if the battery voltage is greater than the fast charging voltage and the charger supports a fast charging protocol, and further determine whether the battery voltage is greater than the fast charging startup voltage of the mobile terminal. The processing module includes: The processing submodule is used to initiate an automatic power-on process for the mobile terminal if the battery voltage is greater than the fast charging power-on voltage, and to perform automatic power-on processing on the mobile terminal.

14. The apparatus according to claim 13, characterized in that, The device further includes: The playback module is used to loop low-battery charging display data on the mobile terminal for a set duration if the detected battery voltage is greater than the data display voltage of the mobile terminal.

15. The apparatus according to claim 12 or claim 13, characterized in that, The fast charging module includes: The acquisition module is used to acquire the battery status information of the mobile terminal; the battery status information includes at least: battery temperature and battery aging status; The adjustment module is used to adjust the charging current and charging voltage of the fast charging protocol supported by the charger based on the battery status information, so as to obtain the adjusted charging current and charging voltage. The fast charging submodule is used to fast charge the mobile terminal based on the adjusted charging current and charging voltage.

16. The apparatus according to claim 9, characterized in that, The acquisition module includes: The first setting module is used to, in response to detecting that the mobile terminal is charging while it is powered off, set the startup mode of the mobile terminal to automatic power-on mode and obtain the reason for the power-off of the mobile terminal. The device further includes: The second setting module is used to set the startup parameters of the mobile terminal to the power-off charging mode and perform power-off charging on the mobile terminal if the mobile terminal does not meet the automatic power-on conditions.

17. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is used to implement the method according to any one of claims 1 to 8.

18. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to perform the method according to any one of claims 1 to 8.