CN110493857A - Application method, device, terminal and the storage medium of battery - Google Patents

Application method, device, terminal and the storage medium of battery Download PDF

Info

Publication number
CN110493857A
CN110493857A CN201910824335.8A CN201910824335A CN110493857A CN 110493857 A CN110493857 A CN 110493857A CN 201910824335 A CN201910824335 A CN 201910824335A CN 110493857 A CN110493857 A CN 110493857A
Authority
CN
China
Prior art keywords
battery
power consumption
terminal
ratio
target
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.)
Granted
Application number
CN201910824335.8A
Other languages
Chinese (zh)
Other versions
CN110493857B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910824335.8A priority Critical patent/CN110493857B/en
Publication of CN110493857A publication Critical patent/CN110493857A/en
Application granted granted Critical
Publication of CN110493857B publication Critical patent/CN110493857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The embodiment of the present application discloses application method, device, terminal and the storage medium of a kind of battery, belong to field of computer technology, when receiving the request for electricity sent with electrical component, obtain history power consumption information, it can get internal power consumption ratio according to history power consumption information, according to internal power consumption than determining target battery be electricity consumption assembly power supply, internal power consumption ratio is the ratio between the history power consumption numerical value of the first battery and the history power consumption numerical value of the second battery, target battery is the first battery or the second battery, and terminal control target battery is electricity consumption assembly power supply.It can be seen that, terminal can be powered by the history power consumption information battery that intelligent selection adapts to from two pieces of batteries, the electric energy of two pieces of battery consumptions is enabled to meet design needs, keep service life approximately equal, avoid that one piece of battery exhausts service life and another piece of battery improves the service efficiency of the battery in terminal there are also the generation of the scene of long service life.

Description

Application method, device, terminal and the storage medium of battery
Technical field
The invention relates to field of computer technology, in particular to a kind of application method of battery, device, terminal and Storage medium.
Background technique
The growth of demand with mobile terminal to battery capacity and charging rate, since mobile terminal needs while meeting Big battery capacity and high charge speed.Therefore, the battery design difficulty in mobile terminal also increasingly increases.
In a kind of mode that can be realized, mobile terminal can by design two pieces of batteries come meet big battery capacity and High charge speed.Wherein, due to the increase of number of battery cells, the total battery capacity of mobile terminal will be with increase.Meanwhile two blocks of electricity Pond can improve charging rate by way of charged in parallel.
Summary of the invention
The embodiment of the present application provides application method, device, terminal and the storage medium of a kind of battery.The technical solution It is as follows:
According to the one side content of the application, a kind of application method of battery is provided, is applied in terminal, the terminal Including the first battery and the second battery, which comprises
When receiving the request for electricity issued with electrical component, history power consumption information is obtained, described with electrical component is described Electrical hardware in terminal, the history power consumption information are used to indicate the history power consumption numerical value and described second of first battery The history power consumption numerical value of battery;
According to internal power consumption than determining target battery, the internal power consumption ratio is the history power consumption numerical value of first battery Ratio between the history power consumption numerical value of second battery, the target battery are first battery or second electricity Pond;
Controlling the target battery is the electricity consumption assembly power supply.
According to the another aspect content of the application, a kind of use device of battery is provided, is applied in terminal, the end End includes the first battery and the second battery, described device include:
Module is obtained, for obtaining history power consumption information, the use when receiving the request for electricity issued with electrical component Electrical component is the electrical hardware in the terminal, and the history power consumption information is used to indicate the history power consumption number of first battery The history power consumption numerical value of value and second battery;
Determining module, for, than determining target battery, the internal power consumption ratio to be first battery according to internal power consumption History power consumption numerical value and second battery history power consumption numerical value between ratio, the target battery be it is described first electricity Pond or second battery;
Control module is the electricity consumption assembly power supply for controlling the target battery.
According to the another aspect content of the application, a kind of terminal is provided, the terminal includes processor and memory, institute It states and is stored at least one instruction in memory, described instruction is loaded by the processor and executed to realize that the application such as is implemented The application method of the battery of offer.
According to the another aspect content of the application, a kind of computer readable storage medium is provided, in the storage medium It is stored at least one instruction, described instruction is loaded by processor and executed to realize that the application such as implements making for the battery provided Use method.
Technical solution bring beneficial effect provided by the embodiments of the present application may include:
The embodiment of the present application application includes the first battery and the second battery in terminal, when receiving electricity consumption group in the terminal When the request for electricity that part is sent, history power consumption information is obtained, internal power consumption ratio can get according to history power consumption information, according to inside Power consumption is with the power supply unit of electrical component than determining target battery, and internal power consumption ratio is the history power consumption numerical value and the of the first battery Ratio between the history power consumption numerical value of two batteries, target battery are the first battery or the second battery, terminal control target battery For electricity consumption assembly power supply.It can be seen that terminal can pass through the history power consumption information electricity that intelligent selection adapts to from two pieces of batteries Pond power supply enables the electric energy of two pieces of battery consumptions to meet design needs, keeps service life approximately equal, avoid one block of electricity Pond exhausts service life and another piece of battery improves making for the battery in terminal there are also the generation of the scene of long service life Use efficiency.
Detailed description of the invention
It, below will be to institute in the embodiment of the present application description in order to more clearly introduce the technical solution in the embodiment of the present application Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural block diagram for terminal that one exemplary embodiment of the application provides;
Fig. 2 is a kind of flow chart of the application method for battery that one exemplary embodiment of the application provides;
Fig. 3 is a kind of application method flow chart for battery that another exemplary embodiment of the application provides;
Fig. 4 is a kind of user interface schematic diagram provided based on embodiment illustrated in fig. 3;
Fig. 5 is a kind of structural block diagram of the use device for battery that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application The example of method.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In the description of the present application, it should be noted that unless otherwise specific regulation And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition Body meaning.In addition, unless otherwise indicated, " multiple " refer to two or more in the description of the present application."and/or" is retouched The incidence relation of affiliated partner is stated, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, together When there are A and B, these three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
For scheme shown in the embodiment of the present application it can be readily appreciated that below to several nouns occurred in the embodiment of the present application into Row is introduced.
With electrical component: the electrical hardware in terminal, can be connected with the battery in terminal and can obtain electric energy carries out work Make.It include processor, memory, screen assembly, sensor, loudspeaker, sudden strain of a muscle with electrical component in a kind of possible executive mode At least one of light lamp or antenna.In alternatively possible mode, with electrical component can also be from terminal obtain electric energy its Its equipment.Optionally, a kind of mode obtaining electric energy is to pass through electrical cable with electrical component to connect with terminal, and obtain in terminal Electric energy.The mode that another kind obtains electric energy is to obtain electric energy, the embodiment of the present application pair to terminal by way of wireless coil This is with no restrictions.
First battery: being arranged battery in the terminal, which can be graphene battery.The first electricity of setting in the terminal The purpose in pond is the high-performance by the first battery, provides excellent power supply for terminal and guarantees.In a kind of possible realization side In formula, the high-performance of the first battery may include: reserve of electricity is high, charging rate is fast, in long service life and light unit weight extremely Few one kind.
Second battery: battery in the terminal is set simultaneously with the first battery, which can be lithium battery etc. and use the longevity Life is lower than the battery of the first battery.In one possible implementation, the first battery and the second battery is arranged in terminal simultaneously Reason is that the cost of the first battery is higher or the volume production scarce capacity of the first battery etc..
Optionally, terminal provided by the present application be other than it can be arranged the first battery and the second battery simultaneously, can be with Other batteries are added according to demand, so that total number of battery cells of terminal is n, n is the integer greater than 3.When terminal is to use electrical component When determining target battery, also target battery can be determined from n battery according to the history power consumption numerical value of battery.
History power consumption information: the history power consumption numerical value of the first battery and the history power consumption numerical value of the second battery are used to indicate. In a kind of possible mode, which is stored in the memory of terminal.It, should in alternatively possible mode History power consumption information is stored in battery management chip.Optionally, battery management chip can be total one piece, be also possible to one Block battery corresponds to one piece of battery management chip.When battery management chip can be total one piece, the history power consumption of the first battery The history power consumption numerical value of numerical value and the second battery can be uniformly stored in total battery management chip.Work as battery management chip When being the first battery and one piece of each correspondence of the second battery, the history power consumption numerical value of the first battery can store the electricity in the first battery In the managing chip of pond, the history power consumption numerical value of the second battery be can store in the battery management chip of the second battery.At this Jing Zhong, terminal obtain corresponding history from the battery management chip of the battery management chip of the first battery and the second battery respectively Power consumption numerical value finally summarizes as history power consumption information.
In a kind of possible mode, history power consumption numerical value refers to that battery after completing manufacture, accumulates the electricity of output, Such as the numerical value such as 600Ah, 1400Ah or 3200Ah.In a kind of possible measurement method, battery management chip can be in correspondence Battery when outwardly powering, record the electricity of output.
Internal power consumption ratio: it is used to indicate between the history power consumption numerical value of the first battery and the history power consumption numerical value of the second battery Ratio.It should be noted that the inside power consumption is than for reflecting the ratio of the first battery and the total power consumption of the second battery.Example Such as, if the history power consumption numerical value of the first battery is 3600Ah, the history power consumption numerical value of the second battery is 2400Ah, then internal power consumption Than being 1.5.
Illustratively, the application method of battery shown in the embodiment of the present application, can be using in the terminal, which has Display screen and the use function of having battery.Terminal may include mobile phone, tablet computer, MP4 playback terminal, MP5 playback terminal, Learning machine, point reader, electric paper book, electronic dictionary or car-mounted terminal etc..
Fig. 1 is the structural block diagram for the terminal that one exemplary embodiment of the application provides, as shown in Figure 1, the terminal includes Processor 120, memory 140, the first battery 160 and the second battery 180 are stored at least one finger in the memory 140 It enables, described instruction is as loading the processor 120 and executes to realize the battery as described in each embodiment of the method for the application Application method.
In this application, terminal 100 is the electronic equipment for having more batteries of battery management function.In a kind of possible side In formula, terminal has two pieces of batteries, including the first battery and the second battery.Wherein, the service life of the first battery is longer than second The service life of battery.When terminal 100 receives the request for electricity issued with electrical component, terminal 100 can obtain history consumption Power information, the history power consumption information are used to indicate the history power consumption numerical value of first battery and the history consumption of second battery Electric numerical value, terminal are electricity consumption assembly power supply than determining target battery according to internal power consumption, internal power consumption than when first battery go through Ratio between history power consumption numerical value and the history power consumption numerical value of the second battery, target battery are the first battery or the second battery, with Afterwards, control target battery is electricity consumption assembly power supply.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 140, program, code set or refer to Collection is enabled, and calls the data being stored in memory 140, executes the various functions and processing data of terminal 100.Optionally, Processor 120 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method Apply the data etc. being related in example.
First battery 160 and the second battery 180 can be two pieces of equal batteries of capacity, be also possible to amount of capacity difference Two pieces of batteries.In a kind of possible mode, if it is more expensive in view of the first battery cost situations such as, terminal can will be by first The Capacity design of battery it is smaller, the Capacity design of the second battery it is larger.In alternatively possible mode, terminal can also be with By the larger of the Capacity design of the first battery, the Capacity design of the second battery it is smaller.
Referring to FIG. 2, Fig. 2 is the flow chart of the application method for the battery that one exemplary embodiment of the application provides.It should The application method of battery can be applied in the terminal shown in above-mentioned.In Fig. 2, the application method of battery includes:
Step 210, when receiving the request for electricity issued with electrical component, history power consumption information is obtained, is with electrical component Electrical hardware in terminal, history power consumption information are used to indicate the history power consumption numerical value of the first battery and the history consumption of the second battery Electric numerical value.
In the embodiment of the present application, terminal can be powered to be each with electrical component connection battery after powering.Work as end When only having a battery in end, terminal is not necessarily to battery selected to use.In this scene, with the increasing of a service time of battery Long, battery performance decline is used up up to the service life.For example, in the terminal with the first battery and the second battery, if one of them The service life of battery is used up and the service life of another battery is also unexhausted, then terminal is after a battery is scrapped, the energy storage of terminal It can will decline to a great extent.
In the embodiment of the present application, terminal after powering, can receive each request for electricity sent with electrical component.Work as end After end obtains the request for electricity, terminal will acquire history power consumption information.It in the embodiment of the present application, is in terminal with electrical component Electrical hardware, and history power consumption information is used to indicate the history power consumption numerical value of the first battery and the history power consumption number of the second battery Value.
In alternatively possible embodiment, terminal can also in the process of running reception electrical component issue use Electricity request.For example, flash lamp issues request for electricity when photograph application needs to call flash lamp, thus triggering terminal acquisition is gone through The operation of history power consumption information.
Step 220, according to internal power consumption than determining target battery, internal power consumption ratio is the history power consumption numerical value of the first battery And second battery history power consumption numerical value between ratio, target battery is the first battery or the second battery.
In the embodiment of the present application, terminal can be electricity consumption assembly power supply than determining target battery according to internal power consumption.It needs It is noted that internal power consumption ratio is the ratio between the history power consumption numerical value of the first battery and the history power consumption numerical value of the second battery Value.Optionally, terminal can be electricity consumption assembly power supply by target battery according to internal power consumption than determining target battery.
Internal power consumption can be stored in advance in a kind of possible mode, in terminal than the corresponding relationship with target battery. Refer to table one, table one shows a kind of target power consumption than the corresponding relationship with target battery.
Table one
Target power consumption ratio (0,3] (3,+∞]
Target battery First battery Second battery
In Table 1, if terminal obtain target power consumption ratio belong to (0,3] when, terminal by the first battery be determined as target electricity Pond.In table two, if terminal obtain target power consumption ratio belong to (3 ,+∞] when, the second battery is determined as target battery by terminal.
Step 230, control target battery is electricity consumption assembly power supply.
In the embodiment of the present application, it is electricity consumption assembly power supply that terminal, which can control target battery,.
In one possible implementation, terminal will turn on target battery and the conductivity pathway with electrical component, so that with Electrical component can be electrical connected with target battery, obtain electric energy from target battery with electrical component and work.
In conclusion the application method of battery provided in this embodiment, can apply in the terminal, it include first in terminal Battery and the second battery obtain history power consumption information, according to history power consumption when receiving the request for electricity sent with electrical component Information can get internal power consumption ratio, according to internal power consumption than determinings target battery for the power supply unit of electrical component, internal power consumption Than being the ratio between the history power consumption numerical value of the first battery and the history power consumption numerical value of the second battery, target battery is the first electricity Pond or the second battery, terminal control target battery are electricity consumption assembly power supply.It can be seen that terminal can pass through history power consumption information The battery power supply that intelligent selection adapts to from two pieces of batteries, enables the electric energy of two pieces of battery consumptions to meet design needs, protects Hold that service life is approximately equal, avoid one piece of battery exhaust service life and another piece of battery there are also the scenes of long service life Generation, improve the service efficiency of the battery in terminal.
Based on scheme disclosed in upper one embodiment, terminal can also first obtain the type of battery according to the model of battery Number, please refer to following examples.
Fig. 3 is referred to, Fig. 3 is the application method flow chart for the battery that another exemplary embodiment of the application provides.It should The application method of battery can be applied in the terminal shown in above-mentioned.In Fig. 3, the application method of the battery includes:
Step 310, when receiving the request for electricity issued with electrical component, history power consumption information is obtained.
In the embodiment of the present application, the implementation procedure of step 310 and the implementation procedure of step 210 are identical, no longer superfluous herein It states.
Step 321, the model of the first battery and the model of the second battery are obtained.
In the embodiment of the present application, terminal can obtain the model of the first battery and the model of the second battery.One kind can In the mode of energy, the model of battery is used to correspond to the use service life of the battery.Optionally, the model of battery can be stored in In the managing chip of battery, it can also save in processor in the terminal.
Step 322, according to the model of the model of the first battery and the second battery, the service life of the first battery is obtained respectively With the service life of the second battery.
In the embodiment of the present application, terminal can obtain respectively according to the model of the first battery and the model of the second battery The service life of the service life of first battery and the second battery.In one possible implementation, terminal can be by first The model of battery and the model of the second battery are sent to server, by server according to the model of the first battery and the second battery Model determines the service life of the first battery and the service life of the second battery respectively, and the data are returned to terminal.
In alternatively possible embodiment, terminal can also access the system configuration file of itself, be matched according to system It sets the data recorded in file and determines the service life of the first battery and the service life of the second battery.It should be noted that In In the actual production of terminal, since there may be multiple battery manufacturers supplies for the terminal of same model.Therefore, terminal can incite somebody to action The battery size of multiple manufacturers and corresponding operating life data are written in system configuration file, and processor is in subsequent processing mistake Cheng Zhong will obtain the service life to drink according to battery size.
In the embodiment of the present application, when terminal execute complete step 322 after, terminal can choose step 323, step 324, Step 331 or step 341 any one step continue to execute subsequent operation.
Step 323, when internal power consumption ratio is greater than standard power consumption ratio, determine that the second battery is target battery, standard power consumption Than the ratio between service life and the service life of the second battery for being used to indicate the first battery.
In the embodiment of the present application, terminal obtain the first battery service life and the second battery service life it Afterwards, by the ratio of the automatic service life for calculating the first battery and the service life of the second battery, which is determined as standard Power consumption ratio.For example, when the ratio of the service life of the second battery is L2, terminal is determined when the service life of the first battery is L1 The ratio of the service life of first battery and the service life of the second battery is L1/L2, and in this scenario, standard power consumption ratio is L1/L2。
In the embodiment of the present application, the power consumption of terminal standard of comparison is than the size with internal power consumption ratio.Wherein, internal power consumption ratio Be the first battery history power consumption numerical value and the second battery history power consumption numerical value ratio.For example, when the history of the first battery Power consumption numerical value is 1800Ah, and when the history power consumption numerical value of the second battery is 2400Ah, and internal power consumption ratio is 0.75.
Optionally, terminal determines that the second battery is target battery when internal power consumption ratio is greater than standard power consumption ratio.
Step 324, when internal power consumption ratio is less than standard power consumption ratio, determine that the first battery is target battery.
In the embodiment of the present application, terminal determines that the first battery is target when internal power consumption ratio is less than standard power consumption ratio Battery.
Step 331, when internal power consumption ratio is equal to standard power consumption ratio, the remaining capacity and the second battery of the first battery are obtained Remaining capacity.
In the embodiment of the present application, terminal can obtain the first battery when internal power consumption ratio is equal to standard power consumption ratio The remaining capacity of remaining capacity and the second battery.It should be noted that terminal arrives when internal power consumption ratio is equal to standard power consumption ratio Suitable to the usage degree of the first battery and the second battery so far, meeting comprehensive first battery of the application and the second battery makes With the demand in service life.On this basis, terminal can enable the electricity of the first battery and the electricity of the second battery alternately decline.At this Apply in embodiment, terminal will acquire the remaining capacity of the first battery and the remaining capacity of the second battery.
Step 332, when the difference of the remaining capacity of the first battery and the remaining capacity of the second battery is less than first threshold, Determine that the first battery is target battery.
In the embodiment of the present application, when the difference between the remaining capacity of the first battery and the remaining capacity of the second battery is small When first threshold, determine that the first battery is target battery.It should be noted that in oneainstance, the residue of the first battery The residual current of the second battery of electricity ratio is more.In another scenario, residue of the remaining capacity of the first battery than the second battery Electricity is few.In another situation, the remaining capacity of the remaining capacity of the first battery and the second battery is equal.
Step 333, when the difference of the remaining capacity of the second battery and the remaining capacity of the first battery is less than second threshold, Determine that the second battery is target battery.
In the embodiment of the present application, the ratio between second threshold and first threshold are standard power consumption ratio.
When the difference of the remaining capacity of the remaining capacity and the first battery of the second battery is less than second threshold, and the second battery Remaining capacity and the first battery remaining capacity difference be not less than first threshold when, the second battery can be determined as by terminal Target battery.
Step 341, when internal power consumption ratio is equal to standard power consumption ratio, the output power and the second battery of the first battery are obtained Output power.
In the alternatively possible embodiment that application embodiment provides, when internal power consumption ratio is equal to standard power consumption ratio When, terminal can also obtain the output power of the first battery and the output power of the second battery.It says it is noted that due to battery Output power be able to reflect the power consumption condition of present battery, therefore, terminal can also pass through the output work of each battery of control Rate, to realize the power consumption condition for controlling each battery.
Step 342, when the ratio between output power of the output power of the first battery and the second battery is greater than standard power consumption ratio, Determine that the second battery is target battery.
In the embodiment of the present application, terminal can be in the ratio between the output power of the first battery and the output power of the second battery When greater than standard power consumption ratio, determine that the second battery is target battery.Due to the first battery output power and the second battery it is defeated Power ratio is greater than standard power consumption ratio out, then the current electric quantity consumption of the first battery is greater than the target of design.Terminal needs at this time Accelerate the power consumption of the second battery, therefore the second battery is determined as target battery.
Step 343, when the ratio between output power of the output power of the first battery and the second battery is not more than standard power consumption ratio When, determine that the first battery is target battery.Due to the first battery output power and the second battery the ratio between output power less In standard power consumption ratio, then the current electric quantity consumption of the first battery is less than the target of design.
In the embodiment of the present application, when the ratio between output power of the output power of the first battery and the second battery is no more than mark When quasi- power consumption ratio, terminal will determine that the first battery is target battery.Due to the first battery output power and the second battery it is defeated Power ratio is not more than standard power consumption ratio out, then target of the current electric quantity consumption of the first battery no more than design.Terminal at this time It needs to accelerate the power consumption of the first battery, therefore the first battery is determined as target battery.
Step 350, control target battery is electricity consumption assembly power supply.
In the embodiment of the present application, the implementation procedure of step 350 and the implementation procedure of step 230 are identical, no longer superfluous herein It states.
In a kind of possible embodiment, step a and step b is can also be performed in terminal, to realize low battery season user The effect of autonomous selection battery.
Step a is shown when the sum of remaining capacity of the remaining capacity of the first battery and the second battery is less than low battery threshold value Show selection control, selects control for selecting the first battery or the second battery.
In the embodiment of the present application, it is less than low electricity after the remaining capacity of the remaining capacity of the first battery and the second battery When measuring threshold value, terminal can show selection control, and the selection control is for selecting the first battery or the second battery.
Fig. 4 is referred to, Fig. 4 is a kind of user interface schematic diagram provided based on embodiment illustrated in fig. 3.In Fig. 4, user The first battery icon 410 and the second battery icon 420 are shown in interface 400.Residue is shown in the first battery icon 410 Electricity 411 shows remaining capacity 421 in the second battery icon 420.In Fig. 4, remaining capacity 411 and remaining capacity 421 Shown with the number of percentage.Specifically, remaining capacity 411 is shown as " 7 ", it is meant that the electricity of the first remaining battery accounts for 7%. remaining capacities 412 of total electricity are shown as " 11 ", are meant that the electricity of the second remaining battery accounts for the 11%. of total electricity
Show dialog box 430 on the upper layer of user interface 400, shown in the dialog box 430 first battery selection by Button 431 and the second battery select button 432.20%. therefore in the embodiment shown in fig. 4, low battery threshold value is that, terminal is shown pair It talks about frame 430 and clicks the first battery select button 431 or the second battery select button 432 to obtain user, hereafter needed to determine Battery to be used.
Step b determines target electricity according to the selection signal triggered on selection control from the first battery and the second battery Pond.
In a kind of possible embodiment, when selection control shows that the time is more than target duration and terminal is not received by When selection signal, determine that the first battery is target battery.
It should be noted that since the first battery in the application is heavy-duty battery.Therefore, choosing is not made in user When selecting, the first battery directly can be determined as target battery by terminal
For example, being introduced in a kind of realization scene provided by the present application with data instance shown in table two.
Table two
In table two, terminal includes graphene battery (namely first battery) and lithium battery (namely second battery).When When terminal receives the request for electricity issued with electrical component, the respective history power consumption numerical value of two batteries will acquire, to obtain Internal power consumption ratio is 2.7.Respective service life is obtained further according to the model of each battery, to obtain standard power consumption than 3.When When internal power consumption is less than standard power consumption than 3 than 2.7, terminal determines that the first battery is target battery, controls the first battery to electricity consumption Assembly power supply.
In conclusion the present embodiment determines the service life of battery according to the model of battery, the longevity is used further according to battery It orders and determines standard power consumption ratio, after the inside power consumption ratio that actual power consumption condition is reflected in terminal and standard power consumption are compared relatively, really The battery for needing preferentially to use before settled is target battery, enables double cell terminal that the remaining of two pieces of batteries is enabled to use in real time Service life is suitable, improves the ability of double cell terminal control battery life, improves battery availability factor.
The application method of battery provided in this embodiment, additionally it is possible to according to terminal residual electricity come selection target battery, eventually End can provide a user selection control, select the battery being desirable in low battery in their own needs convenient for user.
The application method of battery provided in this embodiment, additionally it is possible to target electricity is determined according to the current output power of terminal Pond then controls the second battery as target battery when the output power of the first battery is higher, otherwise sees, the first battery of control is made For target battery, the remaining life for enabling double cell terminal to enable two pieces of batteries in real time is suitable, improves double cell end The ability of end control battery life, improves battery availability factor.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 5, Fig. 5 is the structural block diagram of the use device for the battery that one exemplary embodiment of the application provides. The use device of the battery can by software, hardware or both be implemented in combination with as terminal shown in FIG. 1 whole or A part.The device includes:
Module 510 is obtained, for obtaining history power consumption information, institute when receiving the request for electricity issued with electrical component Stating with electrical component is electrical hardware in the terminal, and the history power consumption information is used to indicate the history consumption of first battery The history power consumption numerical value of electric numerical value and second battery;
Determining module 520, for, than determining target battery, the internal power consumption ratio to be first electricity according to internal power consumption Ratio between the history power consumption numerical value in pond and the history power consumption numerical value of second battery, the target battery are described first Battery or second battery;
Control module 530 is the electricity consumption assembly power supply for controlling the target battery.
In an alternative embodiment, the determining module 520, for obtaining the model of first battery and described The model of second battery;According to the model of the model of first battery and second battery, first electricity is obtained respectively The service life of the service life in pond and second battery;When the internal power consumption ratio is greater than standard power consumption ratio, institute is determined Stating the second battery is the target battery, and the standard power consumption is than being used to indicate the service life of first battery and described by the The ratio between the service life of two batteries;When the internal power consumption ratio is less than standard power consumption ratio, determine that first battery is described Target battery.
In an alternative embodiment, described device further includes execution module, for the execution module for working as institute When stating internal power consumption ratio equal to the standard power consumption ratio, the remaining capacity of first battery and remaining for second battery are obtained Remaining electricity;When the difference of the remaining capacity of first battery and the remaining capacity of second battery is less than first threshold, Determine that first battery is the target battery;When the remaining capacity of second battery and the residue electricity of first battery When the difference of amount is less than second threshold, determine that second battery is the target battery;Wherein, the second threshold with it is described The ratio between first threshold is the standard power consumption ratio.
In an alternative embodiment, the execution module, for being consumed when the internal power consumption ratio equal to the standard Electricity than when, obtain the output power of first battery and the output power of second battery;It is defeated when first battery When the ratio between output power of power and second battery is greater than the standard power consumption ratio out, determine that second battery is described Target battery;When the ratio between the output power of first battery and the output power of second battery are consumed no more than the standard Electricity than when, determine first battery be the target battery.
In an alternative embodiment, the execution module, for when the remaining capacity of first battery and described When the sum of remaining capacity of second battery is less than low battery threshold value, display selection control, the selection control is used to select described First battery or second battery;According to the selection signal that triggers on the selection control, from first battery and The target battery is determined in second battery.
In an alternative embodiment, the execution module, for showing that the time is more than target when the selection control Duration and when terminal is not received by the selection signal, determines that first battery is the target battery.
In an alternative embodiment, first battery that described device is related to be graphene battery, described second Battery is the rechargeable battery that service life is shorter than the graphene battery.
The embodiment of the present application also provides a kind of computer-readable medium, which has at least one Instruction, at least one instruction are loaded as the processor and are executed to realize making for battery described in as above each embodiment Use method.
It should be understood that the use device of battery provided by the above embodiment execute battery application method when, only The example of the division of the above functional modules, in practical application, can according to need and by above-mentioned function distribution by Different functional modules is completed, i.e., the internal structure of equipment is divided into different functional modules, described above complete to complete Portion or partial function.In addition, the use device of battery provided by the above embodiment and the application method embodiment of battery belong to Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the exemplary embodiments that can be realized of the application, not to limit the application, it is all Within spirit herein and principle, any modification, equivalent replacement, improvement and so on should be included in the protection of the application Within the scope of.

Claims (10)

1. a kind of application method of battery, which is characterized in that be applied in terminal, the terminal includes the first battery and the second electricity Pond, which comprises
When receiving the request for electricity issued with electrical component, history power consumption information is obtained, described with electrical component is the terminal In electrical hardware, the history power consumption information is used to indicate the history power consumption numerical value and second battery of first battery History power consumption numerical value;
According to internal power consumption than determining target battery, the internal power consumption ratio is history power consumption numerical value and the institute of first battery The ratio between the history power consumption numerical value of the second battery is stated, the target battery is first battery or second battery;
Controlling the target battery is the electricity consumption assembly power supply.
2. the method according to claim 1, wherein it is described according to internal power consumption than determining target battery, comprising:
Obtain the model of first battery and the model of second battery;
According to the model of the model of first battery and second battery, the service life of first battery is obtained respectively With the service life of second battery;
When the internal power consumption ratio is greater than standard power consumption ratio, determine that second battery is the target battery, the standard Power consumption is than being used to indicate the service life of first battery and the ratio between the service life of second battery;
When the internal power consumption ratio is less than standard power consumption ratio, determine that first battery is the target battery.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the internal power consumption ratio is equal to the standard power consumption ratio, the remaining capacity and described second of first battery is obtained The remaining capacity of battery;
When the difference of the remaining capacity of first battery and the remaining capacity of second battery is less than first threshold, determine First battery is the target battery;
When the difference of the remaining capacity of second battery and the remaining capacity of first battery is less than second threshold, determine Second battery is the target battery;
Wherein, the ratio between the second threshold and the first threshold are the standard power consumption ratio.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
When the internal power consumption ratio is equal to the standard power consumption ratio, the output power and described second of first battery is obtained The output power of battery;
When the ratio between output power of the output power of first battery and second battery is greater than the standard power consumption ratio, Determine that second battery is the target battery;
When the ratio between the output power of first battery and the output power of second battery are not more than the standard power consumption ratio When, determine that first battery is the target battery.
5. the method according to claim 1, wherein the method also includes:
When the sum of remaining capacity of the remaining capacity of first battery and second battery is less than low battery threshold value, display Control is selected, the selection control is for selecting first battery or second battery;
According to being determined from first battery and second battery in the selection signal for selecting to trigger on control Target battery.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
When the selection control display time is more than target duration and terminal is not received by the selection signal, described in determination First battery is the target battery.
7. method according to any one of claims 1 to 6, which is characterized in that first battery is graphene battery, described Second battery is the rechargeable battery that service life is shorter than the graphene battery.
8. a kind of use device of battery, which is characterized in that be applied in terminal, the terminal includes the first battery and the second electricity Pond, described device include:
Module is obtained, for obtaining history power consumption information, the electricity consumption group when receiving the request for electricity issued with electrical component Part is the electrical hardware in the terminal, the history power consumption information be used to indicate first battery history power consumption numerical value and The history power consumption numerical value of second battery;
Determining module, for, than determining target battery, the internal power consumption ratio to be going through for first battery according to internal power consumption Ratio between history power consumption numerical value and the history power consumption numerical value of second battery, the target battery be first battery or Second battery;
Control module is the electricity consumption assembly power supply for controlling the target battery.
9. a kind of terminal, which is characterized in that the terminal includes processor and the memory that is connected with the processor, and The program instruction being stored on the memory, the processor realize such as claim 1 to 7 times when executing described program instruction The application method of battery described in one.
10. a kind of computer readable storage medium, program instruction is stored in the storage medium, which is characterized in that the journey The application method of the battery as described in claim 1 to 7 is any is realized in sequence instruction when being executed by processor.
CN201910824335.8A 2019-09-02 2019-09-02 Battery using method, device, terminal and storage medium Active CN110493857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910824335.8A CN110493857B (en) 2019-09-02 2019-09-02 Battery using method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910824335.8A CN110493857B (en) 2019-09-02 2019-09-02 Battery using method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110493857A true CN110493857A (en) 2019-11-22
CN110493857B CN110493857B (en) 2022-04-05

Family

ID=68556170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910824335.8A Active CN110493857B (en) 2019-09-02 2019-09-02 Battery using method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110493857B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968051A (en) * 2021-02-19 2022-08-30 Oppo广东移动通信有限公司 Power supply method and device for wearable watch, wearable watch and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040036358A1 (en) * 2002-08-20 2004-02-26 Sony Corporation Electronic device with attachment and switching between batteries therefor
CN102307260A (en) * 2011-09-07 2012-01-04 深圳市金立通信设备有限公司 Mobile phone double cell electric quantity management system and method thereof
CN205921421U (en) * 2016-08-02 2017-02-01 威马汽车技术有限公司 Dual -battery system double cell number of cycles controlling means
CN106877482A (en) * 2015-09-24 2017-06-20 三星Sdi株式会社 Uninterrupted power source
CN110048479A (en) * 2019-04-22 2019-07-23 维沃移动通信有限公司 A kind of battery control method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040036358A1 (en) * 2002-08-20 2004-02-26 Sony Corporation Electronic device with attachment and switching between batteries therefor
CN102307260A (en) * 2011-09-07 2012-01-04 深圳市金立通信设备有限公司 Mobile phone double cell electric quantity management system and method thereof
CN106877482A (en) * 2015-09-24 2017-06-20 三星Sdi株式会社 Uninterrupted power source
CN205921421U (en) * 2016-08-02 2017-02-01 威马汽车技术有限公司 Dual -battery system double cell number of cycles controlling means
CN110048479A (en) * 2019-04-22 2019-07-23 维沃移动通信有限公司 A kind of battery control method and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968051A (en) * 2021-02-19 2022-08-30 Oppo广东移动通信有限公司 Power supply method and device for wearable watch, wearable watch and storage medium

Also Published As

Publication number Publication date
CN110493857B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US11368039B2 (en) Battery charging method and electronic device
CN110869784B (en) Method and apparatus for estimating SOC-OCV curve
CN104716709B (en) Electronic equipment and its charging method and battery
CN103430353B (en) For controlling equipment and the method for the connection of battery pack
CN103248763B (en) A kind of means of communication and mobile terminal
WO2013163916A1 (en) Method for monitoring and manging battery charge level and apparatus for performing the same
CN1996701A (en) Battery charging management system and method
CN202197340U (en) Double-battery power management system for mobile phone
CN110165736A (en) A kind of electricity sharing method, system and mobile terminal based on charged state monitoring
CN106159356B (en) A kind of battery and electronic equipment
CN110365084B (en) Charging control method, device, terminal and storage medium
CN102307260A (en) Mobile phone double cell electric quantity management system and method thereof
CN110350619B (en) Charging control method, device, terminal and storage medium
CN104866058A (en) Method and apparatus for determining battery endurance of electronic device
CN115765119A (en) Charging management method of energy storage power supply, energy storage power supply and storage medium
CN110497809B (en) Electric bicycle charging pile management system
CN110493857A (en) Application method, device, terminal and the storage medium of battery
CN114384436A (en) Screening method, device, equipment and storage medium for retired lithium ion power battery
TWI637578B (en) Charging method and electronic device using the same
US9201478B2 (en) Methods and systems for efficient battery charging and usage
CN206136036U (en) Multi -functional wireless cell -phone shell that charges
CN116937739A (en) Electric quantity balance control method and system for mobile power supply
CN108471476B (en) Reverse charging management method for mobile terminal and mobile terminal
CN110401462A (en) Method for managing power supply and relevant apparatus
CN109638906A (en) A kind of battery management method, system 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