CN110336355B - Charging method, charging device and terminal equipment - Google Patents

Charging method, charging device and terminal equipment Download PDF

Info

Publication number
CN110336355B
CN110336355B CN201910625025.3A CN201910625025A CN110336355B CN 110336355 B CN110336355 B CN 110336355B CN 201910625025 A CN201910625025 A CN 201910625025A CN 110336355 B CN110336355 B CN 110336355B
Authority
CN
China
Prior art keywords
battery
charging
electric quantity
preset
smaller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910625025.3A
Other languages
Chinese (zh)
Other versions
CN110336355A (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

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging method, a charging device, a terminal device and a computer readable storage medium, wherein the charging method is applied to the terminal device, the terminal device comprises a first battery and a second battery, the preset charging performance of the first battery is superior to that of the second battery, and the charging method comprises the following steps: if the terminal equipment is detected to be in a charging state, acquiring a first residual electric quantity of the first battery; judging whether the first residual electric quantity meets a preset electric quantity condition or not; and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition. Through the application, charging resources during charging of the plurality of batteries can be reasonably distributed, and the battery charging method has high usability and practicability.

Description

Charging method, charging device and terminal equipment
Technical Field
The present application belongs to the field of charging technologies, and in particular, to a charging method, a charging device, a terminal device, and a computer-readable storage medium.
Background
With the wide popularization of various mobile devices and the increasing demand of users on battery endurance, a single battery is difficult to meet the daily use requirement of people. The use of multiple batteries for power is an effective way to extend the range of the device.
The inventor finds that, because a plurality of batteries need to be considered during charging, the charging efficiency is often low, and charging resources during charging of the plurality of batteries cannot be reasonably distributed, so that the use of the terminal device may be affected.
Disclosure of Invention
In view of the above, the present application provides a charging method, a charging apparatus, a terminal device and a computer-readable storage medium, which can reasonably allocate charging resources when charging a plurality of batteries.
A first aspect of the present application provides a charging method applied to a terminal device, where the terminal device includes a first battery and a second battery, and a preset charging performance of the first battery is better than that of the second battery, and the charging method includes:
if the terminal equipment is detected to be in a charging state, acquiring a first residual electric quantity of the first battery;
judging whether the first residual electric quantity meets a preset electric quantity condition or not;
and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition.
A second aspect of the present application provides a charging apparatus applied to a terminal device, the terminal device including a first battery and a second battery, a preset charging performance of the first battery being superior to that of the second battery, the charging apparatus including:
the acquisition module is used for acquiring a first residual electric quantity of the first battery if the terminal equipment is detected to be in a charging state;
the judging module is used for judging whether the first residual electric quantity meets a preset electric quantity condition or not;
and the charging module is used for determining a charging strategy for the first battery and the second battery according to a preset electric quantity condition if the first residual electric quantity meets the preset electric quantity condition.
A third aspect of the present application provides a terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect as described above.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method as described in the first aspect above.
It can be seen from the above that, a charging method in the present application can be applied to a terminal device, the terminal device includes a first battery and a second battery, the preset charging performance of the first battery is superior to the second battery, so that a plurality of batteries with different performance parameters can be used to charge the terminal device, wherein the power supply performance can be ensured by adopting the first battery with the better preset charging performance, and the cost of the device can be reduced by adopting the second battery. In addition, in the application, if the terminal device is detected to be in a charging state, acquiring a first remaining capacity of the first battery; judging whether the first residual electric quantity meets a preset electric quantity condition or not; and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition. At the moment, whether the first residual electric quantity meets the preset electric quantity condition or not is judged, the charging strategy can be quickly determined by considering the charging performance of the battery based on the requirements of different occasions, so that the charging process is more targeted, and charging resources during charging of a plurality of batteries can be reasonably distributed. The scheme is simple and feasible, and has strong usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an implementation of a charging method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of a charging method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a charging device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, a schematic diagram of an implementation flow of a charging method provided in an embodiment of the present application is shown.
The charging method can be applied to terminal equipment, the terminal equipment comprises a first battery and a second battery, and the preset charging performance of the first battery is superior to that of the second battery.
For example, the terminal device may be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a wearable device, and the like, and may also be a device including a plurality of detachable components, and the type of the terminal device may be various, and is not limited herein. The arrangement of the first battery and the second battery in the terminal device may be determined according to actual needs, for example, the first battery may be connected to the second battery, or may be arranged on different components of the terminal device respectively. The first battery and the second battery can be charged through the same charging mode and charging interface, and can also be charged through different charging modes or charging interfaces. It should be noted that the terminal device may further include another battery, and the number of the first battery and the number of the second battery may be one or more than one. The types of the first battery and the second battery may also be various. For example, the first battery and the second battery may each be one of a graphene battery, a cadmium nickel battery, a nickel hydrogen battery, a lithium ion battery, a lead acid battery, and the like. The types of the first battery and the second battery may be set according to actual preset charging performance, application scenarios, and the like.
The preset charging performance may include one or more of a charging speed, a battery capacity, a charging efficiency, a life span, a volume, a thermal performance, and the like. In actual use, a plurality of batteries with different performance parameters are selected, so that the cost can be properly reduced when the power supply requirement of the terminal equipment is met, and meanwhile, different charging modes can be selected according to the performance difference of the batteries on different occasions, so that better experience is provided for users.
The charging method may include the steps of:
step 101, if it is detected that the terminal device is in a charging state, acquiring a first remaining capacity of the first battery.
In this embodiment of the application, when it is detected that the charger is connected to the preset interface of the terminal device, or when it is detected that the first battery and/or the second battery start to store electric charge, or when a wireless charging signal is detected, it is determined that the terminal device is detected to be in a charging state. The specific mode for determining that the terminal device is in the charging state can be set according to the charging mode of the battery and the application scene requirement.
Generally, the first remaining capacity may be represented by a percentage, that is, the first remaining capacity may be a percentage of a currently remaining capacity value of the first battery to a total capacity of the first battery. Of course, the first remaining capacity may be represented in other manners.
Optionally, the first battery is a graphene battery, and the second battery is a lithium battery.
The graphene battery is a new energy battery developed by utilizing the characteristic that lithium ions rapidly shuttle in a large quantity between the surface of graphene and an electrode. The graphene battery has the characteristics of high conductivity, high strength, ultra-light weight and the like. In addition, in general, a graphene battery has a higher capacity and a longer service life than a lithium battery. However, the cost of applying a graphene battery with a large capacity to an electronic device is high, the charging speed of a lithium battery is often lower than that of the graphene battery, but the technology is mature, and the charging performance of the lithium battery can meet the daily use requirement of the current device. Therefore, the terminal device can be configured to include both the graphene battery and the lithium battery to balance the charging speed and the cost.
And 102, judging whether the first residual electric quantity meets a preset electric quantity condition.
In this embodiment of the application, the preset electric quantity condition may be set according to the charging performance of the first battery and the second battery and the current application scenario. And, the preset electric quantity condition may include one or more preset electric quantum conditions, and each preset electric quantum condition may be respectively for a different charging strategy in the subsequent process of determining the charging strategy.
Step 103, if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition.
In the embodiment of the application, the charging strategy corresponding to the preset electric quantity condition can be preset. For example, the preset charge condition may further include one or more preset charge sub-conditions, and at this time, for each preset charge sub-condition, a different charging strategy may be preset. At this time, if the first remaining capacity meets a preset capacity condition, the preset capacity condition met by the first remaining capacity may be further determined, so as to determine the charging strategy. For example, if the preset electric quantity condition may indicate that the first remaining electric quantity is in a first preset interval, the determining the charging policy for the first battery and the second battery according to the preset electric quantity condition may include determining a sub-interval in the first preset interval where the first remaining electric quantity is located, so as to determine that the charging policy is a charging policy corresponding to the sub-interval.
For example, the preset charge condition may be that the first remaining charge is less than 50%. When the first remaining capacity is less than 50%, the remaining capacity of the first battery is considered to be small, and at this time, the first battery needs to be charged; and further, whether the first residual capacity is less than 30% can be judged; if the first remaining capacity is less than 30%, only the first battery may be charged, and if the first remaining capacity is not less than 30% but less than 50%, the first battery and the second battery may be charged at the same time.
Optionally, the determining whether the first remaining power meets a preset power condition includes:
judging whether the first residual electric quantity is smaller than a first preset threshold value or not;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
and if the first residual electric quantity is smaller than a first preset threshold value, charging the first battery.
In this embodiment of the application, the first preset threshold may be preset by a user. And if the first residual electric quantity is smaller than a first preset threshold value, the electric quantity of the first battery is considered to be lower, and then the first battery is charged. Since the preset charging performance of the first battery is better than that of the second battery, generally, the charging speed of the first battery can be faster, and thus, at this time, the first battery can be charged quickly by charging the first battery without charging the second battery.
Optionally, the charging method further includes:
acquiring a second residual capacity of the second battery;
the judging whether the first remaining capacity meets a preset capacity condition includes:
judging whether the first residual electric quantity is smaller than a second preset threshold value and not smaller than a first preset threshold value;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
and if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first residual capacity and the second residual capacity.
Generally, the second remaining capacity may be represented by a percentage, that is, the second remaining capacity may be a percentage of a currently remaining capacity value of the second battery to a total capacity of the second battery. Of course, the second remaining capacity may be represented in other manners. The second remaining capacity may be represented in the same manner as the first remaining capacity.
In this embodiment of the application, the second preset threshold may be preset by a user. If the first remaining capacity is smaller than a second preset threshold and not smaller than a first preset threshold, the first battery and the second battery can be charged at the same time. For example, the charging parameters of the first battery and the second battery may be determined according to the change of the electric quantity of the first battery and the second battery.
Optionally, if the first remaining capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first remaining capacity and the second remaining capacity, including:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery, adjusting the charging parameter of the first battery according to the variation condition of the first residual capacity so that the charging speed of the first battery is reduced along with the increase of the first residual capacity, and adjusting the charging parameter of the second battery according to the variation condition of the second residual capacity so that the charging speed of the second battery is increased along with the increase of the second residual capacity when the second residual capacity is smaller than a third preset threshold.
In the embodiment of the present application, the charging speed of the first battery and the second battery may be adjusted by adjusting charging parameters such as charging current and charging voltage of the first battery and the second battery. The first battery has a preset charging performance superior to that of the second battery, so that the first battery can be charged to near the maximum charge in a short time. And when the first residual capacity of the first battery is greater than the first preset threshold value, the charging speed of the first battery can be gradually reduced, so that when the first residual capacity of the first battery is close to the highest capacity, the charging speed of the first battery is reduced, and the first battery can be safely and stably charged to the highest capacity. In the process, the corresponding wired charger or wireless charger can gradually increase the charging rate of the second battery until the second remaining capacity of the second battery reaches a third preset threshold, so that resources are reasonably distributed, and the first battery and the second battery are rapidly charged in different charging stages.
In the embodiment of the application, the charging strategies of the first battery and the second battery can be determined based on the first remaining capacity, and at this time, the required judgment parameters are less, and the calculation amount is less, so that the charging strategies can be determined quickly. Meanwhile, the charging strategy is determined based on the first residual capacity, and the superiority of the performance of the first battery is fully considered, so that the terminal equipment can more reasonably allocate charging resources for different scenes.
Optionally, in an embodiment, the charging method may further include the following steps:
step 201, if the first remaining power does not meet a preset power condition, determining whether the second remaining power is smaller than a fourth preset threshold.
In this embodiment, if the second remaining power is less than a first preset threshold, the power of the second battery may be considered to be low. The fourth preset threshold is set by a user according to the performance of the second battery, the use condition of the terminal device and the like.
Step 202, if the second remaining capacity is smaller than the fourth preset threshold, charging the second battery.
If the first remaining capacity does not meet the preset capacity condition, and the second remaining capacity is smaller than the fourth preset threshold, at this time, the capacity of the first battery may be higher than the specified threshold, and at this time, only the second battery is charged, so that the charging efficiency of the second battery can be improved, and the use of the terminal device can be maintained through the first battery.
Step 203, if the second remaining capacity is not less than the fourth preset threshold, simultaneously charging the first battery and the second battery.
If first residual capacity is not conform to and predetermines the electric quantity condition, just second residual capacity is not less than the fourth threshold value of predetermineeing, can be right simultaneously first battery with the second battery charges, makes first battery with the second battery homoenergetic charges in time, and subsequent use of being convenient for, and has avoided too tending to the charge-discharge to first battery, thereby can balance first battery with the life of second battery.
The charging method in the embodiment of the application can be applied to terminal equipment, the terminal equipment comprises a first battery and a second battery, the preset charging performance of the first battery is superior to that of the second battery, so that the terminal equipment can be charged by adopting a plurality of batteries with different performance parameters, the first battery with the better preset charging performance can ensure the power supply performance, and the second battery can reduce the cost of the equipment. In addition, in the embodiment of the application, if the terminal device is detected to be in the charging state, the first remaining capacity of the first battery is acquired; judging whether the first residual electric quantity meets a preset electric quantity condition or not; and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition. At the moment, whether the first residual electric quantity meets the preset electric quantity condition or not is judged, the charging strategy can be quickly determined by considering the charging performance of the battery based on the requirements of different occasions, so that the charging process is more targeted, and charging resources during charging of a plurality of batteries can be reasonably distributed. The scheme of the embodiment of the application is simple and easy to implement, and has strong usability and practicability.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
Fig. 3 is a schematic structural diagram of the charging device provided in the embodiment of the present application, and for convenience of description, only the portions related to the embodiment of the present application are shown. The charging device may be used in various terminals having a data processing function, such as a notebook Computer, a Pocket Computer (PPC), a Personal Digital Assistant (PDA), and the like, and may be a software unit, a hardware unit, a software and hardware combination unit, and the like, which are built in the terminals. The charging apparatus 300 may be applied to a terminal device including a first battery and a second battery, the first battery having a preset charging performance superior to the second battery.
The charging device 300 in the embodiment of the present application includes:
an obtaining module 301, configured to obtain a first remaining power of the first battery if it is detected that the terminal device is in a charging state;
a determining module 302, configured to determine whether the first remaining power meets a preset power condition;
the charging module 303 is configured to determine a charging policy for the first battery and the second battery according to a preset electric quantity condition if the first remaining electric quantity meets the preset electric quantity condition.
Optionally, the determining module 302 is specifically configured to:
judging whether the first residual electric quantity is smaller than a first preset threshold value or not;
the charging module 303 is specifically configured to:
and if the first residual electric quantity is smaller than a first preset threshold value, charging the first battery.
Optionally, the charging device 300 further includes:
the second obtaining module is used for obtaining a second residual electric quantity of the second battery;
the determining module 302 is specifically configured to:
judging whether the first residual electric quantity is smaller than a second preset threshold value and not smaller than a first preset threshold value;
the charging module 303 is specifically configured to:
and if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first residual capacity and the second residual capacity.
Optionally, the charging module 303 is specifically configured to:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery, adjusting the charging parameter of the first battery according to the variation condition of the first residual capacity so that the charging speed of the first battery is reduced along with the increase of the first residual capacity, and adjusting the charging parameter of the second battery according to the variation condition of the second residual capacity so that the charging speed of the second battery is increased along with the increase of the second residual capacity when the second residual capacity is smaller than a third preset threshold.
Optionally, the charging device 300 further includes:
the second judgment module is used for judging whether the second residual electric quantity is smaller than a fourth preset threshold value or not if the first residual electric quantity does not accord with a preset electric quantity condition;
the second charging module is used for charging the second battery if the second remaining electric quantity is smaller than the fourth preset threshold;
and the third charging module is used for simultaneously charging the first battery and the second battery if the second remaining capacity is not less than the fourth preset threshold.
Optionally, the first battery is a graphene battery, and the second battery is a lithium battery.
The charging device in the embodiment of the application can be applied to terminal equipment, the terminal equipment comprises a first battery and a second battery, the preset charging performance of the first battery is superior to that of the second battery, so that the terminal equipment can be charged by adopting a plurality of batteries with different performance parameters, the first battery with the better preset charging performance can ensure the power supply performance, and the second battery can reduce the cost of the equipment. In addition, in the embodiment of the application, if the terminal device is detected to be in the charging state, the first remaining capacity of the first battery is acquired; judging whether the first residual electric quantity meets a preset electric quantity condition or not; and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition. At the moment, whether the first residual electric quantity meets the preset electric quantity condition or not is judged, the charging strategy can be quickly determined by considering the charging performance of the battery based on the requirements of different occasions, so that the charging process is more targeted, and charging resources during charging of a plurality of batteries can be reasonably distributed. The scheme of the embodiment of the application is simple and easy to implement, and has strong usability and practicability.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Example four
In a fourth embodiment of the present application, a terminal device is provided, please refer to fig. 4, where the terminal device in the embodiment of the present application includes: a first battery 406, a second battery 407, a memory 401, one or more processors 402 (only one shown in fig. 4) and computer programs stored on memory 401 and executable on the processors. Wherein: the memory 401 is used to store software programs and modules, and the processor 402 executes various functional applications and data processing by operating the software programs and units stored in the memory 401. The preset charging performance of the first battery is better than that of the second battery, and the arrangement mode of the first battery and the second battery in the terminal device can be determined according to actual needs, for example, the first battery may be connected with the second battery, or may be respectively arranged on different components of the terminal device. The first battery and the second battery can be charged through the same charging mode and charging interface, and can also be charged through different charging modes or charging interfaces. The first battery and the second battery may respectively supply power to all or part of components in the terminal device. It should be noted that the terminal device may further include another battery, and the number of the first battery and the number of the second battery may be one or more than one. The types of the first battery and the second battery may also be various. For example, the first battery and the second battery may each be one of a graphene battery, a cadmium nickel battery, a nickel hydrogen battery, a lithium ion battery, a lead acid battery, and the like. The types of the first battery and the second battery may be set according to actual preset charging performance, application scenarios, and the like.
Specifically, the processor 402, by running the above-mentioned computer program stored in the memory 401, implements the steps of:
if the terminal equipment is detected to be in a charging state, acquiring a first residual electric quantity of the first battery;
judging whether the first residual electric quantity meets a preset electric quantity condition or not;
and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition.
Assuming that the foregoing is the first possible implementation manner, in a second possible implementation manner provided on the basis of the foregoing first possible implementation manner, when the processor 402 runs the foregoing computer program stored in the memory 401, the determining whether the first remaining power meets the preset power condition includes:
judging whether the first residual electric quantity is smaller than a first preset threshold value or not;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
and if the first residual electric quantity is smaller than a first preset threshold value, charging the first battery.
In a third possible implementation manner provided on the basis of the second possible implementation manner, the processor 402 further implements the following steps when executing the computer program stored in the memory 401:
acquiring a second residual capacity of the second battery;
correspondingly, the judging whether the first remaining power meets the preset power condition includes:
judging whether the first residual electric quantity is smaller than a second preset threshold value and not smaller than a first preset threshold value;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
and if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first residual capacity and the second residual capacity.
In a fourth possible implementation manner provided on the basis of the third possible implementation manner, when the processor 402 runs the above computer program stored in the memory 401, if the first remaining capacity is smaller than a second preset threshold and not smaller than a first preset threshold, the charging the first battery and the second battery simultaneously according to the first remaining capacity and the second remaining capacity includes:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery, adjusting the charging parameter of the first battery according to the variation condition of the first residual capacity so that the charging speed of the first battery is reduced along with the increase of the first residual capacity, and adjusting the charging parameter of the second battery according to the variation condition of the second residual capacity so that the charging speed of the second battery is increased along with the increase of the second residual capacity when the second residual capacity is smaller than a third preset threshold.
In a fifth possible implementation manner provided as a basis for the third possible implementation manner, the processor 402 further implements the following steps when executing the computer program stored in the memory 401:
if the first residual electric quantity does not accord with a preset electric quantity condition, judging whether the second residual electric quantity is smaller than a fourth preset threshold value;
if the second remaining capacity is smaller than the fourth preset threshold, charging the second battery;
and if the second residual electric quantity is not less than the fourth preset threshold value, simultaneously charging the first battery and the second battery.
In a sixth possible implementation manner, which is provided based on the first possible implementation manner, or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, or the fifth possible implementation manner, when the processor 402 runs the computer program stored in the memory 401, the first battery is a graphene battery, and the second battery is a lithium battery.
In the embodiment of the application, the terminal equipment comprises a first battery and a second battery, the preset charging performance of the first battery is superior to that of the second battery, so that the terminal equipment can be charged by adopting a plurality of batteries with different performance parameters, the first battery with better preset charging performance can ensure the power supply performance, and the second battery can reduce the cost of the equipment. In addition, in the embodiment of the application, if the terminal device is detected to be in the charging state, the first remaining capacity of the first battery is acquired; judging whether the first residual electric quantity meets a preset electric quantity condition or not; and if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition. At the moment, whether the first residual electric quantity meets the preset electric quantity condition or not is judged, the charging strategy can be quickly determined by considering the charging performance of the battery based on the requirements of different occasions, so that the charging process is more targeted, and charging resources during charging of a plurality of batteries can be reasonably distributed. The scheme of the embodiment of the application is simple and easy to implement, and has strong usability and practicability.
Further, as shown in fig. 4, the terminal device may further include: one or more input devices 403 (only one shown in fig. 4) and one or more output devices 404 (only one shown in fig. 4). The memory 401, processor 402, input device 403, and output device 404 are connected by a bus 405.
It should be understood that in the embodiments of the present Application, the Processor 402 may be a Central Processing Unit (CPU), and the Processor may be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 403 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of a fingerprint), a microphone, a camera, etc., and the output device 404 may include a display, a speaker, etc.
Memory 401 may include both read-only memory and random-access memory, and provides instructions and data to processor 402. Some or all of memory 401 may also include non-volatile random access memory. For example, the memory 401 may also store device type information.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of external device software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated units, modules, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer readable Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable storage medium may contain content that is subject to appropriate increase or decrease according to the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable storage media does not include electrical carrier signals and telecommunication signals according to legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (5)

1. A charging method is applied to a terminal device, the terminal device comprises a first battery and a second battery, the preset charging performance of the first battery is better than that of the second battery, and the charging method comprises the following steps:
if the terminal equipment is detected to be in a charging state, acquiring a first residual electric quantity of the first battery;
judging whether the first residual electric quantity meets a preset electric quantity condition or not;
if the first residual electric quantity meets a preset electric quantity condition, determining a charging strategy for the first battery and the second battery according to the preset electric quantity condition;
the charging method further comprises:
acquiring a second residual capacity of the second battery; wherein the second remaining capacity is represented by a percentage;
the judging whether the first remaining capacity meets a preset capacity condition includes:
judging whether the first residual electric quantity is smaller than a second preset threshold value and not smaller than a first preset threshold value;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first residual capacity and the second residual capacity;
if the first remaining capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first remaining capacity and the second remaining capacity, including:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery, adjusting the charging parameter of the first battery according to the variation condition of the first residual capacity so that the charging speed of the first battery is reduced along with the increase of the first residual capacity, and adjusting the charging parameter of the second battery according to the variation condition of the second residual capacity so that the charging speed of the second battery is increased along with the increase of the second residual capacity when the second residual capacity is smaller than a third preset threshold; wherein the charging parameters comprise a charging current and a charging voltage;
the judging whether the first remaining capacity meets a preset capacity condition includes:
judging whether the first residual electric quantity is smaller than a first preset threshold value or not;
if the first remaining power meets a preset power condition, determining a charging strategy for the first battery and the second battery according to the preset power condition, including:
if the first residual electric quantity is smaller than a first preset threshold value, charging the first battery;
the first battery is a graphene battery, and the second battery is a lithium battery.
2. The charging method according to claim 1, further comprising:
if the first residual electric quantity does not accord with a preset electric quantity condition, judging whether the second residual electric quantity is smaller than a fourth preset threshold value;
if the second remaining capacity is smaller than the fourth preset threshold, charging the second battery;
and if the second residual electric quantity is not less than the fourth preset threshold value, simultaneously charging the first battery and the second battery.
3. A charging apparatus, applied to a terminal device including a first battery and a second battery, the first battery having a preset charging performance superior to that of the second battery, the charging apparatus comprising:
the acquisition module is used for acquiring a first residual electric quantity of the first battery if the terminal equipment is detected to be in a charging state;
the judging module is used for judging whether the first residual electric quantity meets a preset electric quantity condition or not;
the charging module is used for determining a charging strategy for the first battery and the second battery according to a preset electric quantity condition if the first residual electric quantity meets the preset electric quantity condition;
the second obtaining module is used for obtaining a second residual electric quantity of the second battery; wherein the second remaining capacity is represented by a percentage;
the judgment module is specifically configured to:
judging whether the first residual electric quantity is smaller than a second preset threshold value and not smaller than a first preset threshold value;
the charging module is specifically configured to:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery according to the first residual capacity and the second residual capacity;
the charging module is specifically configured to:
if the first residual capacity is smaller than a second preset threshold and not smaller than a first preset threshold, simultaneously charging the first battery and the second battery, adjusting the charging parameter of the first battery according to the variation condition of the first residual capacity so that the charging speed of the first battery is reduced along with the increase of the first residual capacity, and adjusting the charging parameter of the second battery according to the variation condition of the second residual capacity so that the charging speed of the second battery is increased along with the increase of the second residual capacity when the second residual capacity is smaller than a third preset threshold; wherein the charging parameters comprise a charging current and a charging voltage;
the judgment module is specifically configured to:
judging whether the first residual electric quantity is smaller than a first preset threshold value or not;
the charging module is specifically configured to:
if the first residual electric quantity is smaller than a first preset threshold value, charging the first battery;
the first battery is a graphene battery, and the second battery is a lithium battery.
4. A terminal device comprising a first battery, a second battery, a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the first battery has a preset charging performance superior to the second battery, the processor implementing the steps of the charging method according to claim 1 or 2 when executing the computer program.
5. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the charging method according to claim 1 or 2.
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 CN110336355A (en) 2019-10-15
CN110336355B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852143B (en) * 2020-06-28 2024-08-13 北京小米移动软件有限公司 Electric energy management method and device and storage medium
CN111988549B (en) * 2020-07-21 2022-09-09 深圳市金锐显数码科技有限公司 Television USB seat power supply method and device
CN113872293A (en) * 2021-10-08 2021-12-31 珠海格力电器股份有限公司 Energy storage system charging and discharging control method, device and equipment and energy storage system

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104505890B (en) * 2014-12-24 2017-02-01 广东欧珀移动通信有限公司 Mobile terminal

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN110336355A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN110336355B (en) Charging method, charging device and terminal equipment
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
US10720791B2 (en) Charging method, charging device and terminal
EP3518380B1 (en) Electronic device including battery and method of controlling charging thereof
WO2021212802A1 (en) Charging method and system, charging case, bluetooth earphones
US10305301B2 (en) Battery and electronic device thereof
CN106992326B (en) Charging control method and device and electronic equipment
CN110265739B (en) Battery management method, system, terminal device and storage medium
CN111404228B (en) Terminal battery charging method and device, terminal battery charging equipment and storage medium
WO2022218046A1 (en) Battery charging method and electronic device
KR20130083116A (en) Recharging control system and method for battery of electronic device
JP2022511146A (en) Battery charging method, battery charging device and storage medium
CN106063072A (en) Terminal
CN110350619B (en) Charging control method, device, terminal and storage medium
CN113472037A (en) Battery pack balancing method, battery pack balancing device and battery management system
CN110365084B (en) Charging control method, device, terminal and storage medium
CN110308780B (en) Battery management method, system, terminal device and storage medium
CN111969168B (en) Battery pack and electronic device
CN115395621A (en) Emergency energy storage battery electric energy management method, device, equipment and medium
CN110767946A (en) Method and device for controlling discharging of mobile terminal and mobile terminal
CN109643831A (en) Portable electronic device with addressable charge indicator
CN112234683A (en) Charging control method of electronic equipment and electronic equipment
CN111293748A (en) Method and device for monitoring electric quantity data
CN101739111A (en) Computer with lithium battery charging system
CN110676521B (en) Battery management method, device, storage medium 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