CN110350626A - Charge control method and device, electronic equipment, computer readable storage medium - Google Patents

Charge control method and device, electronic equipment, computer readable storage medium Download PDF

Info

Publication number
CN110350626A
CN110350626A CN201910688958.7A CN201910688958A CN110350626A CN 110350626 A CN110350626 A CN 110350626A CN 201910688958 A CN201910688958 A CN 201910688958A CN 110350626 A CN110350626 A CN 110350626A
Authority
CN
China
Prior art keywords
battery
wireless charging
remaining capacity
electronic equipment
mould group
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
CN201910688958.7A
Other languages
Chinese (zh)
Other versions
CN110350626B (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 CN201910688958.7A priority Critical patent/CN110350626B/en
Publication of CN110350626A publication Critical patent/CN110350626A/en
Application granted granted Critical
Publication of CN110350626B publication Critical patent/CN110350626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/36Arrangements using end-cell switching
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

This application involves a kind of charge control method, device, electronic equipment, computer readable storage mediums, comprising: leads to the problem of being unable to normal use electronic equipment in order to avoid there is power-off suddenly.Firstly, the remaining capacity of detection the first battery and the second battery;Finally, the case where according to the remaining capacity of the first battery and the second battery, automatically controlling wireless charging mould group is that the first battery or the second battery carry out wireless charging.To, the case where according to the remaining capacity detected, automatically controls and carries out wireless charging, it is not necessary to which user oneself goes connection power supply adaptor to charge, it ensure that the normal use of electronic equipment and be unlikely to power off suddenly, and improve the convenience and charge efficiency of electronic equipment charging.

Description

Charge control method and device, electronic equipment, computer readable storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of charge control method and device, electronic equipment, meter Calculation machine readable storage medium storing program for executing.
Background technique
It with the universal of electronic equipment and is widely applied, the power consumption of electronic equipment is also increasing, and the electricity of electronic equipment The cruising ability in pond is limited.The cruising ability of battery affects the normal use of electronic equipment to a certain extent, therefore, usually Electronic equipment connects external power supply and charges to electronic equipment equipped with charging adapter, charging adapter.But due to battery Cruising ability is limited, too fast etc. reasons of electronic equipment power consumption, and the convenience and charge efficiency for causing electronic equipment to charge are lower.
Summary of the invention
The embodiment of the present application provides a kind of charge control method, device, electronic equipment, computer readable storage medium, can To improve the convenience and charge efficiency of electronic equipment charging.
A kind of charge control method is applied to electronic equipment, and the electronic equipment includes wireless charging mould group, the first battery And second battery, comprising:
On an electronic device in operational objective application process, the residue electricity of first battery and second battery is detected Amount;
According to the remaining capacity of first battery and second battery, controlling the wireless charging mould group is described the One battery or the second battery carry out wireless charging.
A kind of battery charge controller, comprising:
Residual capacity measurement module, for detecting first battery in operational objective application process on an electronic device With the remaining capacity of second battery;
Charging module controls the wireless charging for the remaining capacity according to first battery and second battery Electric mould group is that first battery or the second battery carry out wireless charging.
A kind of electronic equipment, including memory and processor store computer program, the calculating in the memory When machine program is executed by the processor, so that the step of processor executes method as above.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that computer program is located The step of reason device realizes method as above when executing.
Above-mentioned charge control method, device, electronic equipment, computer readable storage medium, run mesh on an electronic device It marks in application process, detects the remaining capacity of the first battery and the second battery, according to the residue electricity of the first battery and the second battery Amount, control wireless charging mould group are that the first battery or the second battery carry out wireless charging.The charge control method is in electronic equipment During upper operational objective application, lead to the problem of being unable to normal use electronic equipment in order to avoid there is power-off suddenly.Inspection It surveys the remaining capacity of the first battery and the second battery and obtains the remaining capacity of the first battery and the second battery, according to the first battery The case where with the remaining capacity of the second battery, automatically controlling wireless charging mould group is that the first battery or the second battery carry out wireless charging Electricity.So that the case where according to the remaining capacity detected, automatically control and carry out wireless charging, it is not necessary to which user oneself goes to connect Power supply adaptor charges, and ensure that the normal use of electronic equipment and is unlikely to power off suddenly, and improves electronic equipment and fill The convenience and charge efficiency of electricity.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the applied environment figure of charge control method in one embodiment;
Fig. 2 is the flow chart of charge control method in one embodiment;
Fig. 3 is the remaining capacity in Fig. 2 according to the first battery and the second battery, and control wireless charging mould group is the first battery Or second battery carry out wireless charging method flow chart;
Fig. 4 is that the process that wireless charging mould group is the first battery or the second battery progress wireless charging method is controlled in Fig. 3 Figure;
Fig. 5 is the flow chart of charge control method in another embodiment;
Fig. 6 is the flow chart of charge control method in a specific embodiment;
Fig. 7 is the structural block diagram of battery charge controller in one embodiment;
Fig. 8 is the structural block diagram of battery charge controller in another embodiment;
Fig. 9 is the structural block diagram of battery charge controller in further embodiment;
Figure 10 is the schematic diagram of internal structure of electronic equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, in the case where not departing from scope of the present application, the first camera can be known as second camera, and similarly, can incite somebody to action Second camera is known as the first camera.First camera and second camera both camera, but it is not same takes the photograph As head.
Fig. 1 is the application environment schematic diagram of charge control method in one embodiment.As shown in Figure 1, the application environment packet Electronic equipment 100 and wireless charger 200 are included, electronic equipment 100 can carry out wireless charging by wireless charger 200.Electricity Sub- equipment 100 includes at least one first battery 110 and at least one second battery 120 and wireless charging mould group 130.Electronics Equipment 100 can on an electronic device operational objective application during, detect the first battery and the second battery remaining capacity; According to the remaining capacity of the first battery and the second battery, controlling wireless charging mould group is that the first battery or the second battery carry out wirelessly Charging.It is understood that above-mentioned electronic equipment 100 can be not limited to various mobile phones, computer, portable equipment etc..
Fig. 2 is the flow chart of charge control method in one embodiment, as shown in Fig. 2, charge control method includes step 220, to step 240, are applied to electronic equipment, electronic equipment includes wireless charging mould group, the first battery and the second battery.
Step 220, the residue of the first battery and the second battery is detected during operational objective application on an electronic device Electricity.
Traditional electronic equipment generally only has a common batteries, and the common batteries are generally lithium battery.Lithium battery is One kind is negative electrode material, is used the battery of non-aqueous electrolytic solution by lithium metal or lithium alloy.The Technical comparing of lithium battery is mature, It is widely used in electronic equipment as battery.With electronic equipment in daily work life using more and more extensive, and The cruising ability of battery is limited, causes certain puzzlement to the normal use electronic equipment of user.For example, when user is playing When a game, because one innings of possible whole process of game needs or so half an hour, and power consumption is larger.In addition user is playing game When general attention power compare concentration, be also unwilling to suspend in gaming, so if electronic equipment prompts electricity lower at this time, user It goes the operation charged with power supply adaptor relatively complicated time-consuming again, causes certain puzzlement for user.
Therefore, it is proposed to which a kind of new charge control method, is applied to electronic equipment, electronic equipment includes wireless charging mould Group, at least one first battery and at least one second battery.On an electronic device during operational objective application, detection The remaining capacity of first battery and the second battery.Here target application can refer to the biggish application program of power consumption, power consumption Biggish application, which can be, obtain after statistical analysis to the biggish application program of power consumption in a large amount of electronic equipment 's.Certainly, power consumption of the application program under different use states can also have biggish difference, for example, social software exists Power consumption when video or voice communication is larger, and social software only running background receive message when power consumption then compared with It is small.On an electronic device during operational objective application, in order to avoid because unexpected power consumption increases and electronics is caused to set The standby risk for facing power-off, the then remaining capacity of real-time monitoring the first battery and the second battery.The battery in battery can be passed through Control chip removes the remaining capacity of real-time monitoring the first battery and the second battery, obtains the residue electricity of the first battery and the second battery Amount.
Step 240, according to the remaining capacity of the first battery and the second battery, control wireless charging mould group be the first battery or Second battery carries out wireless charging.
After obtaining the remaining capacity of the first battery and the second battery, according to the residue electricity of the first battery and the second battery Amount, control wireless charging mould group are that the first battery or the second battery carry out wireless charging.Herein, it can be control wireless charging mould Group is that the first battery is powered, and is also possible to power for the second battery, it is, of course, also possible to be simultaneously for the first battery, the second battery Carry out wireless charging.Specifically, judging whether the remaining capacity of the first battery and the second battery meets preset standard, if meeting pre- Being marked with criterion control wireless charging mould group is that the first battery or the second battery carry out wireless charging.In the embodiment of the present application, electric Different application programs is run in sub- equipment and then corresponds to different preset standards, such as, it is specified that game class application program is corresponding The preset standard of the remaining capacity of first battery and the second battery is successively to be higher than video speech conversational class application program, conversational class Using.It is that the first battery or the second battery carry out wireless charging by wireless charging mould group, does not need user oneself and remove connection electricity Source adapter charges, and user can continue normal use application program.
Charge control method in the embodiment of the present application causes to be unable to normal use electronics in order to avoid there is power-off suddenly The problem of equipment.Firstly, the remaining capacity of detection the first battery and the second battery;The surplus of the first battery and the second battery is obtained again Remaining electricity;Finally, the case where according to the remaining capacity of the first battery and the second battery, automatically controlling wireless charging mould group is first Battery or the second battery carry out wireless charging.So that the case where according to the remaining capacity detected, automatically control and carry out wireless charging Electricity, it is not necessary to which user oneself goes connection power supply adaptor to charge, and ensure that the normal use of electronic equipment and is unlikely to prominent So power-off.
In one embodiment, as shown in figure 3, step 240 is controlled according to the remaining capacity of the first battery and the second battery Wireless charging mould group processed is that the first battery or the second battery charge, comprising:
Step 242, judge whether the remaining capacity of the first battery and the second battery is respectively less than default remaining capacity threshold value.
Different application programs is run on electronic equipment then corresponds to different preset standards, such as, it is specified that game class application The preset standard of the remaining capacity of corresponding first battery of program and the second battery is successively to be higher than the application of video speech conversational class Program, conversational class application.Preset standard is specially default remaining capacity threshold value, and different application programs then corresponds to different preset Standard, i.e., different application programs then correspond to different default remaining capacity threshold values.
First, it is determined which classification is the application program run on electronic equipment belong to, obtained pair according to affiliated classification The default remaining capacity threshold value answered.Judge whether the remaining capacity of the first battery and the second battery is respectively less than the default remaining capacity Threshold value.
Step 244, if so, control wireless charging mould group is that the first battery or the second battery carry out wireless charging.
If it is judged that the remaining capacity of the first battery and the second battery is respectively less than the default remaining capacity threshold value, then control Wireless charging mould group is that the first battery or the second battery carry out wireless charging.Can be control wireless charging mould group herein is first Battery carries out wireless charging, is also possible to control wireless charging mould group to be that the second battery carries out wireless charging, can also be control Wireless charging mould group is that the first battery and the second battery carry out wireless charging simultaneously.For example, it may be from the first battery and second The battery that non-electron equipment power supply is obtained in battery, charges to the battery not discharged, both ensure that the safety of charging, And it can guarantee user's normal use application program and not be afraid of the situation for occurring powering off suddenly or electricity is too low.It is selected in electronic equipment When selecting supplying cell, the battery for usually selecting remaining capacity more as supplying cell, and another remaining capacity compared with Low battery is the battery of non-electron equipment power supply.
Wireless charging technology (Wireless charge technology) is derived from wireless power transmission technology, can be divided into small Power wireless charging and high-power wireless charging two ways.Wherein, low-power wireless charging is such as right frequently with induction The Qi mode of mobile phone charging, Qi are first standardization body --- the wireless charging alliances for pushing wireless charging technology in the whole world " wireless charging " standard that (Wireless Power Consortium) is released, has convenience and the big feature of versatility two.
In the embodiment of the present application, first, it is determined which classification is the application program run on electronic equipment belong to, according to institute The classification of category obtains corresponding default remaining capacity threshold value.Judge whether the remaining capacity of the first battery and the second battery is respectively less than The default remaining capacity threshold value, then automatically controlling wireless charging mould group is that the first battery or the second battery carry out wireless charging.From Dynamic control wireless charging mould group is that the first battery or the second battery carry out wireless charging, can guarantee user's normal use application journey Sequence and be not afraid of the situation for occurring that electronic equipment powers off suddenly or electricity is too low.
In one embodiment, the charging rate of the first battery is greater than the charging rate of the second battery.Control wireless charging mould Group is that the first battery or the second battery carry out wireless charging, comprising:
Controlling wireless charging mould group is that the first battery carries out wireless charging.
Specifically, the first battery, which can be, can adapt to charging current or the biggish quick charging battery of charging voltage, and second Battery can be common batteries, it is clear that the charging rate of the first battery is greater than the charging rate of the second battery.For example, the first battery It can be graphene battery, the second battery is lithium battery.Graphene battery is that one kind is formed by carbon atom with sp2 hybrid form Honeycomb flat film, be a kind of quasi- two-dimensional material of only one atomic layer level thickness, do monoatomic layer graphite so being called. Graphene battery is that the characteristic of rapid, high volume shuttle produces electricl energy between electrode on the surface of graphene using lithium ion. Graphene battery has the characteristics such as high conductivity, high intensity, ultra-thin.Graphene battery and lithium battery difference: the dilute battery of graphite The dynamic characteristics of battery, capacitance, in terms of considerably beyond lithium battery, but the cost of graphene battery is than lithium electricity Chi Gao.
Because the charging rate of the first battery is greater than the charging rate of the second battery, on an electronic device operational objective During, the remaining capacity of the first battery and the second battery is detected.According to the residue electricity of the first battery and the second battery Amount, control wireless charging mould group are that the first battery carries out wireless charging.Or when judging the surplus of the first battery and the second battery Remaining electricity is respectively less than default remaining capacity threshold value, then controlling wireless charging mould group is that the first battery carries out wireless charging.
In the embodiment of the present application, at least one graphene battery, at least one lithium battery can be used in electronic equipment.This Sample can realize fast charge using graphene battery, improve charging rate while cost is reduced.Because of the first battery Charging rate be greater than the charging rate of the second battery, so on an electronic device during operational objective application, detection the The remaining capacity of one battery and the second battery.According to the remaining capacity of the first battery and the second battery, wireless charging mould group is controlled Wireless charging is carried out for the first battery, improves charge efficiency.
It connects in previous embodiment, is after the first battery is charged in control wireless charging mould group, comprising:
When detecting that the first battery is full of, and electronic equipment target application out of service, control wireless charging mould group is the Two batteries carry out wireless charging.
Specifically, electronic equipment 100 includes at least one first battery 110 and at least one second battery 120 and nothing Line charging module 130.Under normal circumstances, when the biggish target application of electronic equipment operation power consumption, to avoid electronic equipment Danger caused by temperature is excessively high will not charge to the battery powered that discharging.Can to the battery that do not power into Row charging, for example, charging to the first battery that do not power.After the first battery is full of, judge whether electronic equipment is transported Row target application, if otherwise control wireless charging mould group is that the second battery carries out wireless charging.
In the embodiment of the present application, electronic equipment includes at least two batteries, biggish in electronic equipment operation power consumption When target application, it can charge to the first battery that do not power.At this point, it is normal to application program to have no effect on electronic equipment Power supply, when the first battery that do not power is fully charged, then may determine that on electronic equipment whether operational objective application, if not had Have and run the target application, then can charge to the second battery, so that the battery in electronic equipment is filled with electricity.
It connects in previous embodiment, also improves a kind of charge control method, be applied to electronic equipment, electronic equipment includes Wireless charging mould group, the first battery and the second battery, wherein the charging rate of the first battery is greater than the charging speed of the second battery Degree, as shown in figure 4, step 244, control wireless charging mould group is that the first battery or the second battery carry out wireless charging, comprising:
Step 244a, when the difference between the first battery and the remaining capacity of the second battery within a preset range when, then adopt It is powered with the second battery electron equipment;
Step 244b, control wireless charging mould group are that the first battery carries out wireless charging.
On an electronic device during operational objective application, the remaining capacity of the first battery and the second battery is detected.This In target application can refer to the biggish application program of power consumption, the biggish application of power consumption can be to a large amount of electronic equipment The middle biggish application program of power consumption carries out what statistical analysis obtained later.Certainly, application program is in different use states Under power consumption can also have biggish difference, for example, power consumption of the social software in video or voice communication is larger, and Power consumption of the social software only when running background receives message is then smaller.The process of operational objective application on an electronic device In, the risk for causing electronic equipment to face power-off in order to avoid increasing because of unexpected power consumption, then real-time monitoring first is electric The remaining capacity in pond and the second battery.Chip can be controlled by the battery in battery removes the first battery of real-time monitoring and the second electricity The remaining capacity in pond obtains the remaining capacity of the first battery and the second battery.
According to the remaining capacity of the first battery and the second battery, controlling wireless charging mould group is the first battery or the second battery Carry out wireless charging, comprising:
On an electronic device during operational objective application, chip is controlled by battery in battery and goes real-time monitoring the The remaining capacity of one battery and the second battery obtains the remaining capacity of the first battery and the second battery.Judge the first battery and Whether the remaining capacity of two batteries is respectively less than default remaining capacity threshold value (such as 40%), if then continuing to judge the first battery and the Within a preset range whether, preset range is in some positive and negative numberical range, certainly to difference between the remaining capacity of two batteries Also including difference is odd lot situation.Numerical value can be determined according to the charge rate of the first battery in the preset range.First There are two kinds of situations within a preset range in the difference between battery and the remaining capacity of the second battery, in a kind of situation, if first The remaining capacity of battery and the second battery is identical, difference zero, then is powered using the second battery electron equipment.Using second Battery power supply, can charge to the first battery, because the charging rate of the first battery is greater than the charging speed of the second battery Degree, so as to filling more electricity in a relatively short period of time.
In another case, the difference between the first battery and the remaining capacity of the second battery within a preset range when, Preset range can be in positive and negative range.Preset range herein can be set to be less than or equal to default remaining capacity threshold value Any number of half, for example, then the preset range of difference can be set to when default remaining capacity threshold value is set as 40% Between (+20%, -20%) range.For example, the remaining capacity of the first battery than the second battery remaining capacity more than 10%, judgement The difference between the first battery and the remaining capacity of the second battery is within a preset range out.Because the charging rate of the first battery is big In the charging rate of the second battery, so still or being selected even if the remaining capacity of the first battery is more than the electricity of the second battery It selects the second battery to be powered, and wireless charging is carried out to the first battery, the first battery can be given in a relatively short period of time in this way Fill more electricity with, and the second battery is it is also ensured that the power supply of electronic equipment within a certain period of time.
For example, the remaining capacity of the first battery fewer than the remaining capacity of the second battery 10%, judges the first battery and Difference between the remaining capacity of two batteries is within a preset range.Because the charging rate of the first battery is greater than filling for the second battery Electric speed, and the remaining capacity of the second battery is more than the remaining capacity of the first battery, so the second battery is still selected to be supplied Electricity, and wireless charging is carried out to the first less battery of electricity, it can be filled in a relatively short period of time to the first battery more Electricity.
In the embodiment of the present application, because the charging rate of the first battery is greater than the charging rate of the second battery, in electricity In sub- equipment during operational objective application, the remaining capacity of the first battery and the second battery is detected.Obtain the first battery and The remaining capacity of second battery.Judge whether the remaining capacity of the first battery and the second battery is respectively less than default remaining capacity threshold Value, if then within a preset range whether the further difference judged between the first battery and the remaining capacity of the second battery, if It is then to be powered using the second battery electron equipment, control wireless charging mould group is that the first battery carries out wireless charging.Because the The charging rate of one battery is greater than the charging rate of the second battery, so as to filling more electricity in a relatively short period of time Amount, to improve charge efficiency.
In one embodiment, as shown in figure 5, in the remaining capacity according to the first battery and the second battery, control is wireless Charging module is after the first battery or the second battery are charged, comprising:
Step 260, when target application placed in a suspend state when, switching battery electron equipment power supply.
Specifically, detecting the residue of the first battery and the second battery during operational objective application on an electronic device Electricity;The remaining capacity of the first battery and the second battery is obtained again;Finally, according to the remaining capacity of the first battery and the second battery The case where, automatically controlling wireless charging mould group is that the first battery or the second battery carry out wireless charging.If being by the first electricity originally Pond electron equipment power supply, to the second battery carry out wireless charging, then when target application placed in a suspend state when, so that it may cut Change the power supply of battery electron equipment.Because the first battery remains after a period of time of being powered by the first battery electron equipment Remaining electricity is fewer and fewer, and the second battery increased by electricity after wireless charging, can take advantage of target application When placed in a suspend state, switching battery electron equipment power supply.
Switch battery power supply in the embodiment of the present application, when taking advantage of target application placed in a suspend state, it can be to avoid switching battery Brought interruption or delay, so that user is unable to normal use application program.And the electricity of the supplying cell after switching It is more, it can more enduringly power.For example, game class is answered under normal circumstances when user just plays game on an electronic device With not only power consumption, big and each innings of duration is longer, therefore, takes advantage of when user has played one innings of game and switches battery, it is ensured that after Continuous normal power supply.
In one embodiment, target application includes game class application, video playback class application, conversational class application.
In the embodiment of the present application, target application is the bigger application of power consumption, and the biggish application of power consumption can be pair The biggish application program of power consumption carries out what statistical analysis obtained later in a large amount of electronic equipment.Certainly, application program exists Power consumption under different use states can also have biggish difference, for example, social software is in video or voice communication Power consumption it is larger, and social software only running background receive message when power consumption it is then smaller.It transports on an electronic device During row target application, the risk for causing electronic equipment to face power-off in order to avoid increasing because of unexpected power consumption, The then remaining capacity of real-time monitoring the first battery and the second battery.Chip can be controlled by the battery in battery go real-time monitoring The remaining capacity of first battery and the second battery.And then obtain the remaining capacity of the first battery and the second battery.According to the first electricity The remaining capacity in pond and the second battery, automatically controlling wireless charging mould group is that the first battery or the second battery carry out wireless charging, Not needing user oneself goes connection power supply adaptor to charge, and user can continue normal use application program, improve electricity The convenience and charge efficiency of sub- equipment charge.
In one embodiment, a kind of charge control method is additionally provided, when detecting in the first battery and the second battery When the remaining capacity of the battery of electron equipment power supply is lower than default remaining capacity threshold value, it is switched to another battery electron equipment Power supply.
The first battery and the second battery are contained in the embodiment of the present application, in electronic equipment, under normal circumstances, by wherein appointing Battery electron equipment of anticipating is powered.The remaining capacity of real-time detection electronics the first battery and the second battery, works as detection When the remaining capacity for the battery powered to electron equipment is lower than default remaining capacity threshold value, then another battery electron is switched to Equipment power supply, the remaining capacity of another battery are higher than default remaining capacity threshold value, can be with electron equipment whithin a period of time It is powered, meets the use demand of user.
In one embodiment, a kind of charge control method is additionally provided, is obtained remaining in the first battery and the second battery The biggish battery of electricity is powered using the biggish battery electron equipment of remaining capacity.
It is preferential that the biggish battery of remaining capacity is selected to give when electronic equipment selects supplying cell in the embodiment of the present application Power electronic equipment, the biggish battery of remaining capacity can be powered whithin a period of time with electron equipment, meet user's Use demand.
In a specific embodiment, electronic equipment 100 includes first battery 110 and second battery 120 and wireless charging mould group 130.Wherein, the first battery 110 can be as graphene battery, and the second battery 120 is lithium battery. As shown in fig. 6, providing a kind of charge control method, include the following steps:
Step 602, on an electronic device during running game class target application, core is controlled by the battery in battery Piece removes the remaining capacity of real-time detection the first battery and the second battery;
Step 604, the remaining capacity of the first battery and the second battery is obtained;
Step 606, judge whether the remaining capacity of the first battery and the second battery is respectively less than default remaining capacity threshold value 40%;If it is not, then entering step 608, do not need temporarily to charge to battery.
Step 610, if so, continuing to judge difference between the first battery and the remaining capacity of the second battery whether pre- If in range, preset range is in (+20%, -20%) range;If it is not, 612 are then entered step, using the first battery electron Equipment power supply, control wireless charging mould group are that the second battery carries out wireless charging;
Step 614, if so, being powered using the second battery electron equipment, control wireless charging mould group is the first battery Carry out wireless charging;
Step 616, after the first battery is full of, judge electronic equipment whether operational objective application, if otherwise enter step Rapid 618, control wireless charging mould group is that the second battery carries out wireless charging.
In the embodiment of the present application, electronic equipment includes first battery and second battery, and the first battery is Graphene battery, the second battery are lithium battery.On an electronic device during running game class target application, because of game class It is larger using power consumption, so the remaining capacity of real-time monitoring the first battery and the second battery.When judging the first battery and second Whether the remaining capacity of battery is respectively less than default remaining capacity threshold value, and judge the first battery and the second battery remaining capacity it Between difference whether within a preset range, if twice judging result be all it is yes, using the second battery electron equipment power, control Wireless charging mould group processed is that the first battery carries out wireless charging.Such first battery is graphene battery, and charging rate is fastly To be charged to more electricity in a relatively short period of time.While not influencing electronic equipment and operating normally target application, to not supplying Electric quickly charging battery.After the first battery is full of, judge electronic equipment whether operational objective application, if otherwise control is wireless Charging module is that the second battery carries out wireless charging.To all charge to two batteries automatically.
It should be understood that although each step in the flow chart of Fig. 6 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 6 Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in fig. 7, providing a kind of battery charge controller 700, comprising:
Residual capacity measurement module 720, during the application of operational objective on an electronic device, the first battery of detection With the remaining capacity of the second battery;
Charging module 740, for the remaining capacity according to the first battery and the second battery, controlling wireless charging mould group is the One battery or the second battery carry out wireless charging.
In one embodiment, charging module 740, be also used to judge the first battery and the second battery remaining capacity whether Respectively less than default remaining capacity threshold value;If so, control wireless charging mould group is that the first battery or the second battery carry out wireless charging Electricity.
In one embodiment, the charging rate of first battery is greater than the charging rate of second battery;Charging Module 740, being also used to control the wireless charging mould group is that first battery carries out wireless charging.
In one embodiment, charging module 740 are also used to detect that first battery is full of, and the electronics Equipment target application out of service, controlling the wireless charging mould group is that second battery carries out wireless charging.
In one embodiment, charging module 740 are also used between the first battery and the remaining capacity of the second battery Difference within a preset range when, then using the second battery electron equipment power;Control wireless charging mould group be the first battery into Row wireless charging.
In one embodiment, as shown in figure 8, providing a kind of battery charge controller 700, further includes: battery switches mould Block 760, for when target application placed in a suspend state when, switching battery electron equipment power supply.
It in one embodiment, further include power supply module 780 as shown in figure 9, providing a kind of battery charge controller 700, For being lower than in advance when the remaining capacity for detecting the battery in first battery and the second battery to the power electronic equipment If when remaining capacity threshold value, being switched to another battery to the power electronic equipment.
In one embodiment, power supply module 780 are also used to obtain remaining capacity in first battery and the second battery Biggish battery gives the power electronic equipment using the biggish battery of remaining capacity.
The division of modules is only used for for example, in other embodiments, can will fill in above-mentioned battery charge controller Controller for electric consumption is divided into different modules as required, to complete all or part of function of above-mentioned battery charge controller.
Figure 10 is the schematic diagram of internal structure of electronic equipment in one embodiment.As shown in Figure 10, which includes The processor and memory connected by system bus.Wherein, for the processor for providing calculating and control ability, support is entire The operation of electronic equipment.Memory may include non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with Operating system and computer program.The computer program can be performed by processor, for realizing following each embodiment institute A kind of charge control method provided.Built-in storage provides height for the operating system computer program in non-volatile memory medium The running environment of speed caching.The electronic equipment can be mobile phone, tablet computer or personal digital assistant or wearable device etc..
Realizing for the modules in battery charge controller provided in the embodiment of the present application can be the shape of computer program Formula.The computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal Or on the memory of server.When the computer program is executed by processor, method described in the embodiment of the present application is realized Step.
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when computer executable instructions are executed by one or more processors, So that processor executes the step of charge control method.
A kind of computer program product comprising instruction, when run on a computer, so that computer executes charging Control method.
It may include non-to any reference of memory, storage, database or other media used in the embodiment of the present application Volatibility and/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM in a variety of forms may be used , such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM)。
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the application the scope of the patents.It should be pointed out that for those of ordinary skill in the art, Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the application It encloses.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (12)

1. a kind of charge control method, be applied to electronic equipment, the electronic equipment include wireless charging mould group, the first battery with And second battery characterized by comprising
On an electronic device during operational objective application, the residue electricity of first battery and second battery is detected Amount;
According to the remaining capacity of first battery and second battery, controlling the wireless charging mould group is first electricity Pond or the second battery carry out wireless charging.
2. the method according to claim 1, wherein described according to first battery and second battery Remaining capacity, controlling the wireless charging mould group is that first battery or the second battery charge, comprising:
Judge whether the remaining capacity of first battery and second battery is respectively less than default remaining capacity threshold value;
If so, controlling the wireless charging mould group is that first battery or the second battery carry out wireless charging.
3. method according to claim 1 or 2, which is characterized in that the charging rate of first battery is greater than described the The charging rate of two batteries;
The control wireless charging mould group is that first battery or the second battery carry out wireless charging, comprising:
Controlling the wireless charging mould group is that first battery carries out wireless charging.
4. according to the method described in claim 3, it is characterized in that, being described first in the control wireless charging mould group After battery is charged, the method also includes:
When detecting that first battery is full of, and electronic equipment target application out of service, control the wireless charging Mould group is that second battery carries out wireless charging.
5. according to the method described in claim 2, it is characterized in that, the charging rate of first battery is greater than second electricity The charging rate in pond;
The control wireless charging mould group is that first battery or the second battery carry out wireless charging, comprising:
When the difference between first battery and the remaining capacity of second battery within a preset range when, then using described Second battery gives the power electronic equipment;
Controlling the wireless charging mould group is that first battery carries out wireless charging.
6. the method according to claim 1, wherein described according to first battery and second battery Remaining capacity, controlling the wireless charging mould group is after first battery or the second battery are charged, comprising:
When the target application placed in a suspend state when, switching battery give the power electronic equipment.
7. the method according to claim 1, wherein the target application includes game class application, video playing Class application, conversational class application.
8. the method according to claim 1, wherein the method also includes:
When the remaining capacity for detecting the battery in first battery and the second battery to the power electronic equipment is lower than in advance If when remaining capacity threshold value, being switched to another battery to the power electronic equipment.
9. the method according to claim 1, wherein the method also includes:
The biggish battery of remaining capacity in first battery and the second battery is obtained, using the biggish battery of remaining capacity to institute State power electronic equipment.
10. a kind of battery charge controller characterized by comprising
Residual capacity measurement module, for the application of operational objective on an electronic device during, detect first battery and The remaining capacity of second battery;
Charging module controls the wireless charging mould for the remaining capacity according to first battery and second battery Group is that first battery or the second battery carry out wireless charging.
11. a kind of electronic equipment, including wireless charging mould group, the first battery, the second battery, memory and processor, described to deposit Computer program is stored in reservoir, which is characterized in that when the computer program is executed by the processor, so that the place Manage the step of device executes charge control method as claimed in any one of claims 1-9 wherein.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method as claimed in any one of claims 1-9 wherein is realized when being executed by processor.
CN201910688958.7A 2019-07-29 2019-07-29 Charging control method and device, electronic equipment and computer readable storage medium Active CN110350626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688958.7A CN110350626B (en) 2019-07-29 2019-07-29 Charging control method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910688958.7A CN110350626B (en) 2019-07-29 2019-07-29 Charging control method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110350626A true CN110350626A (en) 2019-10-18
CN110350626B CN110350626B (en) 2021-04-23

Family

ID=68180534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910688958.7A Active CN110350626B (en) 2019-07-29 2019-07-29 Charging control method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110350626B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200195028A1 (en) * 2018-12-17 2020-06-18 Seiko Epson Corporation Electronic device, battery condition display method, and printing apparatus
CN111313500A (en) * 2020-03-16 2020-06-19 Oppo广东移动通信有限公司 Charging management method and device, electronic equipment and computer readable storage medium
CN112220635A (en) * 2020-10-12 2021-01-15 中国人民解放军陆军军医大学第一附属医院 Monitoring system based on negative pressure isolation cabin
WO2023015955A1 (en) * 2021-08-11 2023-02-16 荣耀终端有限公司 Wireless charging method, device, chip, system, and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140191719A1 (en) * 2006-10-31 2014-07-10 Semiconductor Energy Laboratory Co., Ltd. Electric power charge and discharge system
CN104467066A (en) * 2014-05-13 2015-03-25 冯林 Electronic cigarette and power module used for electronic cigarette
CN109450058A (en) * 2019-01-11 2019-03-08 深圳市迷购网络科技有限公司 Earphone charging method, earphone and computer readable storage medium
CN109525720A (en) * 2018-10-31 2019-03-26 南昌努比亚技术有限公司 Battery of mobile terminal control method, mobile terminal and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140191719A1 (en) * 2006-10-31 2014-07-10 Semiconductor Energy Laboratory Co., Ltd. Electric power charge and discharge system
CN104467066A (en) * 2014-05-13 2015-03-25 冯林 Electronic cigarette and power module used for electronic cigarette
CN109525720A (en) * 2018-10-31 2019-03-26 南昌努比亚技术有限公司 Battery of mobile terminal control method, mobile terminal and readable storage medium storing program for executing
CN109450058A (en) * 2019-01-11 2019-03-08 深圳市迷购网络科技有限公司 Earphone charging method, earphone and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200195028A1 (en) * 2018-12-17 2020-06-18 Seiko Epson Corporation Electronic device, battery condition display method, and printing apparatus
US11764594B2 (en) * 2018-12-17 2023-09-19 Seiko Epson Corporation Electronic device, battery condition display method, and printing apparatus
CN111313500A (en) * 2020-03-16 2020-06-19 Oppo广东移动通信有限公司 Charging management method and device, electronic equipment and computer readable storage medium
CN112220635A (en) * 2020-10-12 2021-01-15 中国人民解放军陆军军医大学第一附属医院 Monitoring system based on negative pressure isolation cabin
CN112220635B (en) * 2020-10-12 2022-02-15 中国人民解放军陆军军医大学第一附属医院 Monitoring system based on negative pressure isolation cabin
WO2023015955A1 (en) * 2021-08-11 2023-02-16 荣耀终端有限公司 Wireless charging method, device, chip, system, and computer readable storage medium

Also Published As

Publication number Publication date
CN110350626B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN110350626A (en) Charge control method and device, electronic equipment, computer readable storage medium
CN110869784B (en) Method and apparatus for estimating SOC-OCV curve
US20190097434A1 (en) Charge control apparatus capable of high speed cell balancing and energy saving and method thereof
US9711988B2 (en) Fuel cell system, method for controlling fuel cell system, and storage battery system
CN110429684B (en) Charging control method and device, electronic equipment and computer readable storage medium
CN111301219B (en) Method, system, equipment and readable storage medium for controlling battery of electric vehicle
CN107978790B (en) Method and device for supplementing lithium to battery
CN111361450A (en) Range extender control method, device, equipment and storage medium
CN111391819B (en) Range extender control method, device, equipment and storage medium
JP2006114360A (en) Method for operating redox flow battery system
JP4268593B2 (en) Power supply system, power supply method, and building
CN110323806A (en) Charge control method and device, electronic equipment, computer readable storage medium
CN107785628A (en) Intelligent terminal and charging method, the device with store function
JP2018113158A (en) Fuel cell system for vehicle and control method thereof
JP2007026822A (en) Controller for fuel cell system
CN110365084A (en) Charge control method, device, terminal and storage medium
Pröbstl et al. Intelligent chargers will make mobile devices live longer
CN111164851A (en) Charge control device, charge control method, program, control circuit, and power storage system
CN115308615A (en) Storage battery monitoring method, system, terminal equipment and storage medium
CN113675921A (en) Shutdown voltage control method and device, electronic equipment and storage medium
CN114987286A (en) Heat preservation method and device for vehicle power battery, vehicle and storage medium
JP4331473B2 (en) Charge / discharge control device and charge / discharge control method for lead-acid battery
JP2013074705A (en) Power storage system
CN110311447B (en) Charging control method, device, terminal and 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