CN115514031A - Charging control method and device, computer equipment and storage medium - Google Patents

Charging control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115514031A
CN115514031A CN202110691668.5A CN202110691668A CN115514031A CN 115514031 A CN115514031 A CN 115514031A CN 202110691668 A CN202110691668 A CN 202110691668A CN 115514031 A CN115514031 A CN 115514031A
Authority
CN
China
Prior art keywords
battery
voltage
charging
terminal equipment
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110691668.5A
Other languages
Chinese (zh)
Inventor
李志杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110691668.5A priority Critical patent/CN115514031A/en
Publication of CN115514031A publication Critical patent/CN115514031A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0069Charging or discharging for charge maintenance, battery initiation or rejuvenation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging control method and device, terminal equipment and a storage medium, and relates to the technical field of charging. The method comprises the following steps: under the condition that the terminal equipment is in a shutdown state, determining to enter a first charging stage for charging a battery; in the process of the first charging stage, when the battery voltage of the terminal equipment is detected to be greater than the first voltage, the battery is stopped to be charged and the first charging stage is ended; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, the battery voltage is enough when the terminal equipment is restarted by detecting the magnitude relation between the battery voltage after the back-off and the second voltage, the phenomenon that the terminal equipment is repeatedly restarted when being charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.

Description

Charging control method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of charging technologies, and in particular, to a charging control method and apparatus, a computer device, and a storage medium.
Background
Along with the continuous development of science and technology, people's life rhythm is faster and faster, and the terminal equipment who uses among the daily life mostly all supplies power through the inside battery of self, and these terminal equipment have also all configured the function of charging to the battery.
At present, in a terminal device, a charging control module is usually integrated in an Analog Digital Signal Processor (ADSP), and the ADSP controls a charging flow of a battery in the terminal device. When the terminal device is in a shutdown state, it is usually detected whether the battery voltage of the battery is greater than the lowest starting voltage, and when the battery voltage is not less than the lowest starting voltage, the terminal device is stopped from being charged and is controlled to be started. However, as the number of times of using the battery increases, the aging of the battery may affect the charging process, and after the charging is stopped, the battery voltage is lower than the minimum starting voltage when the terminal device is ready to be controlled to start, which may cause repeated restart of the terminal device, resulting in a problem of low starting efficiency of the terminal device during the charging process.
Disclosure of Invention
The embodiment of the application provides a charging control method and device, computer equipment and a storage medium, which can reduce the phenomenon that terminal equipment is repeatedly restarted when charging is carried out under the shutdown condition, and improve the starting efficiency of the terminal equipment. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a charging control method, which is applied to a terminal device, and the method includes:
under the condition that the terminal equipment is in a shutdown state, when the terminal equipment is detected to be accessed to a charging device for charging, determining to enter a first charging stage for charging a battery;
in the process of the first charging stage, if it is detected that the voltage of the battery of the terminal equipment is greater than a first voltage, stopping charging the battery, and ending the first charging stage, wherein the first voltage is determined according to the lowest starting voltage at which the terminal equipment can be started and a first threshold, and the first threshold is related to the aging degree of the battery;
and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
On the other hand, an embodiment of the present application provides a charging control apparatus, which is applied to a terminal device, and the apparatus includes:
the stage determining module is used for determining to enter a first charging stage for charging a battery when the terminal equipment is detected to be accessed to a charging device for charging under the condition that the terminal equipment is in a shutdown state;
a stage ending module, configured to, during the first charging stage, stop charging the battery if it is detected that a battery voltage of the terminal device is greater than a first voltage, and end the first charging stage, where the first voltage is determined according to a lowest starting voltage at which the terminal device can be started and a first threshold, and the first threshold is related to an aging degree of the battery;
and the charging control module is used for starting the terminal equipment and continuously charging the battery if the battery voltage of the battery is greater than a second voltage after the battery falls back, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
In another aspect, an embodiment of the present application provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the charging control method according to the above aspect.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the charging control method according to the above aspect.
In another aspect, the present application provides a computer program product, which when run on a computer, causes the computer to execute the charging control method according to the above one aspect.
In another aspect, an application distribution platform is provided in the embodiments of the present application, and is configured to distribute a computer program product, where when the computer program product runs on a computer, the computer is caused to execute the charging control method according to the above aspect.
The technical scheme provided by the embodiment of the application can at least comprise the following beneficial effects:
under the condition that the terminal equipment is in a shutdown state, determining to enter a first charging stage for charging a battery; in the process of the first charging stage, when the battery voltage of the terminal equipment is detected to be greater than a first voltage, the battery is stopped to be charged, and the first charging stage is ended, wherein the first voltage is determined according to the lowest starting voltage capable of starting the terminal equipment and a first threshold value, and the first threshold value is related to the aging degree of the battery; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, in the first charging stage, if the voltage of the battery is larger than the first voltage, the battery is stopped to be charged and the first charging stage is ended, the first voltage can be adjusted according to the aging degree of the battery, so that the situation that the battery is started up enough to the terminal equipment after the battery stops being charged is ensured, the phenomenon that the terminal equipment is restarted repeatedly when the terminal equipment is charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a charging control structure of a terminal device according to an exemplary embodiment of the present application;
FIG. 2 is a schematic flow chart of a charging scheme as provided by an example of the present application;
FIG. 3 is a flowchart illustrating a method of controlling charging according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a method of controlling charging according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a method of controlling charging according to an exemplary embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating a method of controlling charging according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a charging control apparatus according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The scheme provided by the application can be used in a real scene that people charge the terminal equipment when using the terminal equipment in daily life, and for convenience of understanding, a few terms and application scenes related to the embodiment of the application are simply introduced below.
Software Interface (UEFI) between operating system and system Firmware: also known as a unified extensible firmware interface, is a standard that describes type interfaces. Such interfaces are typically used for automatic loading of a terminal device from a pre-booted operating environment onto an operating system.
With the continuous development of scientific technology, more and more scenes are used for people in daily life, the terminal equipment supplies power to the terminal equipment through a battery, and when the battery power of the terminal equipment is insufficient, the battery of the terminal equipment needs to be charged.
At present, in a battery charging technology, most of the ways of charging a battery are controlled by an ADSP chip, please refer to fig. 1, which shows a schematic view of a charging control structure of a terminal device according to an exemplary embodiment of the present application. As shown in fig. 1, the charging control architecture includes a central processing unit CPU 101 and an Analog Digital signal processing chip (ADSP) 102.
An operating system is usually operated in a central processing unit CPU 101 of the terminal device, the operating system includes a kernel layer 101a and a frame layer 101b, and the CPU 101 and the ADSP 102 are electrically connected through a GLINK bus. The charging logic in fig. 1 is controlled by ADSP 102, and in the charging process, ADSP 102 may detect the insertion and extraction of the charger, identify the type of the charger, and send a message to notify CPU 101 of the relevant charging status through the GLINK bus.
Optionally, the charging logic control may be generally directly implemented in a kernel layer in the CPU 101, where the kernel layer is operable and controlled by the ADSP, and the ADSP is loaded during charging. When the terminal equipment is in a shutdown state, the startup of the charging logic in the charging process drives the startup of the terminal equipment, and the terminal equipment is adjusted from the shutdown state to the startup state.
Referring to fig. 2, a schematic flow chart of a charging scheme provided by an example of the present application is shown. The flow may be applied to the architecture shown in fig. 1, and controlled by the ADSP of the terminal device. As shown in fig. 2, the process may include the following steps:
step 201, when the charger is inserted, it is detected whether the battery voltage is greater than 3.35 volts.
If yes, go to step 202, otherwise go to step 203.
Step 202, the boot process is executed continuously.
Step 203, the battery is charged until the battery voltage is higher than 3.4 volts.
In step 204, the computer is powered off and the power-on process is executed again.
That is to say, in the above process, if the battery of the terminal device is not over-discharged during the use process, that is, the battery voltage is greater than 3.35V, the terminal device will continue to execute the boot process when the charger is plugged to charge the terminal device, and the terminal device is directly booted. If the battery of the terminal equipment can charge the battery firstly when the initial battery voltage is less than 3.35V, and the battery is charged to 3.4V (or higher), the terminal equipment is shut down firstly and continues to be started after the shutdown because the terminal equipment is plugged with the charger. In the above scheme, when the battery is not aged or the number of times of use is not large (e.g., less than 10 times), the internal resistance of the battery is small, and when the terminal device continues to be started up, the battery voltage obtained again by the terminal device is between 3.35V and 3.4V, so that the terminal device can be started up successfully.
However, in daily life, with the increase of the number of times of using the battery, the battery may age or be damaged sooner or later, and when the battery is damaged or aged, and the like, in the above flow, step 203 is usually implemented by UEFI-mounting the ADSP, and after charging to 3.4V, the core needs to re-mount the ADSP, so that the terminal device needs to be shut down and restarted. In consideration of the aforementioned problem of battery damage or aging, in the process of performing shutdown and restarting the startup again, if the battery voltage is reduced from 3.4V to below 3.35V, the above cycle is re-entered, which causes the phenomena of failed startup and repeated restart of the terminal equipment.
In order to avoid the phenomenon of repeated restarting in the charging process caused by the aging of a battery of the terminal equipment, the starting efficiency of the terminal equipment is improved, and the application provides a solution. When the terminal equipment is in a shutdown state, a first threshold value related to the aging degree of the battery is selected during charging, and a first voltage serving as a detection condition is determined.
Referring to fig. 3, a flowchart of a method of controlling charging according to an exemplary embodiment of the present disclosure is shown. The method is applied to a terminal device, the terminal device may include a charging control architecture as shown in fig. 1, as shown in fig. 3, and the method includes the following steps:
step 301, when the terminal device is in a shutdown state and it is detected that the terminal device is connected to a charging apparatus for charging, determining to enter a first charging stage of charging the battery.
Optionally, the charging device may be a wire-type charger, or may be a wireless charging-type charger. The terminal device determines to enter a first charging phase for the battery when detecting that the charging device is inserted and charging is performed. Before entering the first charging phase, the terminal device may count that the power-on step has been performed. The first charging phase refers to a phase of charging through the unified extensible firmware interface UEFI.
Step 302, in the process of the first charging stage, if it is detected that the battery voltage of the terminal device is greater than the first voltage, the battery charging is stopped, and the first charging stage is ended, where the first voltage is determined according to the lowest start voltage at which the terminal device can be started and a first threshold, and the first threshold is related to the aging degree of the battery.
Optionally, in the process of the first charging stage, the terminal device may obtain a battery voltage, detect a magnitude relationship between the battery voltage and the first voltage, stop charging the battery if it is detected that the battery voltage is greater than the first voltage, and end the first charging stage. Optionally, the first charging phase may be ended by shutting down the terminal device, and then ending the first charging phase that has been entered.
Optionally, the minimum start voltage is a minimum voltage that the battery needs to provide when the terminal device is switched from the power-off state to the power-on state. The first threshold is related to the degree of aging of the battery. That is, the degree of degradation of the terminal device battery may affect the magnitude of the first threshold, and thus the magnitude of the first voltage. For example, the higher the degree of degradation of the battery, the larger the first threshold value.
Optionally, the first voltage may be a sum of the lowest starting voltage and the first threshold, or a value calculated by the lowest starting voltage and the first threshold according to a first formula, where the first formula may be preset in the terminal device by a developer or an operation and maintenance person. The present application does not limit the manner of calculating the first voltage.
Step 303, if the battery voltage of the battery is greater than a second voltage after the battery voltage falls back, the terminal device is started, and the battery is continuously charged, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
Optionally, if the battery voltage of the battery is still greater than the second voltage after the fallback, the terminal device is started and continues to be charged. Here, the fallback refers to a process of decreasing the battery voltage after the battery stops charging from step 302. Because the battery is damaged or aged, the values after the voltage of the battery falls back may be different, so if the value after the voltage of the battery falls back is still greater than the second voltage, it indicates that the battery can ensure the normal starting process of the terminal device, and then the terminal device is started and continues to be charged.
In summary, when the terminal device is in the shutdown state, it is determined to enter the first charging stage of charging the battery; in the process of the first charging stage, when the battery voltage of the terminal equipment is detected to be greater than a first voltage, the battery is stopped to be charged, and the first charging stage is ended, wherein the first voltage is determined according to the lowest starting voltage capable of starting the terminal equipment and a first threshold value, and the first threshold value is related to the aging degree of the battery; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, in the first charging stage, if the battery voltage is greater than the first voltage, the battery is stopped to be charged, the first charging stage is ended, and the size relation between the returned battery voltage and the second voltage is detected again, so that the battery voltage is sufficient when the terminal equipment is restarted, the phenomenon that the terminal equipment is restarted repeatedly when the terminal equipment is charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.
In a possible implementation manner, the terminal device may further adjust the first threshold, and continue to reset the first threshold according to a cyclic manner, so as to dynamically adjust the first voltage in the charging process, thereby improving flexibility and extensibility of the scheme.
Referring to fig. 4, a flowchart of a method of controlling charging according to an exemplary embodiment of the present disclosure is shown. The method is applied to a terminal device, the terminal device may include a charging control architecture as shown in fig. 1, and as shown in fig. 4, the method includes the following steps:
step 401, under the condition that the terminal device is in a shutdown state, when it is detected that the terminal device is accessed to a charging device for charging, obtaining battery parameters of the battery, where the battery parameters are used for reflecting the aging degree of the battery.
The charging device may be a wire-type charger or a wireless charging-type charger. When the terminal device detects that the charging device is inserted and performs charging, the terminal device may initialize the UEFI, and the UEFI may obtain the battery parameters of the battery through an Analog-to-digital converter (ADC). Optionally, the battery parameter includes one or more of a battery temperature, a battery aging coefficient, a battery charge/discharge frequency, and a battery internal resistance.
Because the internal resistances of the batteries are different under different battery parameters, the voltage of the batteries drops back when the batteries drop back subsequently. For example, when the battery temperature is high, the internal resistance of the battery is high, and when the battery temperature is low, the internal resistance of the battery is low. Or, the larger the battery aging coefficient is, the more serious the battery aging degree is, the larger the battery internal resistance is, the smaller the battery aging coefficient is, the lighter the battery aging degree is, and the smaller the battery internal resistance is. Therefore, when the terminal device initializes UEFI, the battery parameters of the battery are read in advance through the ADC.
Step 402, according to the battery parameter, obtaining a first threshold corresponding to the battery parameter.
Optionally, the terminal device queries a corresponding correspondence table according to the battery parameter, and obtains a first threshold corresponding to the battery parameter. Please refer to table 1, which shows a correspondence table between a battery parameter and a first threshold according to an exemplary embodiment of the present application, where the correspondence table includes a correspondence between the battery parameter and the first threshold.
Parameters of battery First threshold value
Parameter of battery 1 First threshold value of
Parameter two of battery First threshold value of two
Parameter III of the Battery First threshold value of three
…… ……
TABLE 1
As shown in table 1, when the terminal device obtains that the battery parameter is the battery parameter three, the value of the first threshold corresponding to the battery parameter obtained by querying table 1 is the first threshold three, so as to obtain the corresponding first threshold.
Optionally, in this step, the terminal device may further determine a parameter interval of the battery parameter according to the battery parameter, and obtain the first threshold corresponding to the parameter interval according to the parameter interval. For example, the battery parameter is a battery temperature, and the terminal device may further determine a temperature interval of the battery temperature according to the battery temperature, and obtain the first threshold corresponding to the temperature interval according to the temperature interval. Please refer to table 2, which shows a correspondence table between a temperature interval and a first threshold according to an exemplary embodiment of the present application, where the correspondence table includes a correspondence between the temperature interval and the first threshold.
Temperature interval First threshold value
Temperature interval one First threshold value of one
Temperature interval two First threshold value of two
Temperature interval three First threshold value of three
…… ……
TABLE 2
As shown in table 2, when the terminal device obtains the battery temperature, and it is determined that the temperature section of the battery temperature is the second section according to the battery temperature, the first threshold value corresponding to the temperature section is obtained by looking up table 2, and thus the first threshold value corresponding to the temperature section is obtained. For example, the temperature range is greater than 16 degrees, the first threshold value is 50mv (millivolts), the temperature range is 12 degrees to 16 degrees, the first threshold value is 75mv, the temperature range is less than 12 degrees, and the first threshold value is 100mv. When the terminal device obtains that the battery temperature is 8 degrees, the temperature interval of the battery temperature is determined to be three (less than 12 degrees) according to the battery temperature, and the first threshold determined by the terminal device is 100mv.
In a possible implementation manner, when the battery parameter includes a plurality of types, the correspondence of the correspondence table may also be increased. Please refer to table 3, which shows another correspondence table between the first battery parameter, the second battery parameter and the first threshold according to an exemplary embodiment of the present application, where the correspondence table includes a correspondence between the first battery parameter, the second battery parameter and the first threshold.
Figure BDA0003127018710000061
TABLE 3
As shown in table 3, when the battery parameters obtained by the terminal device include a first battery parameter and a second battery parameter, the parameter values obtained by the terminal device are a first battery parameter i and a second battery parameter i, and the terminal device obtains a first threshold value corresponding to the temperature interval by querying table 3 according to the first battery parameter i and the second battery parameter i, which is a first threshold value six.
Step 403, determining a first voltage according to the first threshold and the lowest starting voltage.
The minimum starting voltage is the minimum voltage required to be provided by the battery when the terminal equipment is switched from the shutdown state to the startup state. Optionally, the terminal device may determine the first voltage according to a sum of the first threshold and the lowest start voltage. For example, the lowest starting voltage of the terminal device is 3.35V, and the first threshold determined in the above steps is 100mv, then the terminal device sums the lowest starting voltage and the first threshold, and the resulting first voltage is 3.45V.
In a possible implementation manner, a developer or an operation and maintenance person sets a calculation formula in the terminal device in advance, and the terminal device may further bring the acquired first threshold and the acquired lowest starting voltage into the calculation formula to calculate the first voltage. For example, the calculation formula is y = kx + b, where y denotes a first voltage, x is a first threshold value, b is a lowest activation voltage, and k is a coefficient for adjusting the first threshold value. Alternatively, k may be determined by a charging current, a charging voltage, or the like of the terminal device.
At step 404, the battery voltage of the terminal device is read.
Optionally, the UEFI for initialization may read a battery voltage of the terminal device, and detect the battery voltage.
Step 405, when the battery voltage of the terminal device is not greater than the lowest starting voltage, determining to enter a first charging stage of charging the battery.
The first charging stage is a stage of charging through a unified extensible firmware interface UEFI. When the voltage of the battery is not greater than the lowest starting voltage, the voltage which can be provided by the battery cannot meet the requirement of the terminal equipment when the terminal equipment is switched from the shutdown state to the startup state, and the first charging stage for charging the battery is determined to enter, namely, the terminal equipment firstly enters the first charging stage. In a first charging phase, UEFI may load ADSP and control ADSP via UEFI to charge the battery.
Optionally, when the voltage of the battery is greater than the minimum starting voltage, the voltage that the battery can provide can meet the requirement when the terminal device is switched from the shutdown state to the startup state, and the terminal device is directly started up without entering the first charging stage and directly entering the second charging stage.
Step 406, in the process of the first charging stage, if it is detected that the battery voltage of the terminal device is greater than the first voltage, stopping charging the battery, and ending the first charging stage, where the first voltage is determined according to the lowest starting voltage at which the terminal device can be started and a first threshold, and the first threshold is related to the aging degree of the battery.
Optionally, in the process of the first charging stage, the terminal device may continue to collect the battery voltage of the terminal device, and when the battery voltage of the terminal device is greater than the first voltage, the battery charging is stopped, and the first charging stage is ended. That is, in the process of the first charging phase, the terminal device may obtain the battery voltage, detect the magnitude relationship between the battery voltage and the first voltage, stop charging the battery if it is detected that the battery voltage is greater than the first voltage, and end the first charging phase, where optionally, ending the first charging phase may refer to stopping charging the battery through UEFI control. The terminal device can acquire the battery voltage in real time or periodically.
Optionally, in the process of the first charging phase, if it is detected that the battery voltage of the terminal device is not greater than the first voltage, the battery is continuously charged in the first charging phase.
Step 407, if the battery voltage of the battery is greater than the second voltage after the first duration of the first charging phase is ended, starting up the terminal device, and entering a second charging phase.
And the second charging stage is a stage of charging through a kernel of an operating system of the terminal equipment.
After the first time period, the terminal device detects whether the battery voltage of the battery is larger than a second voltage, if so, the terminal device is started up, a system desktop is loaded, and a second charging stage is started.
That is, after the first duration of the first charging phase is finished, the terminal device needs to be powered on, run the operating system, and load the system desktop in the display screen of the terminal device. Referring to fig. 5, an interface diagram of a system desktop according to an exemplary embodiment of the present application is shown. As shown in FIG. 5, various application controls 501 are included in system desktop 500. The user may enter the corresponding application interface by clicking on the application control 501. Optionally, the system desktop is an interface displayed based on an operating system of the terminal device. For example, the operating system of the terminal device may be an android operating system, an IOS operating system, a Windows operating system, or the like.
Optionally, the charging logic of the second charging phase may be implemented in the kernel layer. That is, in the present application, the first charging phase is implemented by UEFI, and the second charging phase is implemented in a kernel layer in an operating system. In the process of the first charging stage, the ADSP is mounted to UEFI and enters a charging mode of overdischarging through the UEFI, and in the process of the second charging stage, the ADSP is mounted to a kernel layer and enters a mode of starting up to a system desktop and continuing charging.
In a possible implementation mode, the terminal equipment comprises a target register, wherein the target register is used for recording the historical charging and discharging times of the terminal equipment from a shutdown state to a startup state; before the step, the terminal equipment can also read the historical charging and discharging times of the target register; and determining the first time length according to the historical charging and discharging times. For example, the terminal device charges and discharges once each time, the number of the target registers is increased once, after the first charging stage is ended, the number of the target registers may be obtained first, the charging and discharging frequency range of the terminal device is determined according to the historical charging and discharging frequency of the terminal device, and the corresponding first duration is determined according to the frequency range, so that the corresponding first duration is waited.
Optionally, please refer to table 4, which shows a correspondence table between the first duration and the frequency range according to an exemplary embodiment of the present application, where the correspondence table includes a one-to-one correspondence between the first duration and the frequency range.
Range of times First time length
Range one The first time length is
Range two First time length of two
Range three First duration three
…… ……
TABLE 4
As shown in table 4, after the terminal device obtains the historical charging and discharging times in the target register, the terminal device determines a time range corresponding to the historical charging and discharging times, and obtains a first duration corresponding to the time range through the lookup table 4. For example, if the frequency range is the range two, the first duration obtained by the terminal device is the first duration two.
The terminal device takes the battery voltage after the first time period as the battery voltage after the fallback. Optionally, after the first duration, the terminal device regards the battery voltage at this time as the battery voltage after the fallback. That is, the terminal device reacquires the battery voltage after waiting for the first duration, thereby obtaining a value after the battery voltage falls back after the first duration.
Step 408, if the battery voltage of the battery is greater than a second voltage after the battery falls back, the terminal device is started and the battery is continuously charged, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
Optionally, the terminal device detects a magnitude relationship between the battery voltage after the pull-back and the second voltage, and if the battery voltage of the battery is greater than the second voltage after the pull-back, the terminal device is turned on and the battery is continuously charged. The setting mode of the second voltage may refer to the setting mode of the first voltage, or the setting mode of the second voltage is calculated according to a second threshold obtained from practical experience, which is not described herein again. For example, the second voltage is the sum of the lowest starting voltage and a second threshold, the second threshold is smaller than the first threshold, the second voltage is set to be 3.35v +25mv, and when the battery voltage of the battery is larger than 3.35v +25mv after the battery falls back, the terminal device is started up, and the battery is continuously charged.
In step 409, if the battery voltage of the battery is not greater than the second voltage after the fall, a new first threshold is determined according to the battery voltage after the fall.
In a possible implementation manner, in the above-mentioned detecting the magnitude relationship between the battery voltage after the pull-back and the second voltage, if it is found that the battery voltage of the battery is not greater than the second voltage after the pull-back, the terminal device may further recalculate the first threshold according to the second formula based on the battery voltage after the pull-back, and reset the calculated first threshold. For example, the terminal device increases the difference between the dropped voltage threshold and the lowest starting voltage on the basis of the first threshold.
For example, the second formula is as follows: p1= P2+ (3.35-V) +25mV. Where P1 is the new first threshold, P2 is the first threshold, and V is the battery voltage after the fall back. Taking the first threshold value as 100mV, the second voltage as 3.35v +25mv as an example, the battery voltage before the fall-back is 3.45V, the battery voltage after the fall-back is 3.33V, and at this time, the battery voltage after the fall-back is lower than 3.35v +25mv, the terminal device substitutes the battery voltage after the fall-back into the second formula, and the reset first threshold value is calculated to be 145mV. Wherein 25mV in the second formula may be empirically derived in order to prevent the determined new first threshold from increasing by too low a magnitude (e.g. 1 mV) compared to the previous first threshold.
In a possible implementation manner, the terminal device may also calculate a voltage drop value of the battery according to the voltage of the battery after the fall and the voltage of the battery before the fall, and set a new first threshold according to the voltage drop value. Wherein the voltage drop-back value is indicative of a decrease in the voltage of the battery over the drop-back duration. For example, in the above process of detecting the relationship between the voltage of the battery after the fall and the second voltage, if it is found that the voltage of the battery after the fall is not greater than the second voltage, the terminal device may further calculate the voltage fall value of the battery according to the voltage of the battery before the fall and the voltage of the battery after the fall. For example, the battery voltage before the fall back is 3.43V, the battery voltage after the fall back is 3.33V, the terminal device calculates the voltage fall back value to be 0.12V by subtracting the battery voltage after the fall back from the battery voltage before the fall back, the terminal device increases the voltage fall back value on the original first threshold, and the increased first threshold is used as a new first threshold.
Step 410, determining a new first voltage according to the new first threshold and the lowest starting voltage, and re-executing the step of determining to enter the first charging phase for charging the battery until the battery voltage of the battery is greater than the second voltage after falling back.
Optionally, the terminal device calculates a new first voltage according to the new first threshold and the lowest starting voltage, resets the first voltage, and re-executes the step of determining to enter the first charging stage of charging the battery until the step 409 is entered, that is, the voltage of the battery after the fallback is greater than the second voltage. For example, the terminal device re-determines the first voltage in the manner described above in step 403, and resumes executing step 401 described above. Optionally, after determining a new first threshold, the terminal device may further update the first threshold in the correspondence table including the first threshold, and calculate a new first voltage according to the new first threshold and the lowest start voltage, which is not limited in this application. .
In summary, when the terminal device is in the shutdown state, it is determined to enter a first charging stage for charging the battery; in the process of the first charging stage, when the battery voltage of the terminal equipment is detected to be greater than a first voltage, the battery is stopped to be charged, and the first charging stage is ended, wherein the first voltage is determined according to the lowest starting voltage capable of starting the terminal equipment and a first threshold value, and the first threshold value is related to the aging degree of the battery; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, in the first charging stage, if the battery voltage is greater than the first voltage, the battery is stopped from being charged, the first charging stage is ended, and the size relation between the returned battery voltage and the second voltage is detected again, so that the battery voltage is sufficient when the terminal equipment is restarted, the phenomenon that the terminal equipment is repeatedly restarted when the terminal equipment is charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.
In addition, when the voltage of the battery is lower than the second voltage after falling back, the terminal equipment can recalculate the first threshold value through the voltage of the battery after falling back, so that the first voltage is adjusted, the voltage of the battery after falling back in the subsequent process is ensured to be higher than the second voltage, the effect of repeated restarting of the terminal equipment is avoided, and the flexibility of the charging process of the terminal equipment is improved.
In addition, the first time length can be determined according to the historical charging and discharging times, so that the time length of the fall-back time is selected in advance in the charging process of the terminal equipment in the shutdown state, the time waste caused by waiting according to the fixed time length all the time is avoided, the time consumed by UEFI charging is shortened, and the charging and starting efficiency is improved. The terminal equipment also reflects the aging degree of the battery according to different battery parameters, so that the first threshold value is set, and the accuracy of setting the first threshold value can be improved.
The embodiments shown in fig. 3 and 4 are described below by taking an example in which the operating system of the terminal device is an android system and the battery parameter is a battery temperature. Referring to fig. 6, a flowchart of a method of controlling charging according to an exemplary embodiment of the present disclosure is shown. The method is applied to a terminal device, the terminal device may include a charging control architecture as shown in fig. 1, as shown in fig. 6, and the method includes the following steps:
step 601, UEFI initialization.
At step 602, UEFI reads the battery temperature via the ADC.
Step 603, determining a first threshold according to the battery temperature.
Optionally, the content of determining, by the terminal device, the first threshold according to the battery temperature may refer to the description in step 402, and is not described herein again.
At step 604, UEFI reads the battery voltage via the ADC.
Step 605 detects whether the battery voltage is greater than the lowest starting voltage.
If not, go to step 606, otherwise, go to step 614.
And 606, mounting the ADSP on UEFI, charging and entering a UEFI charging stage.
Step 607, detecting whether the battery voltage is greater than the first voltage.
If so, go to step 608, otherwise go to step 612.
After the first time period, the battery voltage is reacquired, step 608.
In step 609, it is detected whether the battery voltage is greater than the second voltage.
If not, go to step 610, and if it is greater than the second voltage, go to step 613.
The first threshold is reset 610 based on the battery voltage.
Step 611, the charging state of UEFI is set to the continued charging state.
And step 612, continuing to charge in the UEFI stage.
Step 613, the terminal equipment is powered off.
And 614, restarting to the kernel.
In summary, when the terminal device is in the shutdown state, it is determined to enter a first charging stage for charging the battery; in the process of a first charging stage, when the battery voltage of the terminal equipment is detected to be greater than a first voltage, stopping charging the battery and ending the first charging stage, wherein the first voltage is determined according to the lowest starting voltage of the terminal equipment capable of starting and a first threshold value, and the first threshold value is related to the aging degree of the battery; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, in the first charging stage, if the battery voltage is greater than the first voltage, the battery is stopped from being charged, the first charging stage is ended, and the size relation between the returned battery voltage and the second voltage is detected again, so that the battery voltage is sufficient when the terminal equipment is restarted, the phenomenon that the terminal equipment is repeatedly restarted when the terminal equipment is charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a charging control apparatus according to an exemplary embodiment of the present disclosure is shown. The charging control apparatus 700 may be used in the terminal device to execute all or part of the steps in the methods provided by the embodiments shown in fig. 2, fig. 3, or fig. 6. The charging control apparatus 700 may include the following modules:
a stage determining module 701, configured to determine to enter a first charging stage for charging a battery when it is detected that the terminal device is connected to a charging apparatus for charging when the terminal device is in a shutdown state;
a stage ending module 702, configured to, during the first charging stage, stop charging the battery if it is detected that a battery voltage of the terminal device is greater than a first voltage, and end the first charging stage, where the first voltage is determined according to a lowest starting voltage at which the terminal device can be started and a first threshold, and the first threshold is related to an aging degree of the battery;
the charging control module 703 is configured to start the terminal device and continue to charge the battery if the battery voltage of the battery is greater than a second voltage after the battery falls back, where the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
Optionally, the apparatus further comprises:
a first determining module, configured to stop charging the battery if it is detected that a battery voltage of the terminal device is greater than a first voltage during the first charging phase by the phase ending module 702, after the first charging stage is finished, if the battery voltage of the battery is not greater than a second voltage after falling, determining a new first threshold value according to the battery voltage after falling;
and the second determining module is used for determining a new first voltage according to the new first threshold and the lowest starting voltage, and re-executing the step of determining to enter the first charging stage for charging the battery until the battery voltage of the battery is greater than the second voltage after falling back.
Optionally, the first determining module is configured to calculate a voltage difference between the second voltage and the voltage of the battery after the pull-back, and determine a sum of the first threshold and the voltage difference as a new first threshold.
Optionally, the second voltage is a sum of the lowest start voltage and a second threshold, and the second threshold is smaller than the first threshold.
Optionally, the apparatus further comprises:
a first obtaining module, configured to obtain a battery parameter of the battery before the stage determining module 701 determines to enter a first charging stage of charging the battery, where the battery parameter is used to reflect an aging degree of the battery;
the second acquisition module is used for acquiring a first threshold corresponding to the battery parameter according to the battery parameter;
and the third determining module is used for determining the first voltage according to the first threshold and the lowest starting voltage.
Optionally, the battery parameter includes one or more of a battery temperature, a battery aging coefficient, a battery charge-discharge frequency, and a battery internal resistance.
Optionally, the stage determining module 701 includes: a voltage reading unit and a phase determining unit;
the voltage reading unit is used for reading the battery voltage of the terminal equipment;
the stage determining unit is configured to determine to enter a first charging stage of charging the battery when the battery voltage of the terminal device is not greater than a lowest starting voltage, where the first charging stage is a stage of charging through a unified extensible firmware interface UEFI.
Optionally, the charging control module 703 is further configured to, if the battery voltage of the battery is greater than a second voltage after the first duration of the first charging phase is ended, start the terminal device, and enter a second charging phase, where the second charging phase is a phase of charging through a kernel of an operating system of the terminal device.
Optionally, the terminal device includes a target register, where the target register is used to record the historical charging and discharging times of the terminal device from a shutdown state to a startup state;
the device further comprises:
a first reading module, configured to, by the charging control module 703, read the historical charging/discharging times of the target register before starting up the terminal device and continuing to charge the battery if the battery voltage of the battery is greater than a second voltage after falling back;
and the fourth determining module is used for determining the first duration according to the historical charging and discharging times.
In summary, when the terminal device is in the shutdown state, it is determined to enter the first charging stage of charging the battery; in the process of the first charging stage, when the battery voltage of the terminal equipment is detected to be greater than a first voltage, the battery is stopped to be charged, and the first charging stage is ended, wherein the first voltage is determined according to the lowest starting voltage capable of starting the terminal equipment and a first threshold value, and the first threshold value is related to the aging degree of the battery; and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage. According to the method and the device, in the first charging stage, if the battery voltage is greater than the first voltage, the battery is stopped from being charged, the first charging stage is ended, and the size relation between the returned battery voltage and the second voltage is detected again, so that the battery voltage is sufficient when the terminal equipment is restarted, the phenomenon that the terminal equipment is repeatedly restarted when the terminal equipment is charged under the shutdown condition is reduced, and the starting efficiency of the terminal equipment is improved.
Fig. 8 is a schematic structural diagram of a terminal device according to an exemplary embodiment of the present application. As shown in fig. 8, the terminal apparatus 800 includes a Central Processing Unit (CPU) 801, a system Memory 804 including a Random Access Memory (RAM) 802 and a Read Only Memory (ROM) 803, and a system bus 805 connecting the system Memory 804 and the CPU 801. The terminal device 800 also includes a basic Input/Output System (I/O System) 808 that facilitates information transfer between various devices within the computer, and a mass storage device 807 for storing an operating System 812, application programs 813, and other program modules 814.
The basic input/output system 806 includes a display 808 for displaying information and an input device 809 such as a mouse, keyboard, etc. for user input of information. Wherein the display 808 and the input device 809 are connected to the central processing unit 801 through an input output controller 810 connected to the system bus 805. The basic input/output system 806 may also include an input/output controller 810 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 810 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 807 is connected to the central processing unit 801 through a mass storage controller (not shown) connected to the system bus 805. The mass storage device 807 and its associated computer-readable media provide non-volatile storage for the terminal device 800. That is, the mass storage device 807 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM (Compact disk Read-Only Memory) drive.
The computer readable media may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 804 and mass storage 807 described above may be collectively referred to as memory.
The terminal device 800 can be connected to the internet or other network devices through a network interface unit 811 connected to the system bus 805.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 801 executes the one or more programs to implement all or part of the steps executed by the computer device in the methods provided by the above embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., digital Video Disk (DVD)), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It should be noted that: in the charging control method provided by the above embodiments, the steps executed by the pixel module and the terminal are only illustrated in the above embodiments, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, which are not described herein again.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is intended only to illustrate the alternative embodiments of the present application, and should not be construed as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A charging control method is applied to a terminal device, and comprises the following steps:
under the condition that the terminal equipment is in a shutdown state, when the terminal equipment is detected to be accessed to a charging device for charging, determining to enter a first charging stage for charging a battery;
in the process of the first charging stage, if the battery voltage of the terminal equipment is detected to be greater than a first voltage, stopping charging the battery, and ending the first charging stage, wherein the first voltage is determined according to the lowest starting voltage of the terminal equipment capable of starting up and a first threshold value, and the first threshold value is related to the aging degree of the battery;
and if the battery voltage of the battery is greater than a second voltage after the battery falls back, starting the terminal equipment and continuously charging the battery, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
2. The method of claim 1, wherein during the first charging phase, if it is detected that the voltage of the battery of the terminal device is greater than a first voltage, the charging of the battery is stopped, and after the first charging phase is ended, the method further comprises:
if the battery voltage of the battery is not greater than the second voltage after the battery falls back, determining a new first threshold value according to the battery voltage after the battery falls back;
and determining a new first voltage according to the new first threshold and the lowest starting voltage, and re-executing the step of determining to enter the first charging stage for charging the battery until the battery voltage of the battery is greater than the second voltage after falling back.
3. The method of claim 2, wherein determining the new first threshold based on the battery voltage after the pull-back comprises:
calculating a voltage difference between the second voltage and the voltage of the battery after the pull-back, and determining a sum of the first threshold and the voltage difference as a new first threshold.
4. A method according to any one of claims 1 to 3, wherein the second voltage is the sum of the lowest actuation voltage and a second threshold value, the second threshold value being less than the first threshold value.
5. The method of claim 1, further comprising, prior to the determining entering a first charging phase for charging a battery:
acquiring battery parameters of the battery, wherein the battery parameters are used for reflecting the aging degree of the battery;
acquiring a first threshold corresponding to the battery parameter according to the battery parameter;
and determining the first voltage according to the first threshold and the lowest starting voltage.
6. The method of claim 5, wherein the battery parameters comprise one or more of battery temperature, battery aging factor, battery charge and discharge frequency, and battery internal resistance.
7. The method of claim 1, wherein determining to enter a first charging phase for charging the battery comprises:
reading the battery voltage of the terminal equipment;
and when the battery voltage of the terminal equipment is not greater than the lowest starting voltage, determining to enter a first charging stage for charging the battery, wherein the first charging stage is a stage for charging through a Unified Extensible Firmware Interface (UEFI).
8. The method of claim 1, wherein if the battery voltage of the battery is greater than a second voltage after the battery falls back, turning on the terminal device and continuing to charge the battery comprises:
and if the battery voltage of the battery is greater than a second voltage after the first duration of the first charging stage is finished, starting the terminal equipment and entering a second charging stage, wherein the second charging stage is a stage of charging through a kernel of an operating system of the terminal equipment.
9. The method according to claim 8, wherein the terminal device comprises a target register, and the target register is used for recording historical charging and discharging times of the terminal device from a power-off state to a power-on state;
before the step of starting up the terminal device and continuing to charge the battery if the battery voltage of the battery is greater than the second voltage after falling back, the method further includes:
reading the historical charging and discharging times of the target register;
and determining a first time length according to the historical charging and discharging times.
10. A charging control device is characterized in that the charging control device is applied to terminal equipment, and the device comprises:
the stage determining module is used for determining to enter a first charging stage for charging a battery when the terminal equipment is detected to be accessed to a charging device for charging under the condition that the terminal equipment is in a shutdown state;
a stage ending module, configured to, during the first charging stage, stop charging the battery if it is detected that a battery voltage of the terminal device is greater than a first voltage, and end the first charging stage, where the first voltage is determined according to a lowest starting voltage at which the terminal device can be started and a first threshold, and the first threshold is related to an aging degree of the battery;
and the charging control module is used for starting the terminal equipment and continuously charging the battery if the battery voltage of the battery is greater than a second voltage after falling back, wherein the second voltage is not less than the lowest starting voltage and not greater than the first voltage.
11. A terminal device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the charge control method according to any one of claims 1 to 9.
12. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the charging control method according to any one of claims 1 to 9.
CN202110691668.5A 2021-06-22 2021-06-22 Charging control method and device, computer equipment and storage medium Pending CN115514031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110691668.5A CN115514031A (en) 2021-06-22 2021-06-22 Charging control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110691668.5A CN115514031A (en) 2021-06-22 2021-06-22 Charging control method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115514031A true CN115514031A (en) 2022-12-23

Family

ID=84499899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110691668.5A Pending CN115514031A (en) 2021-06-22 2021-06-22 Charging control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115514031A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116865407A (en) * 2023-09-04 2023-10-10 荣耀终端有限公司 Charging method and terminal equipment
CN117707832A (en) * 2024-02-06 2024-03-15 深圳市微克科技股份有限公司 Reset method, system and storage medium of Bluetooth MCU of intelligent watch

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116865407A (en) * 2023-09-04 2023-10-10 荣耀终端有限公司 Charging method and terminal equipment
CN116865407B (en) * 2023-09-04 2024-03-01 荣耀终端有限公司 Charging method and terminal equipment
CN117707832A (en) * 2024-02-06 2024-03-15 深圳市微克科技股份有限公司 Reset method, system and storage medium of Bluetooth MCU of intelligent watch

Similar Documents

Publication Publication Date Title
CN115514031A (en) Charging control method and device, computer equipment and storage medium
CN111078406B (en) Memory management method and device, storage medium and electronic equipment
CN110968524B (en) Data storage control method, device, storage medium and electronic device
CN109040467A (en) Interface electricity determines method, apparatus, storage medium and mobile terminal
CN110597533A (en) FPGA board card program updating system and method
WO2023109300A1 (en) Battery level calibration method, electronic device, and storage medium
CN110806925A (en) Audio playing method and equipment
CN113032788A (en) Firmware image switching method, device and medium in computer system
US7466105B2 (en) Autonomic battery reconditioning
CN108762789A (en) A kind of server node firmware update and relevant apparatus
CN114257474B (en) Power utilization control method and device for intelligent gateway, computer equipment and storage medium
US20180107536A1 (en) Memory system
CN100394392C (en) Computer programe reduction-mode automatic starting control method and system
WO2019227769A1 (en) Method and apparatus for controlling storage device, and electronic device
CN111836347A (en) Electric quantity display method, device and equipment and readable storage medium
CN115756619A (en) Hard disk starting method, device, equipment, medium and program product
CN113306513B (en) Infotainment system for vehicle, control method of infotainment system and vehicle
CN108351386B (en) Electric quantity value calculation method, electronic equipment and storage medium
CN114880042A (en) Application starting method and device, electronic equipment and computer readable storage medium
CN113866651B (en) Low-power detection method and device for remote controller and remote controller
CN116126122A (en) Terminal warehouse time increasing method and device and electronic equipment
CN103488506A (en) Method and device for unloading management of application programs
US20060259719A1 (en) Control terminal
CN107580148B (en) Method for intelligently adjusting shutdown voltage, storage medium and intelligent terminal
CN114265492B (en) Starting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination