CN110336355A - A kind of charging method, charging unit and terminal device - Google Patents

A kind of charging method, charging unit and terminal device Download PDF

Info

Publication number
CN110336355A
CN110336355A CN201910625025.3A CN201910625025A CN110336355A CN 110336355 A CN110336355 A CN 110336355A CN 201910625025 A CN201910625025 A CN 201910625025A CN 110336355 A CN110336355 A CN 110336355A
Authority
CN
China
Prior art keywords
battery
remaining capacity
charging
less
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910625025.3A
Other languages
Chinese (zh)
Other versions
CN110336355B (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 CN201910625025.3A priority Critical patent/CN110336355B/en
Publication of CN110336355A publication Critical patent/CN110336355A/en
Application granted granted Critical
Publication of CN110336355B publication Critical patent/CN110336355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

This application discloses a kind of charging method, charging unit, terminal device and computer readable storage mediums, wherein, the charging method, applied to terminal device, the terminal device includes the first battery and the second battery, the preset charged performance of first battery obtains the first remaining capacity of first battery if the charging method includes: to detect that the terminal device is in charged state better than second battery;Judge whether first remaining capacity meets default battery condition;If first remaining capacity meets default battery condition, according to the default battery condition, the charging strategy to first battery and second battery is determined.By the application, charging resource when can be charged with reasonable distribution to multiple batteries has stronger usability and practicality.

Description

A kind of charging method, charging unit and terminal device
Technical field
The application belongs to charging technique field more particularly to a kind of charging method, charging unit, terminal device and computer Readable storage medium storing program for executing.
Background technique
With widely available, the increasingly increase of demand of the user to battery durable ability of all kinds of mobile devices, monolithic electricity Pond has been difficult to meet people's needs used in everyday.Be powered using multiple batteries be extend equipment cruising ability one Kind effective means.
And inventors have found that charge efficiency is often lower, can not rationally divide due to needing to take into account multiple batteries in charging Charging resource when multiple batteries are charged is matched, so as to influence the use of terminal device.
Summary of the invention
In view of this, this application provides a kind of charging method, charging unit, terminal device and computer-readable storage mediums Matter, charging resource when can be charged with reasonable distribution to multiple batteries.
The first aspect of the application provides a kind of charging method, is applied to terminal device, and the terminal device includes the The preset charged performance of one battery and the second battery, first battery is better than second battery, and the charging method includes:
If detecting, the terminal device is in charged state, obtains the first remaining capacity of first battery;
Judge whether first remaining capacity meets default battery condition;
If first remaining capacity meets default battery condition, according to the default battery condition, determine to described The charging strategy of first battery and second battery.
The second aspect of the application provides a kind of charging unit, is applied to terminal device, and the terminal device includes the The preset charged performance of one battery and the second battery, first battery is better than second battery, and the charging unit includes:
Module is obtained, if obtaining the of first battery for detecting that the terminal device is in charged state One remaining capacity;
Judgment module, for judging whether first remaining capacity meets default battery condition;
Charging module, if meeting default battery condition for first remaining capacity, according to the default electricity item Part determines the charging strategy to first battery and second battery.
The third aspect of the application provides a kind of terminal device, above-mentioned terminal device include memory, processor and It is stored in the computer program that can be run in above-mentioned memory and on above-mentioned processor, above-mentioned processor executes above-mentioned computer The step of method of first aspect as above is realized when program.
The fourth aspect of the application provides a kind of computer readable storage medium, and above-mentioned computer readable storage medium is deposited Computer program is contained, above-mentioned computer program realizes the method for first aspect as above when being executed by processor the step of.
The 5th aspect of the application provides a kind of computer program product, and above-mentioned computer program product includes computer Program, when above-mentioned computer program is executed by one or more processors the step of the realization such as method of above-mentioned first aspect.
Therefore one of the application charging method can be applied to terminal device, the terminal device includes the The preset charged performance of one battery and the second battery, first battery is better than second battery, so as to use performance The muti-piece battery that parameter has differences charges to terminal device, wherein uses preset charged performance preferably the first battery It can guarantee power supply performance, and use the second battery, it is possible to reduce the cost of equipment.Also, in the application, if detecting described Terminal device is in charged state, then obtains the first remaining capacity of first battery;Judging first remaining capacity is It is no to meet default battery condition;If first remaining capacity meets default battery condition, according to the default battery condition, Determine the charging strategy to first battery and second battery.At this point, by whether judging first remaining capacity Meet default battery condition, can consider the charging performance of battery based on the needs of different occasions to quickly determine charging plan It slightly, being capable of charging resource of reasonable distribution when charging to multiple batteries so that charging process is more targeted.And this Shen Scheme please is simple and easy, has stronger usability and practicality.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of charging method provided by the embodiments of the present application;
Fig. 2 is a kind of implementation process schematic diagram of charging method provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of charging unit provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal device described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.It is to be further understood that in certain embodiments, above equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal device including display and touch sensitive surface is described.However, should manage Solution, terminal device may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Terminal device supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on the terminal device Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
In addition, term " first ", " second " etc. are only used for distinguishing description, and should not be understood as in the description of the present application Indication or suggestion relative importance.
In order to illustrate the above-mentioned technical solution of the application, the following is a description of specific embodiments.
Embodiment one
It is the implementation process schematic diagram of charging method provided by the embodiments of the present application referring to Fig. 1.
Wherein, the charging method of the embodiment of the present application can be applied to terminal device, and the terminal device includes the first electricity The preset charged performance of pond and the second battery, first battery is better than second battery.
Illustratively, the terminal device can be with mobile phone, tablet computer, laptop, wearable device etc. electronics Equipment, in addition, the terminal device can also be the equipment including multiple detachable parts, the type of the terminal device can be with There are many, this is not restricted.The set-up mode of the first battery and the second battery in the terminal device can be according to reality It needs to determine, for example, first battery can be connected with second battery, alternatively, the end can be respectively arranged at On the different components of end equipment.First battery and second battery can pass through same charging modes and charging Mouth charges, and can also be charged by different charging modes or charging interface.It should be noted that the terminal is set Standby can also include other batteries, also, the quantity of first battery and the quantity of second battery can be one respectively It is a or multiple.The type of first battery and second battery can also there are many.Such as first battery and described Second battery can be one in graphene battery, ickel-cadmium cell, nickel-metal hydride battery, lithium ion battery, lead-acid battery etc. respectively Kind.The type of first battery and second battery can be carried out according to actual preset charged performance and application scenarios etc. Setting.
The preset charged performance may include charging rate, battery capacity, charge efficiency, service life, volume, hot property etc. Deng one of or it is a variety of.In actual use, the muti-piece battery that selection performance parameter has differences, can set meeting terminal When standby power reguirements, cost is suitably reduced, at the same time it can also be selected for different occasions according to the performance difference of battery Different charging modes are selected, provide better experience for user.
The charging method may comprise steps of:
Step 101, if detecting, the terminal device is in charged state, and obtain first battery first is remaining Electricity.
In the embodiment of the present application, can when detecting that the preset interface of charger and terminal device is attached, alternatively, Can be detect the first battery and/or the second battery start store charge when, alternatively, wireless charging signal can detected When, confirmation detects that the terminal device is in charged state.Determine that the terminal device is in the concrete mode of charged state It can need to be configured according to the charging modes and application scenarios of battery.
Generally, first remaining capacity can be indicated by percentage, that is, first remaining capacity can be The charge value of first battery current residual accounts for the percentage of the battery total electricity of first battery.It is of course also possible to pass through it His mode indicates first remaining capacity.
Optionally, first battery is graphene battery, and second battery is lithium battery.
Wherein, the graphene battery utilizes the lithium ion rapid, high volume shuttle between electrode on the surface of graphene Characteristic, a kind of new energy battery developed.Graphene battery has the characteristics such as high conductivity, high intensity, ultra-thin.Also, In general, compared to lithium battery, the capacitance of graphene battery is higher, and service life is also longer.But individually by larger appearance The graphene battery of amount is applied to the higher cost of electronic equipment, although and the charging rate of lithium battery often below graphene electricity Pond, but technology is more mature, and the charging performance of lithium battery also can satisfy current device needs used in everyday.Therefore, may be used To be arranged in the terminal device while comprising graphene battery and lithium battery, with equilibrium charging speed and cost.
Step 102, judge whether first remaining capacity meets default battery condition.
In the embodiment of the present application, the default battery condition can be the charging performance according to the first battery, the second battery And current application scene needs are configured.Also, the default battery condition may include one or more default electricity Sub- condition, during subsequent determining charging strategy, each default electric quantum condition can be respectively for different chargings Strategy.
Step 103, if first remaining capacity meets default battery condition, according to the default battery condition, really The fixed charging strategy to first battery and second battery.
In the embodiment of the present application, charging strategy corresponding to the default battery condition can be preset.For example, described Default battery condition may further include one or more default electric quantum conditions, at this point, presetting electricity for each Condition can preset different charging strategies respectively.At this point, if first remaining capacity meets default battery condition, The default electric quantum condition that first remaining capacity is met can also be then further determined that, so that it is determined that charging strategy.Show Example property, the default battery condition can indicate that first remaining capacity is in the first pre-set interval, then described according to institute Default battery condition is stated, determination can include determining that described first to the charging strategy of first battery and second battery The subinterval in first pre-set interval where remaining capacity, so that it is determined that the charging strategy is right for the subinterval The charging strategy answered.
For example, the default battery condition can be first remaining capacity less than 50%.When the described first remaining electricity When amount is less than 50%, it is believed that the remaining capacity of first battery is less, at this time, it may be necessary to fill to first battery Electricity;And further, first remaining capacity can also be judged whether less than 30%;If first remaining capacity is less than 30%, then it can only charge to first battery, if first remaining capacity is not less than 30% but less than 50%, It can charge simultaneously to first battery and the second battery.
It is optionally, described to judge whether first remaining capacity meets default battery condition, comprising:
Judge first remaining capacity whether less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determining pair The charging strategy of first battery and second battery, comprising:
If first remaining capacity charges to first battery less than the first preset threshold.
In the embodiment of the present application, it is pre-set that first preset threshold can be user.If the described first remaining electricity Amount is less than the first preset threshold, it is believed that the electricity of first battery is lower, then charges to first battery.By It is better than second battery in the preset charged performance of first battery, so, in general, the charging of first battery Speed can be very fast, therefore, at this point, by charging first battery without charging to second battery, The quick charge to first battery may be implemented.
Optionally, charging method further include:
Obtain the second remaining capacity of second battery;
It is described to judge whether first remaining capacity meets default battery condition, comprising:
Judge first remaining capacity whether less than the second preset threshold and not less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determining pair The charging strategy of first battery and second battery, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, according to described first Remaining capacity and second remaining capacity, while charging to first battery and second battery.
Generally, second remaining capacity can be indicated by percentage, that is, second remaining capacity can be The charge value of second battery current residual accounts for the percentage of the battery total electricity of second battery.It is of course also possible to pass through it His mode indicates second remaining capacity.The representation of second remaining capacity can be with first remaining capacity It is identical.
In the embodiment of the present application, it is pre-set that second preset threshold can be user.If the described first remaining electricity Amount is less than the second preset threshold and is not less than the first preset threshold, then can be simultaneously to first battery and second battery It charges.Illustratively, the charge parameter of first battery and second battery can according to first battery and The electric quantity change situation of second battery determines.
Optionally, if first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, It is filled according to first remaining capacity and second remaining capacity, while to first battery and second battery Electricity, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, simultaneously to described the One battery and second battery charge, and adjust first battery according to the situation of change of first remaining capacity Charge parameter so that the charging rate of first battery is reduced with the raising of first remaining capacity, according to institute The situation of change for stating the second remaining capacity adjusts the charge parameter of second battery, so that when second remaining capacity is small When third predetermined threshold value, the charging rate of second battery is increased with the raising of second remaining capacity.
In the embodiment of the present application, can by adjusting to first battery and second battery charging current, fill The charge parameters such as piezoelectric voltage adjust the charging rate of first battery and second battery.Wherein, first electricity The preset charged performance in pond is better than second battery, and therefore, generally, first battery can charge within a short period of time Extremely close to highest electricity.And when the first remaining capacity of first battery is greater than the first preset threshold, it can gradually decrease The charging rate of first battery, so that when the first remaining capacity of first battery is close to highest electricity, it is described The charging rate of first battery becomes smaller, so as to charge to highest electricity with security and stability.And in this course, it is corresponding The charge rate to second battery can be gradually increased in wired charger or wireless charger, until second battery The second remaining capacity reach third predetermined threshold value, thus reasonable distribution resource, realize in the different charging stages to described the The quick charge of one battery and the second battery.
In the embodiment of the present application, first battery and second electricity can be determined based on first remaining capacity The charging strategy in pond, at this point, required judgement parameter is less, calculation amount is smaller, therefore can quickly determine the charging strategy. Meanwhile the charging strategy is determined based on first remaining capacity, fully consider the superiority of the performance of the first battery, The terminal device is enabled more reasonably to distribute charging resource for different scenes.
Optionally, in one embodiment, the charging method can with the following steps are included:
Step 201, if first remaining capacity does not meet default battery condition, whether judge second remaining capacity Less than the 4th preset threshold.
In the embodiment of the present application, if second remaining capacity less than the first preset threshold, it may be considered that described second The electricity of battery is lower.4th preset threshold is user according to the performance of second battery and making for the terminal device It is arranged with situation etc..
Step 202, if second remaining capacity is less than the 4th preset threshold, second battery is filled Electricity.
If first remaining capacity does not meet default battery condition, and second remaining capacity is less than the described 4th in advance It,, can be at this point, only charge to second battery at this point, the electricity of first battery could possibly be higher than specified threshold if threshold value The charge efficiency of second battery is improved, while the use of the terminal device can be maintained by first battery.
Step 203, if second remaining capacity is not less than the 4th preset threshold, simultaneously to first battery It charges with second battery.
If first remaining capacity does not meet default battery condition, and second remaining capacity is not less than the described 4th Preset threshold can simultaneously charge to first battery and second battery, so that first battery and described Second battery can charge in time, be convenient for subsequent use, and avoid the charge and discharge excessively tended to the first battery, thus The service life of first battery and second battery can be balanced.
One of the embodiment of the present application charging method can be applied to terminal device, and the terminal device includes the first electricity The preset charged performance of pond and the second battery, first battery is better than second battery, so as to use performance parameter The muti-piece battery having differences charges to terminal device, wherein uses preset charged performance preferably the first battery can be with Guarantee power supply performance, and use the second battery, it is possible to reduce the cost of equipment.Also, in the embodiment of the present application, if detecting institute It states terminal device and is in charged state, then obtain the first remaining capacity of first battery;Judge first remaining capacity Whether default battery condition is met;If first remaining capacity meets default battery condition, according to the default electricity item Part determines the charging strategy to first battery and second battery.At this point, by judging that first remaining capacity is It is no to meet default battery condition, the charging performance of battery can be considered to quickly determine charging based on the needs of different occasions Strategy being capable of charging resource of reasonable distribution when charging to multiple batteries so that charging process is more targeted.And this Apply for that the scheme of embodiment is simple and easy, there is stronger usability and practicality.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Embodiment three
It is that the structural schematic diagram of charging unit provided by the embodiments of the present application is only shown for ease of description referring to Fig. 3 Relevant to the embodiment of the present application part.The charging unit can be used for the various terminals for having data processing function, such as Laptop, pocket computer (Pocket Personal Computer, PPC), personal digital assistant (Personal Digital Assistant, PDA) etc. in, can be the software unit being built in these terminals, hardware cell or soft or hard Part combining unit etc..The charging unit 300 can be applied to terminal device, and the terminal device includes the first battery and second The preset charged performance of battery, first battery is better than second battery.
Charging unit 300 in the embodiment of the present application includes:
Module 301 is obtained, if obtaining first battery for detecting that the terminal device is in charged state First remaining capacity;
Judgment module 302, for judging whether first remaining capacity meets default battery condition;
Charging module 303, if meeting default battery condition for first remaining capacity, according to the default electricity Condition determines the charging strategy to first battery and second battery.
Optionally, the judgment module 302 is specifically used for:
Judge first remaining capacity whether less than the first preset threshold;
The charging module 303 is specifically used for:
If first remaining capacity charges to first battery less than the first preset threshold.
Optionally, the charging unit 300 further include:
Second obtains module, for obtaining the second remaining capacity of second battery;
The judgment module 302 is specifically used for:
Judge first remaining capacity whether less than the second preset threshold and not less than the first preset threshold;
The charging module 303 is specifically used for:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, according to described first Remaining capacity and second remaining capacity, while charging to first battery and second battery.
Optionally, the charging module 303 is specifically used for:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, simultaneously to described the One battery and second battery charge, and adjust first battery according to the situation of change of first remaining capacity Charge parameter so that the charging rate of first battery is reduced with the raising of first remaining capacity, according to institute The situation of change for stating the second remaining capacity adjusts the charge parameter of second battery, so that when second remaining capacity is small When third predetermined threshold value, the charging rate of second battery is increased with the raising of second remaining capacity.
Optionally, the charging unit 300 further include:
Second judgment module judges that described second is surplus if not meeting default battery condition for first remaining capacity Whether remaining electricity is less than the 4th preset threshold;
Second charging module, if being less than the 4th preset threshold for second remaining capacity, to described second Battery charges;
Third charging module, if being not less than the 4th preset threshold for second remaining capacity, simultaneously to institute It states the first battery and second battery charges.
Optionally, first battery is graphene battery, and second battery is lithium battery.
One of the embodiment of the present application charging unit can be applied to terminal device, and the terminal device includes the first electricity The preset charged performance of pond and the second battery, first battery is better than second battery, so as to use performance parameter The muti-piece battery having differences charges to terminal device, wherein uses preset charged performance preferably the first battery can be with Guarantee power supply performance, and use the second battery, it is possible to reduce the cost of equipment.Also, in the embodiment of the present application, if detecting institute It states terminal device and is in charged state, then obtain the first remaining capacity of first battery;Judge first remaining capacity Whether default battery condition is met;If first remaining capacity meets default battery condition, according to the default electricity item Part determines the charging strategy to first battery and second battery.At this point, by judging that first remaining capacity is It is no to meet default battery condition, the charging performance of battery can be considered to quickly determine charging based on the needs of different occasions Strategy being capable of charging resource of reasonable distribution when charging to multiple batteries so that charging process is more targeted.And this Apply for that the scheme of embodiment is simple and easy, there is stronger usability and practicality.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Example IV
The embodiment of the present application four provides a kind of terminal device, referring to Fig. 4, the terminal device packet in the embodiment of the present application Include: the first battery 406, the second battery 407, memory 401 and are deposited at one or more processors 402 (one is only shown in Fig. 4) Store up the computer program that can be run on memory 401 and on a processor.Wherein: memory 401 is for storing software program And module, processor 402 is stored in the software program and unit of memory 401 by operation, thereby executing various functions Using and data processing.The preset charged performance of first battery is better than second battery, in the terminal device The set-up mode of first battery and the second battery can determine according to actual needs, for example, first battery can be with institute It states the second battery to be connected, alternatively, can be respectively arranged on the different components of the terminal device.First battery and described Second battery can be charged by same charging modes and charging interface, can also by different charging modes or Charging interface charges.First battery and second battery can be respectively whole in the terminal device or Section components power supply.It should be noted that the terminal device can also include other batteries, also, first battery Quantity and the quantity of second battery can be one or more respectively.The type of first battery and second battery Can also there are many.Such as first battery and second battery can be graphene battery, ickel-cadmium cell, ni-mh respectively One of battery, lithium ion battery, lead-acid battery etc..The type of first battery and second battery can basis Actual preset charged performance and application scenarios etc. are configured.
Specifically, processor 402 is stored by operation and realizes following step in the above-mentioned computer program of memory 401 It is rapid:
If detecting, the terminal device is in charged state, obtains the first remaining capacity of first battery;
Judge whether first remaining capacity meets default battery condition;
If first remaining capacity meets default battery condition, according to the default battery condition, determine to described The charging strategy of first battery and second battery.
Assuming that it is above-mentioned be the first possible embodiment, then based on the first above-mentioned possible embodiment and In second of the possible embodiment provided, processor 402 is stored in the above-mentioned computer program of memory 401 by operation When, it is described to judge whether first remaining capacity meets default battery condition, comprising:
Judge first remaining capacity whether less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determining pair The charging strategy of first battery and second battery, comprising:
If first remaining capacity charges to first battery less than the first preset threshold.
In the third the possible embodiment provided based on above-mentioned second of possible embodiment, processing Device 402 is stored by operation in the above-mentioned computer program of memory 401, is also performed the steps of
Obtain the second remaining capacity of second battery;
Judge whether first remaining capacity meets default battery condition correspondingly, described, comprising:
Judge first remaining capacity whether less than the second preset threshold and not less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determining pair The charging strategy of first battery and second battery, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, according to described first Remaining capacity and second remaining capacity, while charging to first battery and second battery.
In the 4th kind of possible embodiment provided based on the third above-mentioned possible embodiment, processing Device 402 is stored by operation in the above-mentioned computer program of memory 401, if first remaining capacity is less than second Preset threshold and be not less than the first preset threshold, then according to first remaining capacity and second remaining capacity, and meanwhile it is right First battery and second battery charge, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, simultaneously to described the One battery and second battery charge, and adjust first battery according to the situation of change of first remaining capacity Charge parameter so that the charging rate of first battery is reduced with the raising of first remaining capacity, according to institute The situation of change for stating the second remaining capacity adjusts the charge parameter of second battery, so that when second remaining capacity is small When third predetermined threshold value, the charging rate of second battery is increased with the raising of second remaining capacity.
In the 5th kind of possible embodiment provided based on the third above-mentioned possible embodiment, processing Device 402 is stored by operation in the above-mentioned computer program of memory 401, is also performed the steps of
If first remaining capacity does not meet default battery condition, judge second remaining capacity whether less than the 4th Preset threshold;
If second remaining capacity is less than the 4th preset threshold, charge to second battery;
If second remaining capacity is not less than the 4th preset threshold, simultaneously to first battery and described the Two batteries charge.
Based on the first possible embodiment or based on above-mentioned second of possible embodiment, Perhaps based on the third above-mentioned possible embodiment or based on above-mentioned 4th kind of possible embodiment, or In the 6th kind of possible embodiment provided based on the above-mentioned 5th kind of possible embodiment of person, processor 402 is logical It crosses operation to store in the above-mentioned computer program of memory 401, first battery is graphene battery, second battery For lithium battery.
In the embodiment of the present application, the terminal device includes the first battery and the second battery, and first battery is preset Charging performance is better than second battery, and the muti-piece battery so as to be had differences using performance parameter carries out terminal device Charging, wherein power supply performance can be guaranteed using preset charged performance preferably the first battery, and use the second battery, it can be with Reduce the cost of equipment.Also, in the embodiment of the present application, if detecting, the terminal device is in charged state, obtains institute State the first remaining capacity of the first battery;Judge whether first remaining capacity meets default battery condition;If described first Remaining capacity meets default battery condition, then according to the default battery condition, determines to first battery and described second The charging strategy of battery.At this point, by judging whether first remaining capacity meets default battery condition, it can be based on difference The needs of occasion consider the charging performance of battery to quickly determine charging strategy, so that charging process is more targeted, it can Charging resource when reasonable distribution charges to multiple batteries.And the scheme of the embodiment of the present application is simple and easy, have compared with Strong usability and practicality.
Further, as shown in figure 4, above-mentioned terminal device may also include that one or more input equipments 403 (only show in Fig. 4 One out) and one or more output equipments 404 (one is only shown in Fig. 4).Memory 401, processor 402, input equipment 403 and output equipment 404 connected by bus 405.
It should be appreciated that in the embodiment of the present application, alleged processor 402 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 403 may include keyboard, Trackpad, fingerprint collecting sensor (for acquiring the finger print information of user With the directional information of fingerprint), microphone, camera etc., output equipment 404 may include display, loudspeaker etc..
Memory 401 may include read-only memory and random access memory, and provide instruction sum number to processor 402 According to.Part or all of memory 401 can also include nonvolatile RAM.For example, memory 401 may be used also With the information of storage device type.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or external equipment software and electronic hardware.These functions are studied carefully Unexpectedly it is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technique people Member can use different methods to achieve the described function each specific application, but this realization is it is not considered that super Scope of the present application out.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
If above-mentioned integrated unit, module be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment All or part of the process in method can also instruct relevant hardware to complete, above-mentioned calculating by computer program Machine program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned The step of each embodiment of the method.Wherein, above-mentioned computer program includes computer program code, above-mentioned computer program code It can be source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable storage medium Matter may include: can carry above-mentioned computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer-readable memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate Be, the content that above-mentioned computer readable storage medium includes can according in jurisdiction make laws and patent practice requirement into Row increase and decrease appropriate, such as in certain jurisdictions, do not include according to legislation and patent practice, computer readable storage medium Electric carrier signal and telecommunication signal.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of charging method, which is characterized in that be applied to terminal device, the terminal device includes the first battery and the second electricity The preset charged performance in pond, first battery is better than second battery, and the charging method includes:
If detecting, the terminal device is in charged state, obtains the first remaining capacity of first battery;
Judge whether first remaining capacity meets default battery condition;
If first remaining capacity meets default battery condition, according to the default battery condition, determine to described first The charging strategy of battery and second battery.
2. charging method as described in claim 1, which is characterized in that described to judge whether first remaining capacity meets pre- If battery condition, comprising:
Judge first remaining capacity whether less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determine to described The charging strategy of first battery and second battery, comprising:
If first remaining capacity charges to first battery less than the first preset threshold.
3. charging method as claimed in claim 2, which is characterized in that further include:
Obtain the second remaining capacity of second battery;
It is described to judge whether first remaining capacity meets default battery condition, comprising:
Judge first remaining capacity whether less than the second preset threshold and not less than the first preset threshold;
If first remaining capacity meets default battery condition, according to the default battery condition, determine to described The charging strategy of first battery and second battery, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, remaining according to described first Electricity and second remaining capacity, while charging to first battery and second battery.
4. charging method as claimed in claim 3, which is characterized in that if first remaining capacity is default less than second Threshold value and be not less than the first preset threshold, then according to first remaining capacity and second remaining capacity, while to described First battery and second battery charge, comprising:
If first remaining capacity is less than the second preset threshold and is not less than the first preset threshold, simultaneously to first electricity Pond and second battery charge, and adjust filling for first battery according to the situation of change of first remaining capacity Electrical parameter, so that the charging rate of first battery is reduced with the raising of first remaining capacity, according to described The situation of change of two remaining capacities adjusts the charge parameter of second battery, so that when second remaining capacity is less than the When three preset thresholds, the charging rate of second battery is increased with the raising of second remaining capacity.
5. charging method as claimed in claim 3, which is characterized in that further include:
If first remaining capacity does not meet default battery condition, judge whether second remaining capacity is default less than the 4th Threshold value;
If second remaining capacity is less than the 4th preset threshold, charge to second battery;
If second remaining capacity is not less than the 4th preset threshold, simultaneously to first battery and second electricity It charges in pond.
6. the charging method as described in claim 1 to 5 any one, which is characterized in that first battery is graphene electricity Pond, second battery are lithium battery.
7. a kind of charging unit, which is characterized in that be applied to terminal device, the terminal device includes the first battery and the second electricity The preset charged performance in pond, first battery is better than second battery, and the charging unit includes:
Module is obtained, if obtain first battery first is surplus for detecting that the terminal device is in charged state Remaining electricity;
Judgment module, for judging whether first remaining capacity meets default battery condition;
Charging module, if meeting default battery condition for first remaining capacity, according to the default battery condition, really The fixed charging strategy to first battery and second battery.
8. charging unit as claimed in claim 7, which is characterized in that the judgment module is specifically used for:
Judge first remaining capacity whether less than the first preset threshold;
The charging module is specifically used for:
If first remaining capacity charges to first battery less than the first preset threshold.
9. a kind of terminal device, including the first battery, the second battery, memory, processor and storage are in the memory And the computer program that can be run on the processor, which is characterized in that the preset charged performance of first battery is better than Second battery, the processor realize the charging side as described in any one of claim 1 to 6 when executing the computer program The step of method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization is as described in any one of claim 1 to 6 the step of charging method when the computer program is executed by processor.
CN201910625025.3A 2019-07-11 2019-07-11 Charging method, charging device and terminal equipment Active CN110336355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910625025.3A CN110336355B (en) 2019-07-11 2019-07-11 Charging method, charging device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910625025.3A CN110336355B (en) 2019-07-11 2019-07-11 Charging method, charging device and terminal equipment

Publications (2)

Publication Number Publication Date
CN110336355A true CN110336355A (en) 2019-10-15
CN110336355B CN110336355B (en) 2022-04-22

Family

ID=68146300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910625025.3A Active CN110336355B (en) 2019-07-11 2019-07-11 Charging method, charging device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110336355B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988549A (en) * 2020-07-21 2020-11-24 深圳市金锐显数码科技有限公司 Television USB seat power supply method and device
CN113852143A (en) * 2020-06-28 2021-12-28 北京小米移动软件有限公司 Electric energy management method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7098666B2 (en) * 2004-07-28 2006-08-29 Motorola, Inc. Method and system for battery state of charge estimation by using measured changes in voltage
CN104242397A (en) * 2014-09-25 2014-12-24 联想(北京)有限公司 Multi-battery quick charging circuit and method
CN104505890A (en) * 2014-12-24 2015-04-08 广东欧珀移动通信有限公司 Mobile terminal
CN105162236A (en) * 2015-09-28 2015-12-16 香港城市大学深圳研究院 Composite energy power distribution system
CN105914822A (en) * 2016-05-09 2016-08-31 常永利 Intelligent, environmentally friendly and energy saving cell power supply system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7098666B2 (en) * 2004-07-28 2006-08-29 Motorola, Inc. Method and system for battery state of charge estimation by using measured changes in voltage
CN104242397A (en) * 2014-09-25 2014-12-24 联想(北京)有限公司 Multi-battery quick charging circuit and method
CN104505890A (en) * 2014-12-24 2015-04-08 广东欧珀移动通信有限公司 Mobile terminal
CN105162236A (en) * 2015-09-28 2015-12-16 香港城市大学深圳研究院 Composite energy power distribution system
CN105914822A (en) * 2016-05-09 2016-08-31 常永利 Intelligent, environmentally friendly and energy saving cell power supply system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852143A (en) * 2020-06-28 2021-12-28 北京小米移动软件有限公司 Electric energy management method and device and storage medium
CN111988549A (en) * 2020-07-21 2020-11-24 深圳市金锐显数码科技有限公司 Television USB seat power supply method and device

Also Published As

Publication number Publication date
CN110336355B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
TWI326928B (en) Method for charging portable electronic apparatus
CN103682491B (en) The charging method of electric room, charging circuit and electronic equipment
US10963033B2 (en) Variable-frequency sampling of battery voltage to determine fuel gauge power mode
CN110247453A (en) A kind of control method, device, equipment and medium
US20180076634A1 (en) Charging method and electronic apparatus
CN110336355A (en) A kind of charging method, charging unit and terminal device
JP2015100259A (en) Method for detecting and displaying information on charge of mobile battery
CN110365084B (en) Charging control method, device, terminal and storage medium
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN103490109B (en) The charging method of a kind of terminal and device
CN103035968A (en) Mobile terminal charging method and system
TWI631790B (en) Method for adjusting charging current and mobile terminal
TWI637578B (en) Charging method and electronic device using the same
CN106131342B (en) A kind of method and system of control mobile terminal shutdown
CN107612162A (en) A kind of wireless charging method, terminal and computer-readable recording medium
CN109643831A (en) Portable electronic device with addressable charge indicator
CN106972558A (en) A kind of charge control method and electronic equipment
CN102290843B (en) Method for automatically adapting charger to portable equipment
CN110365081B (en) Charging control method, device, terminal and storage medium
CN107872574A (en) Mobile terminal and mobile terminal charging process method and storage medium
CN106207298B (en) A kind of charging method and user equipment
CN107017684A (en) A kind of method and device of charging
CN205595864U (en) Cell -phone charging circuit , cell -phone
CN104347904B (en) The charging method of a kind of mobile terminal, system and mobile terminal
CN203398237U (en) Multicore battery and mobile terminal with multicore battery

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