CN110308780B - Battery management method, system, terminal device and storage medium - Google Patents

Battery management method, system, terminal device and storage medium Download PDF

Info

Publication number
CN110308780B
CN110308780B CN201910649222.9A CN201910649222A CN110308780B CN 110308780 B CN110308780 B CN 110308780B CN 201910649222 A CN201910649222 A CN 201910649222A CN 110308780 B CN110308780 B CN 110308780B
Authority
CN
China
Prior art keywords
battery
type battery
power
type
residual
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.)
Active
Application number
CN201910649222.9A
Other languages
Chinese (zh)
Other versions
CN110308780A (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910649222.9A priority Critical patent/CN110308780B/en
Publication of CN110308780A publication Critical patent/CN110308780A/en
Application granted granted Critical
Publication of CN110308780B publication Critical patent/CN110308780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • 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/36Arrangements using end-cell switching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Power Sources (AREA)
  • Secondary Cells (AREA)

Abstract

The application is applicable to the technical field of terminals and provides a battery management method, a battery management system, terminal equipment and a storage medium. According to the embodiment of the application, the batteries of two different types are arranged in the terminal equipment, the batteries of the corresponding types are controlled to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the batteries of the first type and the residual power of the batteries of the second type, the terminal equipment can be dynamically managed by energy consumption according to the actual running states of the application program and the batteries in the terminal equipment, and therefore the energy consumption management effect is improved.

Description

Battery management method, system, terminal device and storage medium
Technical Field
The present application belongs to the field of terminal technologies, and in particular, to a battery management method, system, terminal device, and storage medium.
Background
With the continuous improvement of the living standard of people, terminal devices such as mobile phones, tablet computers, personal digital assistants, notebook computers, palmtop computers and the like gradually become common terminal devices for daily life and study of people. When using these terminal devices, it is generally desirable that the terminal devices have a long cruising ability and can be used for a long time after being charged once, so as to reduce the trouble of frequent charging. In order to prolong the endurance of the terminal device, a large-capacity battery, a dual battery or even a multi-battery is usually used for supplying power to the terminal device.
However, the existing terminal device usually adopts a fixed and unchangeable single energy consumption management method for energy consumption management, and the energy consumption management effect is not ideal.
Content of application
In view of this, embodiments of the present application provide a battery management method, a battery management system, a terminal device, and a storage medium, so as to solve the problem that an existing terminal device generally adopts a fixed and unchangeable single energy consumption management method for energy consumption management, and an energy consumption management effect is not ideal.
A first aspect of an embodiment of the present application provides a battery management method, which is applied to a terminal device including a first type battery and a second type battery, and includes:
acquiring the power consumption of the application program currently operated by the terminal equipment;
acquiring the residual capacity of the first type battery and the residual capacity of the second type battery;
and controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery.
A second aspect of an embodiment of the present application provides a battery management system, which is applied to a terminal device including a first type battery and a second type battery, and includes:
the first acquisition module is used for acquiring the power consumption of the application program currently operated by the terminal equipment;
the second acquisition module is used for acquiring the residual electric quantity of the first type battery and the residual electric quantity of the second type battery;
and the power supply module is used for controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery.
A third aspect of the embodiments of the present application provides a terminal device, which includes a first type battery, a second type battery, a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the battery management method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described battery management method.
According to the embodiment of the application, the batteries of two different types are arranged in the terminal equipment, the batteries of the corresponding types are controlled to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the batteries of the first type and the residual power of the batteries of the second type, the terminal equipment can be dynamically managed by energy consumption according to the actual running states of the application program and the batteries in the terminal equipment, and therefore the energy consumption management effect 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 or the prior art descriptions 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 structural diagram of a terminal device provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a battery management method according to an embodiment of the present application;
fig. 3 is another schematic flow chart of a battery management method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another battery management method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a battery power display interface according to an embodiment of the present disclosure
Fig. 6 is a schematic structural diagram of a battery management system provided in an embodiment of the present application;
fig. 7 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this application and the drawings described above, are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
The embodiment of the application provides a battery management method, which is applied to a terminal device comprising a first type battery and a second type battery, and the battery management method can be specifically executed by a processor of the terminal device.
In application, the terminal device may be a mobile terminal such as a mobile phone, a tablet computer, an intelligent bracelet, a personal digital assistant, a notebook computer, a palm computer, or a robot, a server, a desktop computer, a self-service terminal, etc. The number of batteries and the battery capacity of the first type battery and the second type battery can be set according to actual needs. The first type of battery may be a conventional non-high temperature battery, such as a nickel cadmium battery, a nickel metal hydride battery, a lithium ion battery, a lead storage battery, a lithium iron battery, or the like; the second type of battery may be a high temperature battery capable of operating normally in an environment of 100 ℃, 125 ℃, 150 ℃, 175 ℃, 200 ℃ and higher, such as a lithium/thionyl chloride battery, a lithium/sulfuryl chloride battery, a graphene battery, a lithium graphene battery, and the like.
As shown in fig. 1, a schematic configuration diagram of a terminal device 1 including a first type battery 11 and a second type battery 12 is exemplarily shown; wherein the first type of battery 11 and the second type of battery 12 are electrically connected.
In application, the first type battery and the second type battery each include a battery core, a housing, and an associated battery control chip or circuit, for example, a battery level detection chip or circuit, a battery level display chip or circuit, a battery management chip or circuit, and the like. The various battery control chips or circuit structures included in the first type battery or the second type battery may be separately arranged or integrally arranged. The battery core, the battery control chip or the circuit of the first type battery is electrically connected with the battery core, the battery control chip or the circuit of the second type battery, so that the first type battery and the second type battery can mutually detect and control the working state of each other.
As shown in fig. 2, a battery management method provided in an embodiment of the present application includes:
and step S21, acquiring the power consumption of the application program currently operated by the terminal equipment.
In the application, the number of application programs currently run by the terminal device may be one or more than one. The total remaining capacity of the first type battery and the second type battery may be obtained according to the remaining capacity of the first type battery and the remaining capacity of the second type battery during the running of the application. The total remaining capacity is equal to the sum of the remaining capacities of the first and second types of batteries. The difference between the total remaining power amounts at two different times during the running process of the application program can be obtained as the power consumption amount of the application program in the time period between the two different times. The power consumption of the application program can be predicted at an unknown moment or in an unknown time period according to a curve of the power consumption of the application program changing along with the time by the known power consumption of the application program in the continuous time period.
In one embodiment, step S21 is preceded by:
acquiring power consumption of various types of application programs;
and establishing and storing an association relation between the power consumption of each application program and the type of each application program.
In the application, the power consumption amounts of the various types of application programs may be acquired in advance before the terminal device leaves the factory or before step S21, and the association between the power consumption amounts of the application programs and the types of application programs may be established and stored. The association relationship may be a correspondence relationship or a mapping relationship, and may be represented by establishing a power consumption amount relationship table. The power consumption amount relation table may be a look-up table (LUT), which may also be another data table or a Random Access Memory (RAM) storage medium having a function of inputting data, i.e., searching for corresponding output data. The association table may record power consumption of the application program in different operation stages (i.e., different time periods after the application program starts to operate), and the power consumption of the application program in different operation stages may be obtained by a curve of the power consumption of the application program changing with time.
And step S22, acquiring the residual capacity of the first type battery and the residual capacity of the second type battery.
In application, the residual electric quantity of the first type battery can be acquired in real time or at preset time intervals through a first type battery electric quantity detection chip or circuit; and acquiring the residual capacity of the second type battery in real time or at preset time intervals through a second type battery capacity detection chip or circuit. The preset time interval can be set according to actual needs.
And step S23, controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual capacity of the first type of battery and the residual capacity of the second type of battery.
In the application, at least one of the first type battery and the second type battery may be controlled to supply power to the terminal device according to a preset power supply rule and according to power consumption of an application program currently running by the terminal device, remaining power of the first type battery and remaining power of the second type battery. For example, when the power consumption of the application program currently running by the terminal device is higher, the terminal device is preferentially powered by the first type battery; when the residual capacity of the first type battery is low, the power can be supplied by the second type battery in an auxiliary mode; when the residual capacity of the first type battery is insufficient, the power can be supplied only by the second type battery; when the residual capacity of the second type battery is insufficient, the first type battery is used for assisting power supply.
In the embodiment, the two different types of batteries are arranged in the terminal equipment, and the corresponding type of battery is controlled to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery, so that the terminal equipment can be dynamically managed in energy consumption according to the actual running states of the application program and the battery in the terminal equipment, and the energy consumption management effect is improved.
In one embodiment, the battery management method further comprises:
acquiring the total residual capacity of the first type battery and the second type battery according to the residual capacity of the first type battery and the residual capacity of the second type battery;
and when the difference value between the power consumption of the application program and the total residual power is larger than a preset power threshold, closing the application program or sending a first prompt message.
In application, the preset electric quantity threshold is a smaller electric quantity value, and can be set according to actual needs, for example, 1% -5% of the sum of the nominal capacity of the first type battery and the nominal capacity of the second type battery. When the total remaining capacity of the first type battery and the second type battery is lower, so that the difference value between the power consumption of the application program and the total remaining capacity is larger than a preset capacity threshold, the normal working time of the application program currently operated by the terminal equipment can be supported to be shorter than a third preset time, and at the moment, all the application programs currently operated by the terminal equipment, the application programs of which the power consumption is larger than the preset capacity threshold or the application programs of which the emergency degree is lower than a preset emergency degree threshold can be closed; or sending a first prompt message to prompt the user that the current total remaining power is low, so that the user can select the application program to be closed by himself or manually control the terminal device to be shut down. The first preset time may be set to a shorter time, for example, 5 minutes, according to actual needs.
In the application, when the total remaining power is low, in order to ensure that some applications (e.g., an alarm call program, an emergency call program, a fire alarm call program, etc.) with a higher degree of urgency currently running in the terminal device can normally run, the degree of urgency of the application currently running in the terminal device may be first obtained, and the applications with the degree of urgency lower than a preset degree of urgency threshold are preferentially closed, so that the power consumption is reduced to the maximum while the applications with the higher degree of urgency are maintained to normally run. The urgency level and the preset urgency level threshold of each application program which the terminal device can run can be preset according to actual needs.
In application, the first prompt message can be set as popup message, voice message, instant messaging message and the like according to actual needs.
In one embodiment, when a difference between the power consumption of the application program and the total remaining power is greater than a preset power threshold, before closing the application program or sending a first prompt message, the method includes:
and comparing the difference value with a preset electric quantity threshold value.
In application, the function of comparing the magnitude of the electric quantity value can be realized by a logic discrimination circuit or a device with a corresponding function, such as a comparison circuit or a comparator.
According to the embodiment, when the difference value between the power consumption of the application program and the total residual capacity of the first type battery and the second type battery is larger than the preset capacity threshold value, the application program is closed or prompt information is sent, so that the situation that the terminal equipment is suddenly shut down when the battery capacity is insufficient can be effectively prevented.
As shown in fig. 3, in one embodiment, step S23 includes:
and step S31, when the power consumption of the application program is larger than a first power consumption threshold and the residual capacity of the first type battery is larger than or equal to a first residual capacity threshold, supplying power to the terminal equipment through the first type battery.
In the application, the power consumption of the application refers to the total power consumption of all the applications currently running on the terminal device. The first power consumption threshold is a higher power value and can be set according to the actual situation. The power consumption of the application with lower power consumption is usually less than or equal to the first power consumption threshold, and the application with power consumption greater than the first power consumption threshold is an application with higher power consumption, such as a game application, a camera application, an audio/video application, a flashlight application, and the like. The first remaining capacity threshold is a higher capacity value, and can be set according to actual needs, for example, 60% of the nominal capacity of the first type battery. When the residual capacity of the first type battery is larger than or equal to the first residual capacity threshold value, the normal work of the application program currently running in the terminal equipment can be supported for a second preset time. The second preset time may be set to a longer time, for example, 60 minutes, than the first time according to actual needs. When the power consumption of the application program currently operated by the terminal equipment is smaller than or equal to the first power consumption threshold value, at least one of the first type battery and the second type battery can be randomly selected to supply power to the terminal equipment.
In one embodiment, step S31 is preceded by:
comparing the power consumption of the application program with a first power consumption threshold value;
the remaining capacity of the first type of battery is compared to a first remaining capacity threshold.
In application, the function of comparing the magnitude of the electric quantity value can be realized by a logic discrimination circuit or a device with a corresponding function, such as a comparison circuit or a comparator.
Step S32, when the power consumption of the application program is larger than a first power consumption threshold value, and the remaining power of the first type battery is smaller than a first remaining power threshold value and larger than or equal to a second remaining power threshold value, supplying power to the terminal device through the first type battery and the second type battery; and the first residual capacity threshold value is larger than the second residual capacity threshold value.
In application, when the remaining capacity of the first type battery is less than the first remaining capacity threshold and greater than or equal to the second remaining capacity threshold, the time for enabling the application program currently running on the terminal device to normally work is shorter than the second preset time, and therefore, the terminal device needs to be supplied with auxiliary power through the second type battery. The second remaining capacity threshold is a lower capacity value smaller than the first remaining capacity threshold, and may be set according to actual needs, for example, 30% of the nominal capacity of the first type battery.
In application, in one embodiment, step S32 is preceded by:
the remaining capacity of the first type of battery is compared to a second remaining capacity threshold.
In application, the function of comparing the magnitude of the electric quantity value can be realized by a logic discrimination circuit or a device with a corresponding function, such as a comparison circuit or a comparator.
And step S33, when the power consumption of the application program is larger than a first power consumption threshold and the residual power of the first type battery is smaller than a second residual power threshold, supplying power to the terminal equipment through the second type battery.
In application, when the remaining capacity of the first type battery is smaller than the second remaining capacity threshold, normal operation of an application program currently running by the terminal device cannot be supported, and at the moment, the terminal device can be independently powered by the second type battery.
And step S34, when the power consumption of the application program is larger than a first power consumption threshold and the residual power of the second type battery is smaller than a third residual power threshold, supplying power to the terminal equipment through the first type battery and the second type battery.
In an application, the third remaining capacity threshold is a lower capacity value, and may be set according to actual needs, for example, 30% or 15% of the nominal capacity of the second type battery. When the remaining capacity of the second type battery is smaller than the third remaining capacity threshold, the normal operation of the application program currently running on the terminal device can be supported to be shorter than the third preset time, and therefore, the terminal device needs to be supplied with auxiliary power through the first type battery. The third preset time may be set to a longer time, for example, 30 minutes, than the first time according to actual needs.
In one embodiment, step S34 is preceded by:
comparing the remaining capacity of the second type battery with a third remaining capacity threshold.
In application, the function of comparing the magnitude of the electric quantity value can be realized by a logic discrimination circuit or a device with a corresponding function, such as a comparison circuit or a comparator.
In the embodiment, when the power consumption of the application program is greater than the first power consumption threshold and the residual power of the first type battery is greater than or equal to the first residual power threshold, the first type battery supplies power to the terminal equipment, so that the energy consumption requirement of the terminal equipment can be met;
when the power consumption of the application program is greater than a first power consumption threshold value, and the residual power of the first type battery is less than the first residual power threshold value and is greater than or equal to a second residual power threshold value, the first type battery and the second type battery are used for supplying power to the terminal equipment, so that when the residual power of the first type battery is lower, the second type battery is used for assisting in supplying power, and the power stability of the power supply performance is improved;
when the power consumption of the application program is greater than the first power consumption threshold and the residual power of the first type battery is less than the second residual power threshold, the second type battery supplies power to the terminal equipment, and when the residual power of the first type battery is insufficient, the second type battery supplies power to meet the energy consumption requirement of the terminal equipment;
when the power consumption of the application program is larger than the first power consumption threshold value and the residual capacity of the second type battery is smaller than the third residual capacity threshold value, the first type battery and the second type battery are used for supplying power to the terminal equipment, and when the residual capacities of the first type battery and the second type battery are insufficient, the first type battery and the second type battery are used for supplying power together, so that the energy consumption requirement of the terminal equipment is met, and the electric stability of the power supply performance is improved.
As shown in fig. 4, in one embodiment, the battery management method further includes:
and step S41, when the terminal equipment is powered by the first type battery, acquiring the heat dissipation efficiency of the first type battery.
In application, the temperature of the first type battery can be acquired in real time or at preset time intervals through a temperature sensor arranged on the first type battery, and then the heat dissipation efficiency of the first type battery is acquired according to the temperature of the first type battery; the temperature of the first type battery is positively correlated with the heat dissipation efficiency of the first type battery.
In the application, the correlation between the temperature of the first type battery and the heat dissipation efficiency may be established and stored in advance before the terminal device leaves the factory or before step S41. The association relationship may be a corresponding relationship or a mapping relationship, and may be represented by establishing a first heat dissipation efficiency relationship table. The first heat dissipation efficiency relation table may be a look-up table (LUT), which may also be another data table or a Random Access Memory (RAM) storage medium having a function of inputting data, i.e., searching for corresponding output data.
And step S42, when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold, displaying the remaining capacity of the first type battery through a capacity display unit of the second type battery.
In application, the first heat dissipation efficiency threshold is a small percentage value, and may be set according to actual needs, for example, 30%. When the heat dissipation efficiency of the first type battery is smaller than the first heat dissipation efficiency threshold, the power consumption of the application program currently running in the terminal device is higher, the heat productivity of the first type battery is higher, the heat dissipation effect is not ideal, the output power of the first type battery is larger at the moment, the performance is not stable, the accuracy of the power displayed by the power display unit of the first type battery is lower at the moment, and therefore the residual power of the first type battery can be displayed through the power display unit of the second type battery, and the accuracy of power display is improved. The power display unit may be a power display chip or circuit.
In one embodiment, before step S42, the method includes:
and comparing the heat dissipation efficiency of the first type battery with a first heat dissipation efficiency threshold value.
In application, the function of comparing the magnitude of the heat dissipation efficiency value can be realized by a logic discrimination circuit or a device with a corresponding function, for example, a comparison circuit or a comparator.
In one embodiment, after step S42, the method includes:
and controlling the output electric quantity of the first type battery according to the residual electric quantity of the first type battery displayed by the electric quantity display unit of the second type battery.
In application, the output electric quantity of the first type battery can be controlled according to the more accurate residual electric quantity of the first type battery displayed by the electric quantity display unit of the second type battery, so that the accuracy of the output electric quantity of the first type battery is improved.
And step S43, when the terminal equipment is powered by the second type battery, obtaining the heat dissipation efficiency of the second type battery.
In application, the temperature of the second type battery can be acquired in real time or at preset time intervals by the temperature sensor arranged on the first type battery, and then the heat dissipation efficiency of the second type battery is acquired according to the temperature of the second type battery; the temperature of the second type battery is positively correlated with the heat dissipation efficiency of the second type battery.
In the application, the association relationship between the temperature of the second-type battery and the heat dissipation efficiency may be established and stored in advance before the terminal device leaves the factory or before step S43. The association relationship may be a corresponding relationship or a mapping relationship, and the association relationship may be represented by establishing a second heat dissipation efficiency relationship table. The second heat dissipation efficiency relation table may be a look-up table (LUT), which may also be another data table or a Random Access Memory (RAM) storage medium having a function of inputting data, i.e., searching for corresponding output data.
And step S44, when the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold, displaying the remaining capacity of the second type battery through a capacity display unit of the first type battery.
In application, the second heat dissipation efficiency threshold is a small percentage value, and may be set according to actual needs, for example, 30%. When the heat dissipation efficiency of the second type battery is smaller than the second heat dissipation efficiency threshold value, the fact that the power consumption of the application program currently running in the terminal device is high is shown, the heat productivity of the second type battery is high, the heat dissipation effect is not ideal, the output power of the second type battery is large at the moment, the performance is not stable, the accuracy of the power displayed by the power display unit of the second type battery is low at the moment, and therefore the residual power of the second type battery can be displayed through the power display unit of the first type battery, and the accuracy of power display is improved.
In one embodiment, before step S44, the method includes:
and comparing the heat dissipation efficiency of the second type battery with a second heat dissipation efficiency threshold value.
In application, the function of comparing the magnitude of the heat dissipation efficiency value can be realized by a logic discrimination circuit or a device with a corresponding function, for example, a comparison circuit or a comparator.
In one embodiment, after step S44, the method includes:
and controlling the output electric quantity of the second type battery according to the residual electric quantity of the second type battery displayed by the electric quantity display unit of the first type battery.
In application, the output electric quantity of the second type battery can be controlled according to the more accurate residual electric quantity of the second type battery displayed by the electric quantity display unit of the first type battery, so that the accuracy of the output electric quantity of the second type battery is improved.
It should be understood that steps S41 and S42 are implemented when the terminal device is powered by the first type of battery alone, and steps S43 and S44 are implemented when the terminal device is powered by the second type of battery alone.
As shown in fig. 5, a schematic diagram of a power display interface is shown; here, the remaining capacity of the first type battery is exemplarily shown as a battery icon 101 and X%, and the remaining capacity of the second type battery is exemplarily shown as a battery icon 102 and Y%.
In one embodiment, the battery management method further comprises:
when the terminal equipment is powered by the first type battery and the second type battery, acquiring the heat dissipation efficiency of the first type battery and the heat dissipation efficiency of the second type battery;
when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold value and the heat dissipation efficiency of the second type battery is larger than or equal to a second heat dissipation efficiency threshold value, displaying the residual electric quantity of the first type battery through an electric quantity display unit of the second type battery;
when the heat dissipation efficiency of the first type battery is greater than or equal to a first heat dissipation efficiency threshold value, and the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold value, displaying the residual electric quantity of the second type battery through an electric quantity display unit of the first type battery;
and when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold value and the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold value, closing the application program or sending a second prompt message.
In application, when the heat dissipation efficiency of the two types of batteries is low, all application programs currently running by the terminal equipment, application programs with the power consumption larger than a preset electric quantity threshold value or application programs with the emergency degree lower than a preset emergency degree threshold value can be closed; or sending a second prompt message to prompt that the current heat dissipation efficiency of the user is low, so that the user can select the application program to be closed by himself.
In application, the second prompt message can be set as popup message, voice message, instant messaging message, etc. according to actual needs.
In the embodiment, when the heat dissipation efficiency of one type of battery is low, the residual electric quantity is displayed by the electric quantity display unit of the other type of battery, so that the accuracy of electric quantity display can be improved; by closing the application program or sending prompt information when the heat dissipation efficiency of the two types of batteries is low, the heat productivity of the batteries can be reduced to improve the stability of the batteries, or a user is reminded to pay attention to the heat dissipation condition of the batteries.
In one embodiment, when the first type battery is a non-high temperature battery and the second type battery is a high temperature battery, the battery management method further includes:
obtaining the heat dissipation efficiency of the first type battery;
and when the heat dissipation efficiency of the first type battery is smaller than a third heat dissipation efficiency threshold value, supplying power to the terminal equipment through the second type battery.
In application, the third threshold value of the heat dissipation efficiency is a small percentage value, and may be set according to actual needs, for example, 30%. When the heat dissipation efficiency of the first type battery is smaller than the third heat dissipation efficiency threshold, the heat dissipation effect of the first type battery is high, the heat dissipation effect is not ideal, and the performance is not stable, at the moment, the terminal equipment can be powered by the high-temperature-resistant second type battery, so that the first type battery stops working, the heat dissipation amount of the first type battery is reduced, the stability and the safety of the first type battery are improved, and the method is mainly suitable for the situation that the first type battery is abnormally heated due to the fact that the power consumption of an application program which is used for charging the first type battery or is currently operated by the terminal equipment is not high. The third thermal efficiency threshold may be equal to or not equal to the first thermal efficiency threshold, for example, the third efficiency threshold may be smaller than the first efficiency threshold, so as to avoid triggering the second type of battery to supply power to the terminal device before the thermal efficiency of the first type of battery is smaller than the first thermal efficiency threshold.
In one embodiment, when the heat dissipation efficiency of the first type battery is less than a third heat dissipation efficiency threshold, before the terminal device is powered by the second type battery, the method includes:
and comparing the heat dissipation efficiency of the first type battery with a third heat dissipation efficiency threshold value.
In application, the function of comparing the magnitude of the heat dissipation efficiency value can be realized by a logic discrimination circuit or a device with a corresponding function, for example, a comparison circuit or a comparator.
In the embodiment, when the heat dissipation efficiency of the first type battery is smaller than the third heat dissipation efficiency threshold, the second type battery supplies power to the terminal device, so that the service life of the first type battery can be prolonged, and the safety of the terminal device in power supply is improved.
In one embodiment, when the first type battery is a non-high temperature battery and the second type battery is a high temperature battery, the battery management method further includes:
acquiring the type of an application program currently operated by the terminal equipment;
when the terminal equipment runs with an application program of a preset type currently, the second type battery supplies power to the terminal equipment; and the preset type of application program is an application program with the minimum real-time power consumption larger than a second power consumption threshold value.
In the application, before the terminal device leaves a factory or before the type of the application program currently running on the terminal device is acquired, an application program list may be established in advance and stored, where the application program list includes program names of all preset types of application programs that the terminal device may run, and when the name of the application program currently running on the terminal device is in the application program list, the application program is considered to be the preset type of application program.
In the application, the preset type of application program is an application program with high energy consumption at each moment in the whole operation process, such as a game application program, a camera application program, an audio/video application program, a flashlight application program, and the like. When the current running application program of the terminal equipment is the application program with the minimum real-time power consumption larger than the second power consumption threshold value, if the first type battery is adopted for power supply, the output power of the first type battery is continuously larger, so that the first type battery has larger heat productivity and unstable performance, larger potential safety hazard exists, at the moment, the second type battery with high temperature resistance can be used for power supply of the terminal equipment, the first type battery stops working, the heat productivity of the first type battery is reduced, and the stability and the safety of the first type battery are improved. The second power consumption amount threshold may be equal to or not equal to the first power consumption amount threshold, for example, the second power consumption amount threshold may be greater than or equal to the first power consumption amount threshold.
This embodiment is through when terminal equipment runs the application that has minimum real-time power consumption to be greater than the second power consumption threshold value, for terminal equipment power supply through second type battery, security when can improving for terminal equipment power supply can prevent effectively that the condition that first type battery lasts when supplying power for terminal equipment through first type battery from taking place.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
As shown in fig. 6, an embodiment of the present application provides a battery management system 6 for executing the method steps in the above-mentioned respective battery management method embodiments, the battery management system 6 is applied to a terminal device 1 including a first type battery 11 and a second type battery 12, and may be a software program system in a processor of the terminal device 1, the battery management system 6 includes:
a first obtaining module 61, configured to obtain power consumption of an application currently running on the terminal device;
a second obtaining module 62, configured to obtain a remaining power of the first type battery and a remaining power of the second type battery;
and the power supply module 63 is configured to control the corresponding type of battery to supply power to the terminal device according to the power consumption of the application program, the remaining power of the first type of battery, and the remaining power of the second type of battery.
In one embodiment, the first obtaining module is further configured to obtain power consumption of various types of applications;
the battery management system further includes:
and the establishing module is used for establishing and storing the association relationship between the power consumption of each application program and the type of each application program.
In one embodiment, the second obtaining module is further configured to obtain a total remaining capacity of the first type battery and the second type battery according to the remaining capacity of the first type battery and the remaining capacity of the second type battery;
the battery management system further includes:
and the prompting module is used for closing the application program or sending first prompting information when the difference value between the power consumption of the application program and the total residual power is greater than a preset power threshold value.
In one embodiment, the battery management system further comprises:
and the first comparison module is used for comparing the difference value with a preset electric quantity threshold value.
In one embodiment, the first comparing module is further configured to:
comparing the power consumption of the application program with a first power consumption threshold value;
the remaining capacity of the first type of battery is compared to a first remaining capacity threshold.
In one embodiment, the first comparing module is further configured to compare the remaining capacity of the first type battery with a second remaining capacity threshold.
In one embodiment, the first comparing module is further configured to compare the remaining capacity of the second type of battery with a third remaining capacity threshold.
In one embodiment, the battery management system further comprises:
the third obtaining module is used for obtaining the heat dissipation efficiency of the first type battery when the first type battery is used for supplying power to the terminal equipment;
the display module is used for displaying the residual electric quantity of the first type battery through the electric quantity display unit of the second type battery when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold value;
the third obtaining module is further configured to obtain the heat dissipation efficiency of the second type battery when the terminal device is powered by the second type battery;
the display module is further configured to display the remaining power of the second type battery through the power display unit of the first type battery when the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold.
In one embodiment, the battery management system further comprises:
and the second comparison module is used for comparing the heat dissipation efficiency of the first type battery with the size of the first heat dissipation efficiency threshold.
In one embodiment, the battery management system further comprises:
and the control module is used for controlling the output electric quantity of the first type battery according to the residual electric quantity of the first type battery displayed by the electric quantity display unit of the second type battery.
In one embodiment, the second comparing module is further configured to compare the heat dissipation efficiency of the second type of battery with a second heat dissipation efficiency threshold.
In one embodiment, the control module is further configured to control the output power of the second type battery according to the remaining power of the second type battery displayed by the power display unit of the first type battery.
In one embodiment, the third obtaining module is further configured to obtain the heat dissipation efficiency of the first type battery and the heat dissipation efficiency of the second type battery when the terminal device is powered by the first type battery and the second type battery;
the display module is further configured to display the remaining power of the first type battery through a power display unit of the second type battery when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold and the heat dissipation efficiency of the second type battery is greater than or equal to a second heat dissipation efficiency threshold;
the display module is further configured to display the remaining power of the second type battery through the power display unit of the first type battery when the heat dissipation efficiency of the first type battery is greater than or equal to a first heat dissipation efficiency threshold and the heat dissipation efficiency of the second type battery is less than a second heat dissipation efficiency threshold;
the prompt module is further configured to close the application program or send a second prompt message when the heat dissipation efficiency of the first type of battery is smaller than a first heat dissipation efficiency threshold and the heat dissipation efficiency of the second type of battery is smaller than a second heat dissipation efficiency threshold.
In one embodiment, when the first type battery is a non-high temperature battery and the second type battery is a high temperature battery, the third obtaining module is further configured to obtain the heat dissipation efficiency of the first type battery;
the power supply module is further configured to supply power to the terminal device through the second type battery when the heat dissipation efficiency of the first type battery is smaller than a third heat dissipation efficiency threshold.
In one embodiment, the second comparing module is further configured to compare the heat dissipation efficiency of the first type battery with a third heat dissipation efficiency threshold.
In one embodiment, when the first type battery is a non-high temperature battery and the second type battery is a high temperature battery, the battery management system further includes:
the fourth obtaining module is used for obtaining the type of the application program currently operated by the terminal equipment;
the power supply module is further used for supplying power to the terminal equipment through the second type battery when the terminal equipment runs an application program of a preset type currently; and the preset type of application program is an application program with the minimum real-time power consumption larger than a second power consumption threshold value.
In application, each module in the battery management system may be a software program module in a processor of the terminal device, may also be implemented by different processors, and may also be implemented by different logic circuit structures in one processor of the terminal device. The display module may include a display screen of the terminal device, a screen driver board for controlling the display screen to display, a graphic processor, and the like. The prompting module can comprise a display screen or a screen driving board, a voice chip or a loudspeaker and a micro vibration motor lamp according to different types of prompting information.
In the embodiment, two different types of batteries are arranged in the terminal equipment, and the corresponding type of battery is controlled to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery, so that the terminal equipment can be dynamically managed by energy consumption according to the actual running states of the application program and the battery in the terminal equipment, and the energy consumption management effect is improved;
the method comprises the steps that when the difference value between the power consumption of an application program and the total residual power of a first type battery and a second type battery is larger than a preset power threshold value, the application program is closed or prompt information is sent, and the situation that the terminal equipment is suddenly shut down when the power of the battery is insufficient can be effectively prevented;
when the power consumption of the application program is greater than the first power consumption threshold and the residual power of the first type battery is greater than or equal to the first residual power threshold, the first type battery supplies power to the terminal equipment, and therefore the energy consumption requirement of the terminal equipment can be met;
when the power consumption of the application program is greater than a first power consumption threshold value, and the residual power of the first type battery is less than the first residual power threshold value and is greater than or equal to a second residual power threshold value, the first type battery and the second type battery are used for supplying power to the terminal equipment, so that when the residual power of the first type battery is lower, the second type battery is used for assisting in supplying power, and the power stability of the power supply performance is improved;
when the power consumption of the application program is greater than the first power consumption threshold and the residual power of the first type battery is less than the second residual power threshold, the second type battery supplies power to the terminal equipment, and when the residual power of the first type battery is insufficient, the second type battery supplies power to meet the energy consumption requirement of the terminal equipment;
when the power consumption of the application program is greater than the first power consumption threshold value and the residual power of the second type battery is less than the third residual power threshold value, the first type battery and the second type battery are used for supplying power to the terminal equipment, and when the residual power of the first type battery and the residual power of the second type battery are insufficient, the first type battery and the second type battery are used for supplying power together, so that the power consumption requirement of the terminal equipment is met, and the electrical stability of the power supply performance is improved;
when the heat dissipation efficiency of one type of battery is low, the residual electric quantity is displayed through the electric quantity display unit of the other type of battery, so that the accuracy of electric quantity display can be improved; when the heat dissipation efficiency of the two types of batteries is lower, the application program is closed or prompt information is sent out, so that the heat productivity of the batteries can be reduced, the stability of the batteries is improved, or a user is reminded to pay attention to the heat dissipation condition of the batteries;
when the heat dissipation efficiency of the first type battery is smaller than the third heat dissipation efficiency threshold value, the second type battery supplies power to the terminal equipment, so that the service life of the first type battery can be prolonged, and the safety of supplying power to the terminal equipment is improved;
when the terminal equipment runs the application program with the minimum real-time power consumption larger than the second power consumption threshold value, the second type battery supplies power to the terminal equipment, so that the safety of the terminal equipment during power supply can be improved, and the situation that the first type battery continuously generates heat when the first type battery supplies power to the terminal equipment can be effectively prevented.
As shown in fig. 7, in an embodiment of the present application, the terminal device 1 in the embodiment corresponding to fig. 1 further includes: a processor 13, a memory 14 and a computer program 141, such as a battery management program, stored in said memory 14 and operable on said processor 13. The processor 13 implements the steps in each of the above-described embodiments of the battery management method, such as the steps S21 to S23 shown in fig. 2, when executing the computer program 141. Alternatively, the processor 13 implements the functions of the modules in the battery management system embodiments, such as the functions of the modules 61 to 63 shown in fig. 6, when executing the computer program 141.
Illustratively, the computer program 141 may be partitioned into one or more modules that are stored in the memory 14 and executed by the processor 13 to accomplish the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program 141 in the terminal device 1. For example, the computer program 141 may be divided into a first acquisition module, a second acquisition module, and a power supply module, and each module has the following specific functions:
the first acquisition module is used for acquiring the power consumption of the application program currently operated by the terminal equipment;
the second acquisition module is used for acquiring the residual electric quantity of the first type battery and the residual electric quantity of the second type battery;
and the power supply module is used for controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery.
The terminal device 1 may be a mobile phone, a tablet computer, a desktop computer, a notebook computer, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 13, a memory 14. It will be appreciated by those skilled in the art that fig. 7 is only an example of the terminal device 1, and does not constitute a limitation of the terminal device 1, and may comprise more or less components than those shown, or some components may be combined, or different components, for example, the terminal device may further comprise an input-output device, a network access device, a bus, etc.
The Processor 13 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 14 may be an internal storage unit of the terminal device 1, such as a hard disk or a memory of the terminal device 1. The memory 14 may also be an external storage device of the terminal device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 1. Further, the memory 14 may also include both an internal storage unit and an external storage device of the terminal device 1. The memory 14 is used for storing the computer program and other programs and data required by the terminal device. The memory 14 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be controlled according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A battery management method applied to a terminal device including a first type battery and a second type battery, the battery management method comprising:
acquiring the power consumption of the application program currently operated by the terminal equipment;
acquiring the residual capacity of the first type battery and the residual capacity of the second type battery;
controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery;
the controlling the corresponding type of battery to supply power to the terminal device according to the power consumption of the application program, the remaining power of the first type of battery and the remaining power of the second type of battery includes:
when the power consumption of the application program is larger than a first power consumption threshold value and the residual power of the first type battery is larger than or equal to a first residual power threshold value, supplying power to the terminal equipment through the first type battery;
when the power consumption of the application program is larger than a first power consumption threshold value, and the residual power of the first type battery is smaller than a first residual power threshold value and is larger than or equal to a second residual power threshold value, supplying power to the terminal equipment through the first type battery and the second type battery; wherein the first remaining capacity threshold is greater than the second remaining capacity threshold;
when the power consumption of the application program is larger than a first power consumption threshold value and the residual power of the first type battery is smaller than a second residual power threshold value, supplying power to the terminal equipment through the second type battery;
when the power consumption of the application program is larger than a first power consumption threshold value and the residual power of the second type battery is smaller than a third residual power threshold value, supplying power to the terminal equipment through the first type battery and the second type battery;
the method comprises the following steps before the power consumption of the application program currently operated by the terminal equipment is acquired:
acquiring power consumption of various types of application programs;
and establishing and storing an association relation between the power consumption of each application program and the type of each application program.
2. The battery management method of claim 1, wherein the battery management method further comprises:
when the terminal equipment is powered by the first type battery, the heat dissipation efficiency of the first type battery is obtained;
when the heat dissipation efficiency of the first type battery is smaller than a first heat dissipation efficiency threshold value, displaying the residual electric quantity of the first type battery through an electric quantity display unit of the second type battery;
when the terminal equipment is powered by the second type battery, the heat dissipation efficiency of the second type battery is obtained;
and when the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold value, displaying the residual electric quantity of the second type battery through an electric quantity display unit of the first type battery.
3. The battery management method according to claim 2, wherein when the heat dissipation efficiency of the first type battery is less than a first heat dissipation efficiency threshold, after the displaying the remaining capacity of the first type battery by the capacity display unit of the second type battery, comprising:
controlling the output electric quantity of the first type battery according to the residual electric quantity of the first type battery displayed by the electric quantity display unit of the second type battery;
when the heat dissipation efficiency of the second type battery is smaller than a second heat dissipation efficiency threshold, after the remaining capacity of the second type battery is displayed by the capacity display unit of the first type battery, the method includes:
and controlling the output electric quantity of the second type battery according to the residual electric quantity of the second type battery displayed by the electric quantity display unit of the first type battery.
4. The battery management method according to any one of claims 1 to 3, wherein the first type battery is a non-high temperature battery and the second type battery is a high temperature battery.
5. The battery management method of claim 4, wherein the battery management method further comprises:
obtaining the heat dissipation efficiency of the first type battery;
and when the heat dissipation efficiency of the first type battery is smaller than a third heat dissipation efficiency threshold value, supplying power to the terminal equipment through the second type battery.
6. The battery management method of claim 4, wherein the battery management method further comprises:
acquiring the type of an application program currently operated by the terminal equipment;
when the terminal equipment runs with an application program of a preset type currently, the second type battery supplies power to the terminal equipment; and the preset type of application program is an application program with the minimum real-time power consumption larger than a second power consumption threshold value.
7. The battery management method according to any one of claims 1 to 3, further comprising:
acquiring the total residual capacity of the first type battery and the second type battery according to the residual capacity of the first type battery and the residual capacity of the second type battery;
and when the difference value between the power consumption of the application program and the total residual power is larger than a preset power threshold, closing the application program or sending a first prompt message.
8. A battery management system applied to a terminal device including a first type battery and a second type battery, the battery management system comprising:
the establishing module is used for establishing and storing the incidence relation between the power consumption of each application program and the type of each application program;
the first acquisition module is used for acquiring the power consumption of the application program currently operated by the terminal equipment;
the second acquisition module is used for acquiring the residual electric quantity of the first type battery and the residual electric quantity of the second type battery;
the power supply module is used for controlling the corresponding type of battery to supply power to the terminal equipment according to the power consumption of the application program, the residual power of the first type of battery and the residual power of the second type of battery;
the power supply module is specifically configured to:
when the power consumption of the application program is larger than a first power consumption threshold value and the residual power of the first type battery is larger than or equal to a first residual power threshold value, supplying power to the terminal equipment through the first type battery;
when the power consumption of the application program is larger than a first power consumption threshold value, and the residual power of the first type battery is smaller than a first residual power threshold value and is larger than or equal to a second residual power threshold value, supplying power to the terminal equipment through the first type battery and the second type battery; wherein the first remaining capacity threshold is greater than the second remaining capacity threshold;
when the power consumption of the application program is larger than a first power consumption threshold value and the residual power of the first type battery is smaller than a second residual power threshold value, supplying power to the terminal equipment through the second type battery;
and when the power consumption of the application program is greater than a first power consumption threshold value and the residual power of the second type battery is less than a third residual power threshold value, supplying power to the terminal equipment through the first type battery and the second type battery.
9. A terminal device comprising a first type of battery, a second type of battery, a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the battery management method according to any of claims 1 to 7 when executing said computer program.
CN201910649222.9A 2019-07-18 2019-07-18 Battery management method, system, terminal device and storage medium Active CN110308780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910649222.9A CN110308780B (en) 2019-07-18 2019-07-18 Battery management method, system, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910649222.9A CN110308780B (en) 2019-07-18 2019-07-18 Battery management method, system, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN110308780A CN110308780A (en) 2019-10-08
CN110308780B true CN110308780B (en) 2020-10-13

Family

ID=68081514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910649222.9A Active CN110308780B (en) 2019-07-18 2019-07-18 Battery management method, system, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN110308780B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111993953B (en) * 2020-08-27 2021-10-29 安徽江淮汽车集团股份有限公司 Battery control method, power automobile and readable storage medium
CN117501207A (en) * 2022-06-01 2024-02-02 北京小米移动软件有限公司 Battery usage control method and device, electronic equipment and storage medium
CN117691705A (en) * 2023-12-08 2024-03-12 江苏海德森能源有限公司 Energy storage safety early warning system of smart power grid

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN106532902A (en) * 2016-10-14 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal dual-battery control device and method
CN108183952A (en) * 2017-12-28 2018-06-19 北京奇虎科技有限公司 A kind of application power consumption analysis method, equipment and storage medium based on cloud platform

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771293A (en) * 2009-06-22 2010-07-07 深圳市友利通电子有限公司 Handheld mobile terminal and power supply device thereof
CN202503357U (en) * 2012-02-17 2012-10-24 深圳天珑移动技术股份有限公司 Double-cell switching circuit
CN103915863B (en) * 2013-01-04 2016-12-28 联想(北京)有限公司 Terminal unit and method of supplying power to thereof
CN103944225B (en) * 2014-04-16 2017-04-26 华为技术有限公司 battery intelligent management method, battery intelligent management device and battery
CN104199696A (en) * 2014-08-28 2014-12-10 刘勇 Electric consumption control method and system and intelligent terminal
CN205507613U (en) * 2015-12-28 2016-08-24 深圳市祈飞科技有限公司 Computer motherboard of double cell power supply
CN105491473A (en) * 2016-02-02 2016-04-13 深圳威武智能科技有限公司 Bluetooth earphone with continuous power supply
CN105914822B (en) * 2016-05-09 2018-08-03 常永利 A kind of battery power supply system and method for intelligent environment-friendly energy-saving
CN108649658B (en) * 2018-06-14 2021-01-12 Oppo(重庆)智能科技有限公司 Multi-battery switching method, power supply device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN106532902A (en) * 2016-10-14 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal dual-battery control device and method
CN108183952A (en) * 2017-12-28 2018-06-19 北京奇虎科技有限公司 A kind of application power consumption analysis method, equipment and storage medium based on cloud platform

Also Published As

Publication number Publication date
CN110308780A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110308780B (en) Battery management method, system, terminal device and storage medium
CN110265739B (en) Battery management method, system, terminal device and storage medium
CN110783652B (en) Battery charging method, battery charging device and storage medium
WO2021008403A1 (en) Battery charging management method, terminal device, and storage medium
CN107843802A (en) Internal short-circuit detection method and device
CN106655344B (en) Charging method and device for mobile terminal
CN110166994B (en) Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
WO2021190320A1 (en) Battery charging protection method and charging protection apparatus, mobile terminal, and storage medium
CN112540304B (en) Battery power management method, electronic device and computer storage medium
WO2018129991A1 (en) Charging method, charging device and terminal
CN103682491A (en) Charging method between electronic devices, charging circuits and electronic devices
CN110350626B (en) Charging control method and device, electronic equipment and computer readable storage medium
CN110368676A (en) Control method, device, storage medium and the electronic equipment of touch information
CN115765119A (en) Charging management method of energy storage power supply, energy storage power supply and storage medium
CN110365084B (en) Charging control method, device, terminal and storage medium
US11165269B2 (en) Electronic apparatus, charging method, and non-transitory computer readable recording medium
CN106972558B (en) Charging control method and electronic equipment
CN107863589B (en) Battery processing method and device
CN110336355B (en) Charging method, charging device and terminal equipment
CN113451669A (en) Charging method and device, electronic device and storage medium
CN111293748A (en) Method and device for monitoring electric quantity data
CN115219930B (en) Vehicle storage battery aging early warning method and device, electronic equipment and storage medium
CN115395621A (en) Emergency energy storage battery electric energy management method, device, equipment and medium
CN107272864B (en) Reset circuit, battery and electronic equipment
CN110365081B (en) Charging control method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant