CN110676521B - Battery management method, device, storage medium and electronic equipment - Google Patents

Battery management method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110676521B
CN110676521B CN201910900401.5A CN201910900401A CN110676521B CN 110676521 B CN110676521 B CN 110676521B CN 201910900401 A CN201910900401 A CN 201910900401A CN 110676521 B CN110676521 B CN 110676521B
Authority
CN
China
Prior art keywords
battery
power consumption
application
electronic equipment
preset
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
CN201910900401.5A
Other languages
Chinese (zh)
Other versions
CN110676521A (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 CN201910900401.5A priority Critical patent/CN110676521B/en
Publication of CN110676521A publication Critical patent/CN110676521A/en
Application granted granted Critical
Publication of CN110676521B publication Critical patent/CN110676521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/4207Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells for several batteries or cells simultaneously or sequentially
    • 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/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • 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
    • H01M10/441Methods for charging or discharging for several batteries or cells simultaneously or sequentially
    • 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/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4271Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application discloses a battery management method, a battery management device, a storage medium and an electronic device. The battery management method can be applied to electronic equipment, the electronic equipment comprises a graphene battery and a lithium battery, and the battery management method comprises the following steps: acquiring power consumption of foreground application; if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment; and if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the lithium battery is used for supplying power to the electronic equipment. The application can improve the flexibility of the electronic equipment when the electronic equipment utilizes the plurality of batteries for power supply.

Description

Battery management method, device, storage medium and electronic equipment
Technical Field
The present application relates to the field of battery technologies, and in particular, to a battery management method and apparatus, a storage medium, and an electronic device.
Background
With the development of technology, users have longer and longer use time of electronic equipment, which also puts higher requirements on the cruising ability of the electronic equipment. In the related art, two or more batteries may be provided in the electronic device to supply power. However, in the related art, when the electronic device is powered by a plurality of batteries, the flexibility is poor.
Disclosure of Invention
The embodiment of the application provides a battery management method and device, a storage medium and an electronic device, which can improve the flexibility of the electronic device when the electronic device is powered by a plurality of batteries.
In a first aspect, an embodiment of the present application provides a battery management method, which is applied to an electronic device, where the electronic device includes a graphene battery and a lithium battery, and the battery management method includes:
acquiring power consumption of foreground application;
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment;
and if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the lithium battery is used for supplying power to the electronic equipment.
In a second aspect, an embodiment of the present application provides a battery management apparatus, which is applied to an electronic device, where the electronic device includes a graphene battery and a lithium battery, and the battery management apparatus includes:
the acquisition module is used for acquiring the power consumption of foreground application;
the first management module is used for supplying power to the electronic equipment by using the graphene battery if the power consumption of the foreground application is detected to be greater than or equal to a preset first threshold value;
and the second management module is used for supplying power to the electronic equipment by using the lithium battery if the power consumption of the foreground application is detected to be smaller than a preset first threshold value.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer program is enabled to execute a battery management method provided by the embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, a graphene battery, and a lithium battery, where the processor is configured to execute the battery management method provided in the embodiment of the present application by calling a computer program stored in the memory.
In this application embodiment, the electronic device can determine to use the graphene battery to supply power or use the lithium battery to supply power according to the power consumption of foreground application. When the foreground of the electronic device runs an application with higher power consumption, the electronic device can use the graphene battery to supply power. When the foreground of the electronic equipment runs an application with lower power consumption, the electronic equipment can use a lithium battery to supply power. Therefore, the power supply distribution of the batteries of the electronic equipment is optimized, and the flexibility of the electronic equipment in power supply by utilizing a plurality of batteries is improved.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic flowchart of a battery management method according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a battery management method according to an embodiment of the present disclosure.
Fig. 3 to 5 are schematic diagrams illustrating a scenario of a battery management method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a battery management device according to an embodiment.
Fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a battery management method according to an embodiment of the present disclosure. The battery management method can be applied to electronic equipment. The electronic device may include a graphene battery and a lithium battery. The flow of the battery management method can comprise the following steps:
101. and acquiring the power consumption of foreground application.
With the development of technology, users have longer and longer use time of electronic equipment, which also puts higher requirements on the cruising ability of the electronic equipment. In the related art, two or more batteries may be provided in the electronic device to supply power. However, in the related art, when the electronic device is powered by a plurality of batteries, the flexibility is poor.
In this embodiment, for example, the electronic device may first obtain the power consumption of the foreground application currently running.
After obtaining the power consumption of the foreground application, the electronic device may detect whether the power consumption of the foreground application is greater than or equal to a preset first threshold.
If the electronic device detects that the power consumption of the foreground application is greater than or equal to a preset first threshold, the process may be entered into step 102.
If the electronic device detects that the power consumption of the foreground application is less than a preset first threshold, the process may be entered into step 103.
102. And if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment.
For example, when the electronic device detects that the power consumption of the foreground application is greater than or equal to the preset first threshold, the power consumption of the foreground application may be considered to be larger. In this case, the electronic device may use the graphene battery to power the electronic device. For example, the electronic device is previously powered by a lithium battery, and the electronic device may be switched from the lithium battery power supply to the graphene battery power supply. If the electronic device was previously powered using a graphene battery, the electronic device may continue to be powered using the graphene battery.
The Graphene (Graphene) battery is a new energy battery developed by utilizing the characteristic that lithium ions rapidly shuttle between the Graphene surface and an electrode in a large amount. Graphene is a honeycomb-shaped planar thin film formed by carbon atoms in an sp2 hybridization manner, is a quasi-two-dimensional material with the thickness of only one atomic layer, and is also called monoatomic layer graphite. It has a thickness of about 0.335nm, and has different undulations depending on the production method, and generally has a height of about 1nm in the vertical direction and a width of about 10mm to 25nm in the horizontal direction, and is a basic structural unit of all carbon crystals (zero-dimensional fullerene, one-dimensional carbon nanotube, three-dimensional graphite) except diamond.
The graphene battery is a battery in which graphene is used as an excellent two-dimensional conductive material and added into a positive electrode material (lithium iron phosphate and the like) of a lithium ion battery to improve the conductivity of the electrode material. The rate capability, the consistency and the service life of the lithium battery added with the graphene conductive agent are improved to different degrees. The graphene can also be added into a new negative electrode material (mesocarbon microbeads and the like), so that the performance of the electrode material is improved.
The graphene battery has the following advantages: first, the stored energy is high. The electricity storage capacity of the graphene battery is three times of that of the best product in the market at present. The specific energy value of one lithium battery (based on the most advanced technology) is 180wh/kg, and the specific energy of one graphene battery exceeds 600 whkg. Second, the charging time is short. The electric vehicle powered by the graphene battery can run for 1000 kilometers at most, and the charging time is less than 8 minutes. Thirdly, the service life is long, and the heat dissipation performance is good. The service life of the graphene battery is four times that of the traditional hydrogenated battery and twice that of the lithium battery. The graphene battery has higher conductivity and better heat dissipation performance. Fourth, light weight. The graphene property enables the weight of the battery to be reduced by half of that of a conventional battery, which can improve the efficiency of a machine in which the battery is loaded.
In the embodiment of the application, because the graphene battery has the characteristics of long service life, good heat dissipation performance, short charging time, high electric storage capacity and the like, when the foreground of the electronic equipment runs the application with high power consumption, the electronic equipment can use the graphene battery to supply power, and the power supply distribution of the electronic equipment is optimized.
103. And if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the lithium battery is used for supplying power to the electronic equipment.
For example, when the electronic device detects that the power consumption of the foreground application is smaller than a preset first threshold, the power consumption of the foreground application may be considered to be smaller. In this case, the electronic device may use a lithium battery to power the electronic device. For example, the electronic device is previously powered by a graphene battery, and the electronic device may be switched from the graphene battery to the lithium battery. If the electronic device was previously powered using a lithium battery, the electronic device may continue to be powered using the lithium battery.
In the embodiment of the application, when the foreground of the electronic equipment runs the application with lower power consumption, the electronic equipment can use the lithium battery to supply power, so that the power supply distribution of the electronic equipment is optimized.
It can be understood that, in the embodiment of the present application, the electronic device may determine to use the graphene battery for power supply or use the lithium battery for power supply according to the power consumption of the foreground application. When the foreground of the electronic device runs an application with higher power consumption, the electronic device can use the graphene battery to supply power. When the foreground of the electronic equipment runs an application with lower power consumption, the electronic equipment can use a lithium battery to supply power. Therefore, the power supply distribution of the batteries of the electronic equipment is optimized, and the flexibility of the electronic equipment in power supply by utilizing a plurality of batteries is improved.
Referring to fig. 2, fig. 2 is another schematic flow chart of a battery management method according to an embodiment of the present disclosure. The battery management method can be applied to electronic equipment. The electronic device may include a graphene battery and a lithium battery. The flow of the battery management method can comprise the following steps:
201. the electronic device obtains power consumption of foreground applications.
For example, the electronic device may first obtain the power consumption of the currently running foreground application.
After obtaining the power consumption of the foreground application, the electronic device may detect whether the power consumption of the foreground application is greater than or equal to a preset first threshold.
If the electronic device detects that the power consumption of the foreground application is greater than or equal to the preset first threshold, the process may enter 202.
If the electronic device detects that the power consumption of the foreground application is less than a preset first threshold, the process may be entered in 204.
202. And if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the electronic equipment acquires historical running information of the foreground application.
203. And if the historical running information of the foreground application meets the preset condition, the electronic equipment uses the graphene battery to supply power to the electronic equipment.
For example, 202 and 203 may include:
when the electronic device detects that the power consumption of the foreground application is greater than or equal to a preset first threshold, the foreground application can be considered to belong to an application with higher power consumption. In this case, the electronic device may acquire the historical operation information of the foreground application, and detect whether the historical operation information of the foreground application satisfies a preset condition. In one embodiment, the fact that the historical running information of the foreground application meets the preset condition may indicate that the foreground application is likely to be used by the user for a long time in the last period of time.
If the historical running information of the foreground application is detected to meet the preset condition, the electronic equipment can use the graphene battery to supply power to the electronic equipment.
In one embodiment, the electronic device acquiring historical running information of the foreground application may include:
the electronic equipment obtains the average daily running time of the foreground application within a preset time range.
Then, if the historical operating information of foreground application satisfies the preset condition, then electronic equipment uses the graphene battery to supply power for this electronic equipment, can include:
if the average daily operation time of the foreground application in the preset time range is greater than or equal to the preset time, the electronic equipment uses the graphene battery to supply power to the electronic equipment.
For example, the electronic device detects that the foreground application is an application with relatively large power consumption, and in this case, the electronic device may further obtain an average daily operation duration of the foreground application within a preset time range. For example, the electronic device may obtain an average daily run length for the foreground application over the last 10 days.
Thereafter, the electronic device may detect whether an average daily operating duration of the foreground application within the last 10 days is greater than or equal to a preset duration.
If the average daily running time of the foreground application in the last 10 days is greater than or equal to the preset time, the foreground application may be considered as an application with higher power consumption and a user may run for a longer time each day in the last period of time. In this case, the electronic device may use the graphene battery to power the electronic device.
If the average daily running time of the foreground application in the last 10 days is less than the preset time, it may be considered that the foreground application is an application with relatively high power consumption, but the running time of the foreground application is relatively short. In this case, the electronic device may use a lithium battery to power the electronic device.
204. And if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the electronic equipment acquires the power consumption of the background application.
205. And if the power consumption of the background application is smaller than a preset second threshold value, the electronic equipment uses a lithium battery to supply power to the electronic equipment.
For example, 204 and 205 may include:
when the electronic device detects that the power consumption of the foreground application is smaller than a preset first threshold, the foreground application can be considered to belong to an application with smaller power consumption. In this case, the electronic device may further obtain the total power consumption of the applications in the background at this time, and detect whether the power consumption of the applications in the background is less than a preset second threshold.
If the power consumption of the background application is detected to be smaller than the preset second threshold, the total power consumption of the background application can be considered to be smaller. In this case, the electronic device may use a lithium battery to power the electronic device.
If the power consumption of the background application is detected to be greater than or equal to the preset second threshold, the total power consumption of the background application can be considered to be larger. In this case, the electronic device may use the graphene battery to power the electronic device.
In another embodiment, in this embodiment, if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the electronic device uses the graphene battery to supply power to the electronic device, and the method may include:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the electronic equipment acquires an environmental parameter;
the electronic equipment detects whether the electronic equipment is located in an outdoor environment or not according to the environment parameters;
if the electronic equipment is detected to be located in an outdoor environment, the graphene battery is used by the electronic equipment to supply power to the electronic equipment.
For example, after obtaining the power consumption of the foreground application, the electronic device detects that the power consumption of the foreground application is greater than or equal to a preset first threshold, that is, the application currently running on the electronic device is an application with higher power consumption. In this case, the electronic device may further acquire an environmental parameter and detect whether the electronic device is located in an outdoor environment according to the environmental parameter.
If the electronic device is detected to be located in an outdoor environment according to the environmental parameters, the electronic device can be powered by the graphene battery. It can be understood that, when being located in the outdoor environment, because it is inconvenient to charge outdoors, electronic equipment can use the higher graphite alkene battery of reserve of electricity to supply power for this electronic equipment.
In one embodiment, the environmental parameter may be a parameter such as ambient light level, geographical location, decibels of noise in the surrounding environment, temperature, humidity, and the like. After obtaining the environmental parameters, the electronic device may input the environmental parameters into an algorithm model that is previously subjected to learning training, where the algorithm model may be a two-class algorithm model, the input of which is the environmental parameters, and the output of which is that the current environment is located indoors or outdoors.
In some embodiments, the power consumption of the foreground application acquired by the electronic device may be real-time power consumption of the foreground application, or historical power consumption of the foreground application.
When the electronic device obtains the historical power consumption of the foreground application, the electronic device may count the power consumption and the total running time of each application located in the foreground every day, and calculate the power consumption required to be consumed in the unit time when each application runs in the foreground every day according to the power consumption and the total running time. Then, for example, if the application currently running in the foreground is a, the electronic device may obtain the amount of power required to be consumed in the unit time, which is calculated by the application a last time, and determine the amount of power to be consumed as the power consumption of the application a.
Alternatively, in another embodiment, for example, an electronic device manufacturer or an application provider may also count power consumption of each application in advance and generate a correspondence table between the application and the power consumption. Then, when a certain application is running, the electronic device may obtain the power consumption value of the application according to the correspondence table, and if the power consumption value of the application is greater than or equal to a preset first threshold, the electronic device may use the graphene battery to supply power. If the power consumption value of the application is smaller than the preset first threshold value, the electronic device can use a lithium battery for power supply.
In an implementation manner, in this embodiment, when the remaining power of the graphene battery is greater than or equal to a preset power threshold and the remaining power of the lithium battery is greater than the preset power threshold, if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the graphene battery is used to supply power to the electronic device, or if it is detected that the power consumption of the foreground application is less than the preset first threshold, the lithium battery is used to supply power to the electronic device.
That is, under the condition that the remaining capacity of graphene battery and lithium battery is all higher, graphene battery can supply power when only operating the proscenium application of high-power consumption, or the lithium battery can supply power when only operating the proscenium application of low-power consumption. Therefore, the situation that the graphene battery or the lithium battery is used for power supply all the time can be avoided, and power supply distribution of the battery is optimized.
Referring to fig. 3 to 5, fig. 3 to 5 are schematic views of a scenario of a battery management method according to an embodiment of the present application.
For example, as shown in fig. 3, the electronic device may include a dual battery power supply system including a graphene battery and a lithium battery. Wherein, this graphite alkene battery and this lithium cell can supply power for this electronic equipment. For example, in the embodiment of the present application, the electronic device may be powered by only one of the graphene battery and the lithium battery at a certain time. For example, the electronic device may be powered only by the graphene battery at time T1. And the electronic device may be powered only by the lithium battery at time T2.
In one embodiment, the capacity of the graphene battery may be higher than that of the lithium battery.
For example, as shown in FIG. 4, the user has clicked on the application icon for application Y1. Of these, application Y1 is the XX game, which consumes more power while running. After turning on application Y1, the electronic device may obtain the power consumption of application Y1. For example, the electronic device may acquire the amount of power consumed by the application Y1 within 10 seconds after being turned on, estimate the amount of power that the application Y1 needs to consume within a unit time of 1 minute from the amount of power consumed by the application Y1 within 10 seconds after being turned on, and determine the estimated amount of power that the application Y1 needs to consume within a unit time of 1 minute as the power consumption of the application Y1.
Thereafter, the electronic device may detect whether the calculated power consumption of the application Y1 is greater than or equal to a preset threshold. For example, in this embodiment, if the electronic device detects that the calculated power consumption of the application Y1 is greater than the preset threshold, the electronic device may determine that the application Y1 is an application with larger power consumption. In this case, the electronic device may be powered using a graphene battery.
It can be understood that, because the higher application of consumption that the proscenium was operated, consequently use the higher graphite alkene battery of battery capacity to supply power for the proscenium is used, can guarantee the electric quantity supply of using on the one hand, on the other hand because the higher application of consumption operation battery can produce more heat, and graphite alkene battery's heat dispersion will be superior to the lithium cell, consequently compare in the condition that uses the lithium cell to supply power, use graphite alkene battery to supply power to high-power consumption application and can also reduce electronic equipment's generating heat, improve user experience.
Some time later, the user exits application Y1 and clicks on the application icon of application Y2, as shown in FIG. 5. Wherein, the application Y2 is an instant messaging application. After turning on application Y2, the electronic device may obtain the power consumption of application Y2. For example, the electronic device may acquire the amount of power consumed by the application Y2 within 10 seconds after being turned on, estimate the amount of power that the application Y2 needs to consume within a unit time of 1 minute from the amount of power consumed by the application Y2 within 10 seconds after being turned on, and determine the estimated amount of power that the application Y2 needs to consume within a unit time of 1 minute as the power consumption of the application Y2.
Thereafter, the electronic device may detect whether the calculated power consumption of the application Y2 is greater than or equal to a preset threshold. For example, in this embodiment, if the electronic device detects that the calculated power consumption of the application Y2 is less than the preset threshold, the electronic device may determine that the application Y2 is an application with less power consumption. In this case, the electronic device may be powered using a lithium battery. That is, the power supply battery may be switched from the previous graphene battery to the lithium battery.
It can be understood that, in this embodiment, the electronic device may determine to specifically use the graphene battery or the lithium battery for power supply according to the power consumption of the running application. When running applications with higher power consumption, the electronic device may use the graphene battery for power supply. When running applications with lower power consumption, the electronic device may use a lithium battery for power supply. The power supply mode improves the flexibility of the electronic equipment for supplying power by using a plurality of batteries, optimizes the power supply distribution of the batteries and reduces the heat generation of the electronic equipment.
Please refer to fig. 6 and fig. 6, which are schematic structural diagrams of a battery management apparatus according to an embodiment of the present application. The battery management device can be applied to electronic equipment, and the electronic equipment can comprise a graphene battery and a lithium battery. The battery management apparatus 300 may include: an acquisition module 301, a first management module 302, and a second management module 303.
An obtaining module 301, configured to obtain power consumption of a foreground application.
A first management module 302, configured to use the graphene battery to supply power to the electronic device if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold.
And the second management module 303 is configured to, if it is detected that the power consumption of the foreground application is smaller than a preset first threshold, use the lithium battery to supply power to the electronic device.
In one embodiment, the first management module 302 may be configured to:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring historical running information of the foreground application;
and if the historical running information of the foreground application meets a preset condition, using the graphene battery to supply power to the electronic equipment.
In one embodiment, the first management module 302 may be configured to:
acquiring the average daily operation time of the foreground application within a preset time range;
and if the average daily running time of the foreground application in a preset time range is greater than or equal to a preset time, using the graphene battery to supply power to the electronic equipment.
In one embodiment, the second management module 303 may be configured to:
if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, acquiring the power consumption of the background application;
and if the power consumption of the background application is smaller than a preset second threshold value, the lithium battery is used for supplying power to the electronic equipment.
In one embodiment, the first management module 302 may be configured to:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring an environment parameter;
detecting whether the electronic equipment is located in an outdoor environment according to the environment parameters;
and if the electronic equipment is detected to be located in the outdoor environment, the graphene battery is used for supplying power to the electronic equipment.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the flow in the battery management method provided in this embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the procedure in the battery management method provided in this embodiment by calling the computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 400 may include components such as a battery module 401, memory 402, a processor 403, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The battery module 401 may include a dual battery power supply system composed of a graphene battery and a lithium battery.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.
The processor 403 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 403 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, so as to execute:
acquiring power consumption of foreground application;
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment;
and if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the lithium battery is used for supplying power to the electronic equipment.
Referring to fig. 8, the electronic device 400 may include a battery module 401, a memory 402, a processor 403, an input unit 404, an output unit 405, a speaker 406, a microphone 407, and the like.
The battery module 401 may include a graphene battery and a lithium battery.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.
The processor 403 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
The input unit 404 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The output unit 405 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
The speaker 406 may be used to output sound signals and the like, for example, the speaker 406 may be used to play audio files and the like.
The microphone 407 may be used to pick up sound signals in the surrounding environment. For example, the microphone 407 may be configured to receive voice uttered by a user and transmit the voice to the processor 503, and the processor 503 may convert the voice into corresponding instructions and execute the instructions.
In this embodiment, the processor 403 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, so as to execute:
acquiring power consumption of foreground application;
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment;
and if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, the lithium battery is used for supplying power to the electronic equipment.
In an embodiment, when the processor 403 executes that if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the graphene battery is used to supply power to the electronic device, the following steps may be executed:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring historical running information of the foreground application;
and if the historical running information of the foreground application meets a preset condition, using the graphene battery to supply power to the electronic equipment.
In one embodiment, when the processor 403 executes to obtain the historical execution information of the foreground application, it may execute: and acquiring the average daily operation time of the foreground application within a preset time range.
Then, the processor 403 may execute, if the historical operating information of the foreground application meets a preset condition, when the graphene battery is used to supply power to the electronic device, the following steps: and if the average daily running time of the foreground application in a preset time range is greater than or equal to a preset time, using the graphene battery to supply power to the electronic equipment.
In an embodiment, if it is detected that the power consumption of the foreground application is smaller than a preset first threshold, the processor 403 may perform, when using the lithium battery to supply power to the electronic device:
if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, acquiring the power consumption of the background application;
and if the power consumption of the background application is smaller than a preset second threshold value, the lithium battery is used for supplying power to the electronic equipment.
In an embodiment, when the processor 403 executes that if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the graphene battery is used to supply power to the electronic device, the following steps may be executed:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring an environment parameter;
detecting whether the electronic equipment is located in an outdoor environment according to the environment parameters;
and if the electronic equipment is detected to be located in the outdoor environment, the graphene battery is used for supplying power to the electronic equipment.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the battery management method, and are not described herein again.
The battery management device provided in the embodiment of the present application and the battery management method in the above embodiment belong to the same concept, and any method provided in the embodiment of the battery management method may be operated on the battery management device, and a specific implementation process thereof is described in the embodiment of the battery management method in detail, and is not described herein again.
It should be noted that, for the battery management method described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the battery management method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution, the process of implementing the battery management method can include the process of the embodiment of the battery management method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the battery management device according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing detailed description is directed to a battery management method, an apparatus, a storage medium, and an electronic device provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. A battery management method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a graphene battery and a lithium battery, and the battery management method comprises the following steps:
acquiring power consumption of foreground application;
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, the graphene battery is used for supplying power to the electronic equipment;
if the power consumption of the foreground application is detected to be smaller than a preset first threshold value, acquiring the power consumption of the background application; and if the power consumption of the background application is smaller than a preset second threshold value, the lithium battery is used for supplying power to the electronic equipment.
2. The battery management method according to claim 1, wherein if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the using the graphene battery to supply power to the electronic device comprises:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring the average daily operation time of the foreground application within a preset time range;
and if the average daily running time of the foreground application in a preset time range is greater than or equal to a preset time, using the graphene battery to supply power to the electronic equipment.
3. The battery management method according to claim 1, wherein if it is detected that the power consumption of the foreground application is greater than or equal to a preset first threshold, the using the graphene battery to supply power to the electronic device comprises:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring an environment parameter;
detecting whether the electronic equipment is located in an outdoor environment according to the environment parameters;
and if the electronic equipment is detected to be located in the outdoor environment, the graphene battery is used for supplying power to the electronic equipment.
4. The utility model provides a battery management device, is applied to electronic equipment, its characterized in that, electronic equipment includes graphite alkene battery and lithium cell, battery management device includes:
the acquisition module is used for acquiring the power consumption of foreground application;
the first management module is used for supplying power to the electronic equipment by using the graphene battery if the power consumption of the foreground application is detected to be greater than or equal to a preset first threshold value;
the second management module is used for acquiring the power consumption of the background application if the power consumption of the foreground application is detected to be smaller than a preset first threshold value; and if the power consumption of the background application is smaller than a preset second threshold value, the lithium battery is used for supplying power to the electronic equipment.
5. The battery management apparatus of claim 4, wherein the first management module is configured to:
if the power consumption of the foreground application is detected to be larger than or equal to a preset first threshold value, acquiring the average daily operation time of the foreground application within a preset time range;
and if the average daily running time of the foreground application in a preset time range is greater than or equal to a preset time, using the graphene battery to supply power to the electronic equipment.
6. A storage medium having stored thereon a computer program, characterized in that the computer program, when executed on a computer, causes the computer to execute the method according to any of claims 1 to 3.
7. An electronic device comprising a memory, a processor, a graphene battery and a lithium battery, wherein the processor is configured to execute the method according to any one of claims 1 to 3 by calling a computer program stored in the memory.
CN201910900401.5A 2019-09-23 2019-09-23 Battery management method, device, storage medium and electronic equipment Active CN110676521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910900401.5A CN110676521B (en) 2019-09-23 2019-09-23 Battery management method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910900401.5A CN110676521B (en) 2019-09-23 2019-09-23 Battery management method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110676521A CN110676521A (en) 2020-01-10
CN110676521B true CN110676521B (en) 2021-02-09

Family

ID=69077283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910900401.5A Active CN110676521B (en) 2019-09-23 2019-09-23 Battery management method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110676521B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559297B (en) * 2020-12-23 2022-12-20 Oppo广东移动通信有限公司 Power consumption calculation method and device, storage medium, terminal and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207409619U (en) * 2017-11-02 2018-05-25 中能东道集团有限公司 A kind of graphene battery
CN108155678A (en) * 2016-12-02 2018-06-12 富泰华工业(深圳)有限公司 Electronic device and the method for controlling the electronic device charge and discharge
CN109950944A (en) * 2017-12-21 2019-06-28 南京德朔实业有限公司 Portable power supply device and portable power supply system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2419243B (en) * 2002-11-22 2007-01-31 Milwaukee Electric Tool Corp Method And System For Battery Charging
KR102284482B1 (en) * 2014-12-11 2021-08-02 삼성에스디아이 주식회사 battery pack
CN106976401A (en) * 2017-05-05 2017-07-25 张廷祥 A kind of graphene lithium battery super capacitor dual intensity operated control method and system
CN111527664B (en) * 2018-03-01 2023-06-30 株式会社村田制作所 Battery pack
CN110048479A (en) * 2019-04-22 2019-07-23 维沃移动通信有限公司 A kind of battery control method and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108155678A (en) * 2016-12-02 2018-06-12 富泰华工业(深圳)有限公司 Electronic device and the method for controlling the electronic device charge and discharge
CN207409619U (en) * 2017-11-02 2018-05-25 中能东道集团有限公司 A kind of graphene battery
CN109950944A (en) * 2017-12-21 2019-06-28 南京德朔实业有限公司 Portable power supply device and portable power supply system

Also Published As

Publication number Publication date
CN110676521A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
EP3502880A1 (en) Method for preloading application, storage medium, and terminal device
CN103376414B (en) The method and device of battery electric quantity monitoring
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN105359057A (en) Setting computer parameters to operate the power supply within a range based on a peak power efficiency of the power supply
WO2018129991A1 (en) Charging method, charging device and terminal
US20170162899A1 (en) Shared Electrode Battery
CN103312901A (en) Power-saving method and device for mobile terminal with screen
CN108279861A (en) volume adjusting method, device and storage medium
CN105808409B (en) A kind of information processing method and electronic equipment
CN110676521B (en) Battery management method, device, storage medium and electronic equipment
CN110365084B (en) Charging control method, device, terminal and storage medium
CN113852135A (en) Virtual power plant energy scheduling method, device, storage medium and platform
CN110350619B (en) Charging control method, device, terminal and storage medium
CN110336355B (en) Charging method, charging device and terminal equipment
CN111580774B (en) Sound effect adjusting method, device, equipment and storage medium
WO2023246185A1 (en) Evaluation method and apparatus, electronic device, and storage medium
US20230178993A1 (en) Systems and techniques for renewable energy generation
CN115657570B (en) Intelligent chip control method and device in low power consumption mode and storage medium
CN110601292B (en) Battery management method, device, storage medium and electronic equipment
CN105828421A (en) Terminal and terminal power saving method
CN110365081B (en) Charging control method, device, terminal and storage medium
CN110493857B (en) Battery using method, device, terminal and storage medium
CN108803857A (en) Application software energy consumption monitoring method, mobile terminal and readable storage medium storing program for executing
CN114331757A (en) Energy management method, energy management device, computer equipment and computer readable storage medium
CN110427085B (en) Electronic equipment power supply 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
GR01 Patent grant
GR01 Patent grant