CN113937849A - Intelligent terminal, charging and discharging method, equipment and medium - Google Patents

Intelligent terminal, charging and discharging method, equipment and medium Download PDF

Info

Publication number
CN113937849A
CN113937849A CN202111140611.2A CN202111140611A CN113937849A CN 113937849 A CN113937849 A CN 113937849A CN 202111140611 A CN202111140611 A CN 202111140611A CN 113937849 A CN113937849 A CN 113937849A
Authority
CN
China
Prior art keywords
battery
electric quantity
charging
smaller
capacity
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.)
Pending
Application number
CN202111140611.2A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202111140611.2A priority Critical patent/CN113937849A/en
Publication of CN113937849A publication Critical patent/CN113937849A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • 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/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • 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/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/342The other DC source being a battery actively interacting with the first one, i.e. battery to battery charging

Landscapes

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

Abstract

The application discloses an intelligent terminal, a charging method, a discharging method, equipment and a medium, because in the application, the intelligent terminal comprises a first battery and a second battery, compared with a battery, the frequent charging of the battery by a user is avoided, and the first battery can be determined to be charged or the second battery can be charged according to the comparison result between the first residual capacity of the first battery and the second residual capacity of the second battery and the comparison result between the first residual capacity and the second residual capacity and the preset capacity threshold value respectively, so that different batteries can be charged according to different conditions, a certain protection effect is played on the batteries, the service life of the batteries can be effectively prolonged, and the user experience is improved.

Description

Intelligent terminal, charging and discharging method, equipment and medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to an intelligent terminal, a charging and discharging method, equipment and a medium.
Background
Along with the rapid development of intelligent terminals, the intelligent terminals become an indispensable part of people in daily life. In the correlation technique, a battery is installed in the intelligent terminal, the battery installed in the intelligent terminal is directly charged through a Type-C or magnetic attraction passage, and the normal operation of the intelligent terminal is ensured based on the discharge of the battery installed in the intelligent terminal.
However, as people frequently use the intelligent terminal and more application programs are installed in the intelligent terminal, the electric quantity of the battery is consumed more and more quickly, so that a user needs to frequently charge the battery, the service life of the battery is shortened due to too frequent charging and discharging, and the user experience is influenced.
Disclosure of Invention
The application provides an intelligent terminal, a charging and discharging method, equipment and a medium, which are used for solving the problems that in the prior art, along with frequent use of the intelligent terminal and increase of power consumption of an application program, a user needs to frequently charge a battery, the service life of the battery is further reduced, and user experience is influenced.
In a first aspect, the present application provides an intelligent terminal, which includes: a first battery, a second battery and a processor;
the processor is used for obtaining a first residual capacity of the first battery and a second residual capacity of the second battery; if the first residual electric quantity or the second residual electric quantity is determined to be smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, the first battery is controlled to be charged, and if the second residual electric quantity or the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, the second battery is controlled to be charged.
In a second aspect, the present application further provides an intelligent terminal, where the intelligent terminal includes: a first battery, a second battery and a processor;
the processor is used for obtaining a first residual capacity of the first battery and a second residual capacity of the second battery; and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
In a third aspect, the present application further provides a charging method, including:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
if the first residual electric quantity or the second residual electric quantity is determined to be smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, the first battery is controlled to be charged, and if the second residual electric quantity or the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, the second battery is controlled to be charged.
In a fourth aspect, the present application further provides a discharge method, including:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
In a fifth aspect, the present application further provides an electronic device comprising a processor and a memory, the memory being configured to store program instructions, and the processor being configured to implement the steps of the charging method described above when executing a computer program stored in the memory.
In a sixth aspect, the present application further provides an electronic device comprising a processor and a memory, the memory being configured to store program instructions, the processor being configured to implement the steps of the above-mentioned discharging method when executing a computer program stored in the memory.
In a seventh aspect, the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the charging method described above.
In an eighth aspect, the present application further provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of the above-mentioned discharging method.
In the application, a first residual capacity of a first battery and a second residual capacity of a second battery are obtained; if the first remaining capacity or the second remaining capacity is determined to be smaller than a preset capacity threshold, or the first remaining capacity is greater than the preset capacity threshold and smaller than the second remaining capacity, the first battery is controlled to be charged, and if the second remaining capacity or the first remaining capacity is determined to be smaller than the preset capacity threshold, or the second remaining capacity is greater than the preset capacity threshold and smaller than the first remaining capacity, the second battery is controlled to be charged. Because in this application, including first battery and second battery in the intelligent terminal, compare with a battery, avoided the user to charge the battery frequently, and can be according to the comparison result between the first residual capacity of this first battery and the second residual capacity of second battery, and first residual capacity and second residual capacity respectively with the comparison result of predetermined electric quantity threshold value, confirm to charge first battery or charge the second battery, thereby charge different batteries according to the condition of difference, play certain guard action to the battery, can effectual improvement battery's life, and improve user's experience.
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 description of the embodiments will be briefly introduced 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 based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of an intelligent terminal according to some embodiments of the present application;
fig. 2 is a schematic structural diagram of an intelligent terminal according to some embodiments of the present application;
fig. 3 is a schematic diagram of an internal structure of an intelligent terminal according to some embodiments of the present application;
FIG. 4 is a schematic flow chart of Type-C based charging provided by some embodiments of the present application;
fig. 5 is a schematic flow chart of a seat based charging according to some embodiments of the present disclosure;
FIG. 6 is a schematic flow chart of an electrical discharge provided by some embodiments of the present application;
FIG. 7 is a schematic diagram of a process for determining whether a battery condition is abnormal according to some embodiments of the present disclosure;
fig. 8 is a process diagram of a charging method according to some embodiments of the present disclosure;
FIG. 9 is a process diagram of a discharge method provided in some embodiments of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to some embodiments of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to some embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the application, a first residual capacity of a first battery and a second residual capacity of a second battery are obtained; if the first remaining capacity or the second remaining capacity is determined to be smaller than a preset capacity threshold, or the first remaining capacity is greater than the preset capacity threshold and smaller than the second remaining capacity, the first battery is controlled to be charged, and if the second remaining capacity or the first remaining capacity is determined to be smaller than the preset capacity threshold, or the second remaining capacity is greater than the preset capacity threshold and smaller than the first remaining capacity, the second battery is controlled to be charged. Because in this application, including first battery and second battery in the intelligent terminal, compare with a battery, avoided the user to charge the battery frequently, and can be according to the comparison result between the first residual capacity of this first battery and the second residual capacity of second battery, and first residual capacity and second residual capacity respectively with the comparison result of predetermined electric quantity threshold value, confirm to charge first battery or charge the second battery, thereby charge different batteries according to the condition of difference, play certain guard action to the battery, can effectual improvement battery's life, and improve user's experience.
In order to avoid frequent charging of a battery by a user and prolong the service life of the battery, the embodiment of the application provides an intelligent terminal, a charging and discharging method, equipment and a medium.
Example 1:
fig. 1 is a schematic structural diagram of an intelligent terminal according to some embodiments of the present application, where the intelligent terminal envelopes: a first battery 101, a second battery 102, and a processor 103;
the processor 103 is configured to obtain a first remaining capacity of the first battery 101 and a second remaining capacity of the second battery 102; if it is determined that the first remaining power or the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, the first battery 101 is controlled to be charged, and if it is determined that the second remaining power or the first remaining power is less than the preset power threshold, or the second remaining power is greater than the preset power threshold and less than the first remaining power, the second battery 102 is controlled to be charged.
In order to avoid the problem that the battery is frequently charged due to frequent use of the intelligent terminal or large power consumption of an application program, the intelligent terminal comprises two batteries, namely a first battery and a second battery.
When two batteries in the intelligent terminal are charged, in order to protect the batteries included in the intelligent terminal, which battery of the first battery and the second battery is to be charged may be determined according to a first remaining capacity of the first battery and a second remaining capacity of the second battery. The first remaining capacity and the second remaining capacity may be specific electric quantity values, or may be a ratio of remaining electric quantity values of the first battery and the second battery to a total electric quantity value when the corresponding battery is fully charged, for example, 50%, 80%, or the like. Since the total charge of the battery is different, for convenience of comparison, the remaining charge can be represented by a ratio of the remaining charge to the total charge when the battery is fully charged. Therefore, the battery with low residual capacity in the first battery and the second battery can be determined according to the first residual capacity of the first battery and the second residual capacity of the second battery, and the battery with low residual capacity is charged first. Wherein, can charge based on Type-C when charging the battery, can also charge based on the seat.
Specifically, in the present application, after obtaining the first remaining capacity of the first battery and the second remaining capacity of the second battery, which battery is to be charged may be determined according to a comparison result between the first remaining capacity of the first battery or the second remaining capacity of the second battery and a preset capacity threshold, and a comparison result between the first remaining capacity and the second remaining capacity. Specifically, if a first remaining capacity of the first battery is smaller than a preset capacity threshold, or a second remaining capacity of the second battery is smaller than a preset capacity threshold, or the first remaining capacity is greater than the preset capacity threshold and smaller than the second remaining capacity, the first battery is controlled to be charged; and if the second residual electric quantity is smaller than the preset electric quantity threshold value, or the first residual electric quantity is smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, controlling the second battery to be charged. The preset power threshold is used for measuring whether the remaining power of the battery is too low, and the preset power threshold may be 5%, 7%, and the like.
In the application, the first residual capacity of the first battery and the second residual capacity of the second battery can be determined in real time, the first residual capacity and the second residual capacity are compared, and which battery is charged is determined in real time according to the comparison result of the first residual capacity and the second residual capacity. In order to reduce the workload of the processor, corresponding electric quantity ranges can be divided in advance for the electric quantity of the battery, and each electric quantity range is provided with a corresponding stage, wherein the higher the number of stages is, the more the corresponding residual electric quantity is.
In the process of determining which battery is to be charged, the magnitude of the stage corresponding to the electric quantity of the first battery and the magnitude of the stage corresponding to the electric quantity of the second battery may be compared first, and if the stage corresponding to the first battery is smaller than the stage corresponding to the electric quantity of the second battery, it indicates that the first remaining electric quantity of the first battery is smaller than the second remaining electric quantity of the second battery, and the first battery is controlled to be charged; if the stage corresponding to the electric quantity of the first battery is larger than the stage corresponding to the electric quantity of the second battery, the first residual electric quantity of the first battery is more than the second residual electric quantity of the second battery, and the second battery is controlled to be charged; if the stage corresponding to the electric quantity of the first battery is the same as the stage corresponding to the electric quantity of the second battery, comparing the first residual electric quantity with the second residual electric quantity, and controlling to charge the battery with the small residual electric quantity according to the battery with the small residual electric quantity in the first residual electric quantity and the second residual electric quantity.
In the present application, since the stage corresponding to each electric power range is preset, and if the stage corresponding to the electric power of one battery is higher than the stage corresponding to the electric power of the other battery, when the battery in the stage is charged, the battery in the stage is determined to have a lower remaining electric power than the battery in the other stage as long as the stage corresponding to the electric power of the battery in the stage is not changed, and therefore, in order to reduce the workload of the processor, the stages corresponding to the electric powers of the two batteries may be re-compared each time the stage corresponding to the electric power of the battery to be charged is changed, and the remaining electric powers of the two batteries may be determined, so as to determine which battery to be charged later.
For example, the method is divided into four stages, namely stage 0, stage 1, stage 2 and stage 3, wherein the range of the electric quantity corresponding to stage 0 is 2% -5%, the range of the electric quantity corresponding to stage 1 is 6% -35%, the range of the electric quantity corresponding to stage 2 is 36% -70%, and the range of the electric quantity corresponding to stage 3 is 71% -100%. If the first remaining capacity of the first battery is 60% at this time, the second remaining capacity of the second battery is 30% at this time, the second remaining capacity of the first battery is 5% at stage 1, and the preset capacity threshold is 5%, the second battery is controlled to be charged because the current first remaining capacity is greater than the second remaining capacity, and the second remaining capacity is not less than the preset capacity threshold. After the second battery is charged for a period of time, the stage corresponding to the electric quantity of the second battery is changed from stage 1 to stage 2, that is, when the second remaining electric quantity of the second battery is charged to 36%, because the second remaining electric quantity is still smaller than the first remaining electric quantity at this time, the second battery is continuously charged, the first battery is not charged, and after the second battery is charged for a period of time, the stage corresponding to the electric quantity of the second battery is changed from stage 2 to stage 3, that is, the second battery is charged to 71%, because the second remaining electric quantity is larger than the first remaining electric quantity at this time, the first battery is charged, and the second battery is stopped to be charged until the electric quantities of the two batteries are fully charged.
Example 2:
in order to determine the first remaining capacity of the first battery and the second remaining capacity of the second battery, on the basis of the above embodiments, in this application, the intelligent terminal further includes: a first electricity meter 104 and a second electricity meter 105, the first electricity meter 104 being connected to the first battery 101, the second electricity meter 105 being connected to the second battery 102;
the first electricity meter 104 is configured to measure a first remaining electricity quantity of the first battery 101;
the second electricity meter 105, configured to measure a second remaining electricity quantity of the second battery 102;
the processor 103 is specifically configured to obtain the first remaining capacity measured by the first electricity meter 104 and the second remaining capacity measured by the second electricity meter 105.
In this application, in order to enable the processor to determine whether to charge the first battery or the second battery according to the first remaining capacity of the first battery and the second remaining capacity of the second battery, the intelligent terminal includes two fuel gauges, namely a first fuel gauge and a second fuel gauge, respectively, the first fuel gauge is connected to the first battery and is used for measuring the first remaining capacity of the first battery, and the second fuel gauge is connected to the second battery and is used for measuring the second remaining capacity of the second battery. The processor obtains a first remaining capacity measured by the first electricity meter and a second remaining capacity measured by the second electricity meter.
Example 3:
in order to protect the first battery, in the embodiments, the processor is specifically configured to control to trickle charge the first battery if it is determined that the first remaining power is less than a preset power threshold.
In the present application, if the processor determines that the first remaining capacity is smaller than the preset capacity threshold, it indicates that the first remaining capacity of the first battery is too low, and in order to protect the first battery, the processor may charge the first battery with a relatively small current, that is, control the trickle charge of the first battery, where the current for performing the trickle charge is generally several tens of milliamperes or several hundreds of milliamperes.
In order to realize the trickle charge of the first battery, in addition to the above embodiments, the present application provides that the smart terminal further includes: a first switching unit 106 and a first charging chip 107, wherein the first switching unit 106 is connected with the first charging chip 107;
the processor is specifically configured to control the first switch unit to be connected to enable the first charging chip to perform trickle charging on the first battery if it is determined that the first remaining power is less than the preset power threshold.
In order to ensure that the first battery of the intelligent terminal can be trickle-charged, the intelligent terminal further comprises: the first switch unit is connected with the first charging chip and connected with the first battery, the first switch unit is used for connecting or disconnecting a circuit, and the first charging chip is used for charging the first battery at a set first charging current under the control of the processor. Wherein the set first charging current is several tens milliamperes or several hundreds milliamperes. Therefore, when the first residual electric quantity of the first battery is determined to be smaller than the preset electric quantity threshold value, the first switch unit is controlled to be connected, and the first charging chip is enabled to conduct trickle charging on the first battery.
In order to charge the first battery, on the basis of the foregoing embodiments, in this application, the processor is specifically configured to perform fast charge on the first battery if the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power.
In the present application, if the second remaining capacity of the second battery is less than the preset capacity threshold, it means that the second remaining capacity of the second battery is too low, and therefore, the second battery may be trickle-charged in order to ensure the safety of the second battery. In order to improve the charging efficiency, and the second battery is charged with a low and safe current in the charging process, the first battery can be quickly charged while the second battery is trickle-charged, that is, if the second remaining capacity is smaller than a preset capacity threshold, the first battery is quickly charged.
If the first remaining capacity of the first battery is greater than the preset capacity threshold and less than the second remaining capacity, it indicates that neither the first battery nor the second battery is particularly low, and therefore, the battery with low remaining capacity of the first battery or the second battery can be directly and quickly charged, that is, the first battery is quickly charged.
In order to realize the fast charging of the first battery, on the basis of the foregoing embodiments, in this application, the intelligent terminal 101 further includes: a second switch unit 108 and a second charging chip 109, wherein the second switch unit 108 is connected with the second charging chip 109;
the processor 103 is specifically configured to control the second switch unit 108 to be connected if the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, so that the second charging chip 109 performs fast charging on the first battery 101.
In this application, in order to guarantee that the first battery of this intelligent terminal can carry out the quick charge, still include in this intelligent terminal: the second switch unit is connected with the second charging chip and connected with the first battery, the second switch unit is used for connecting or disconnecting a circuit, and the second charging chip is used for charging the first battery with a set second charging current under the control of the processor. The set second charging current is 3A if the charging is performed based on Type-C, and is 2A if the charging is performed based on seat charging. Therefore, when it is determined that the second remaining capacity of the second battery is smaller than the preset capacity threshold, or the first remaining capacity is larger than the preset capacity threshold and smaller than the second remaining capacity, the second switch unit is controlled to be connected, so that the second charging chip performs quick charging on the first battery.
Example 4:
in order to protect the second battery, in the embodiments, the processor is specifically configured to control trickle charging of the second battery if it is determined that the second remaining power is less than the preset power threshold.
In the present application, if the processor determines that the second remaining capacity is smaller than the preset capacity threshold, it indicates that the second remaining capacity of the second battery is too low, and in order to protect the second battery, the processor may charge the second battery with a relatively small current, that is, control the trickle charge of the second battery, where the current for performing the trickle charge is generally several tens of milliamperes or several hundreds of milliamperes.
In order to realize the trickle charge of the second battery, in addition to the above embodiments, the present application provides that the smart terminal further includes: a third switching unit 110 and a third charging chip 111, wherein the third switching unit 110 is connected with the third charging chip 111;
the processor 103 is specifically configured to control the third switch unit 110 to be connected to enable the third charging chip 111 to perform trickle charging on the second battery 102 if it is determined that the second remaining power is less than the preset power threshold.
In this application, in order to ensure that the second battery of the intelligent terminal can be trickle-charged, the intelligent terminal further includes: the third switching unit is connected with the third charging chip and connected with the second battery, the third switching unit is used for connecting or disconnecting the circuit, and the third charging chip is used for charging the second battery with a set third charging current under the control of the processor. Wherein the set third charging current is several tens milliamperes or several hundreds milliamperes. Therefore, when the second remaining capacity of the second battery is determined to be smaller than the preset capacity threshold, the third switch unit is controlled to be connected, so that the third charging chip performs trickle charging on the second battery.
In order to perform fast charging on the second battery, on the basis of the foregoing embodiments, in this application, the processor 103 is specifically configured to perform fast charging on the second battery 102 if the first remaining capacity is smaller than the preset capacity threshold, or the second remaining capacity is larger than the preset capacity threshold and smaller than the first remaining capacity.
In the present application, if the first remaining capacity of the first battery is less than the preset capacity threshold, it indicates that the first remaining capacity of the first battery is too low, and therefore, the first battery may be trickle-charged in order to ensure the safety of the first battery. In order to improve the charging efficiency, and the first battery is charged with a low and safe current in the charging process, the second battery can be quickly charged while the first battery is trickle-charged, that is, if the first remaining capacity is smaller than a preset capacity threshold, the second battery is quickly charged.
If the second remaining capacity of the second battery is greater than the preset capacity threshold and less than the first remaining capacity, it indicates that neither the first battery nor the second battery is particularly low, and therefore, the battery with low remaining capacity of the first battery or the second battery can be directly and quickly charged, that is, the second battery is quickly charged.
In order to realize the fast charging of the second battery, on the basis of the foregoing embodiments, in this application, the intelligent terminal further includes: a fourth switching unit 112 and a fourth charging chip 113, wherein the fourth switching unit 112 is connected with the fourth charging chip 113;
the processor 103 is specifically configured to control the fourth switching unit 112 to be connected if the first remaining power is less than the preset power threshold, or the second remaining power is greater than the preset power threshold and less than the first remaining power, so that the fourth charging chip 113 performs fast charging on the second battery 102.
In this application, in order to guarantee that the second battery of this intelligent terminal can carry out the quick charge, still include in this intelligent terminal: the fourth switching unit is connected with the fourth charging chip and connected with the second battery, the fourth switching unit is used for connecting or disconnecting the circuit, and the fourth charging chip is used for charging the second battery with set fourth charging current under the control of the processor. The set fourth charging current is 3A if the charging is performed based on Type-C, and is 2A if the charging is performed based on the seat charging. Therefore, when it is determined that the first remaining capacity of the first battery is smaller than the preset capacity threshold, or the second remaining capacity is larger than the preset capacity threshold and smaller than the first remaining capacity, the fourth switch unit is controlled to be connected, so that the fourth charging chip performs quick charging on the second battery.
Example 5:
fig. 2 is a schematic structural diagram of an intelligent terminal according to some embodiments of the present application, where the intelligent terminal envelopes: a first battery 201, a second battery 202, and a processor 203;
the processor 203 is configured to obtain a first remaining power of the first battery 201 and a second remaining power of the second battery 202, control to discharge the first battery 201 if it is determined that the second remaining power is smaller than the first remaining power, and control to discharge the second battery 202 if it is determined that the first remaining power is smaller than the second remaining power.
In this application, when two batteries in the intelligent terminal are controlled to discharge, in order to protect the batteries included in the intelligent terminal, which battery of the first battery and the second battery to discharge may be determined according to the first remaining capacity of the first battery and the second remaining capacity of the second battery. For example, according to the first remaining capacity of the first battery and the second remaining capacity of the second battery, the battery with the large remaining capacity of the first battery and the second battery is determined, and the battery with the large remaining capacity is controlled to discharge first. Specifically, in the present application, after obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery, if the first remaining capacity is smaller than the second remaining capacity, the second battery is controlled to discharge, and if the first remaining capacity is larger than the second remaining capacity, the first battery is controlled to discharge.
Example 6:
in order to determine the first remaining capacity of the first battery and the second remaining capacity of the second battery, on the basis of the foregoing embodiments, in this application, the intelligent terminal further includes: a first fuel gauge 204 and a second fuel gauge 205, the first fuel gauge 204 being connected to the first battery 201, and the second fuel gauge 205 being connected to the second battery 202;
the first electricity meter 204 is configured to measure a first remaining electricity quantity of the first battery 201;
the second electricity meter 205 is configured to measure a second remaining electricity quantity of the second battery 202;
the processor 203 is specifically configured to obtain the first remaining capacity measured by the first electricity meter 204 and the second remaining capacity measured by the second electricity meter 205.
In this application, in order to enable the processor to determine whether to discharge the first battery or the second battery according to the first remaining capacity of the first battery and the second remaining capacity of the second battery, the intelligent terminal includes two fuel gauges, namely a first fuel gauge and a second fuel gauge, respectively, the first fuel gauge is connected to the first battery and is used for measuring the first remaining capacity of the first battery, and the second fuel gauge is connected to the second battery and is used for measuring the second remaining capacity of the second battery. The processor obtains a first remaining capacity measured by the first electricity meter and a second remaining capacity measured by the second electricity meter.
Example 7:
in order to realize the discharging of the first battery, on the basis of the foregoing embodiments, in this application, the intelligent terminal 201 further includes: a fifth switching unit 206, the fifth switching unit 206 being connected to the first battery 201;
the processor 203 is specifically configured to control the fifth switch unit 206 to be connected to discharge the first battery 201 if it is determined that the second remaining capacity is smaller than the first remaining capacity.
In this application, in order to ensure that the first battery of the intelligent terminal can be controlled to discharge, the intelligent terminal further includes a fifth switch unit, and the fifth switch unit is connected to the first battery, wherein the fifth switch unit is configured to connect or disconnect a circuit, and therefore, if it is determined that the second remaining capacity of the second battery is less than the first remaining capacity of the first battery, the fifth switch unit is controlled to connect, so as to discharge the first battery.
Example 8:
in order to realize the discharging of the second battery, on the basis of the foregoing embodiments, in this application, the intelligent terminal 201 further includes: a sixth switching unit 207, wherein the sixth switching unit 207 is connected to the second battery 202;
the processor 203 is specifically configured to control the sixth switching unit 207 to be connected to discharge the second battery 201 if it is determined that the first remaining capacity is smaller than the second remaining capacity.
In this application, in order to ensure that the second battery of the intelligent terminal can be controlled to discharge, the intelligent terminal further includes a sixth switch unit, and the sixth switch unit is connected to the second battery, where the sixth switch unit is used to connect or disconnect a circuit, and therefore, if it is determined that the first remaining capacity of the first battery is less than the second remaining capacity of the second battery, the sixth switch unit is controlled to connect, so as to discharge the second battery.
Fig. 3 is a schematic diagram of an internal structure of an intelligent terminal according to some embodiments of the present application, fig. 4 is a schematic diagram of a Type-C charging-based process according to some embodiments of the present application, fig. 5 is a schematic diagram of a charging-based process according to some embodiments of the present application, and fig. 6 is a schematic diagram of a discharging process according to some embodiments of the present application, which is described with reference to fig. 3, fig. 4, fig. 5, and fig. 6.
The intelligent terminal comprises a processor, a battery 1, a battery 2, an electronic switch 1, an electronic switch 2, an electronic switch 3, an electronic switch 4, an electronic switch 5, a parallel charging chip, a seat charging chip IC1, a seat charging chip IC2, a fuel gauge 1, a fuel gauge 2, an LED1 lamp, an LED2 lamp, an overvoltage protection circuit 1 and an overvoltage protection circuit 2.
In order to protect the circuit, the Type-C charging port is connected with an overvoltage protection circuit 1, and the overvoltage protection circuit 1 is respectively connected with the electronic switch 1 and the electronic switch 2. The electronic switch 1 is connected with a parallel charging chip, the parallel charging chip is respectively connected with the electronic switch 3 and the electronic switch 4, the electronic switch 3 is connected with the battery 1, and the electronic switch 4 is connected with the battery 2. The electronic switch 2 is connected with the bidirectional soft switch, the bidirectional soft switch is connected with a seat charging chip IC1, a seat charging chip IC2 and an overvoltage protection circuit 2, in order to protect the circuit, the overvoltage protection circuit 2 is connected with a seat charging port, the seat charging chip IC1 is connected with a battery 1, the seat charging chip IC2 is connected with the battery 2, the battery 1 is connected with a fuel gauge 1, the battery 2 is connected with a fuel gauge 2, the fuel gauge 1 is connected with an LED lamp 1, the fuel gauge 2 is connected with the LED lamp 2, the processor is respectively connected with a parallel charging chip based on an external interface 12C1, a seat charging chip IC1, the fuel gauge 1 and the LED lamp 1 based on an external interface 12C2, and the seat charging chip IC2, the fuel gauge 2 and the LED lamp 2 are connected based on an external interface 12C 3.
When charging based on Type-C:
in the present application, the battery 1 is the first battery, and the battery 2 is the second battery. According to the circuit structure of the intelligent terminal, when the first battery is charged, the first battery can be charged through a first path corresponding to the Type-C charging port-overvoltage protection circuit 1-electronic switch 1-and charging chip-electronic switch 3-battery 1, and the first battery can also be charged through a second path corresponding to the Type-C charging port-electronic switch 2-bidirectional soft switch-seat charging chip IC 1-battery 1. When the second battery is charged, the second battery can be charged according to a third path corresponding to the Type-C charging port-overvoltage protection circuit 1-electronic switch 1-charging chip-electronic switch 4-battery 1, and the second battery can also be charged through a fourth path corresponding to the Type-C charging port-electronic switch 2-bidirectional soft switch-seat charging chip IC 2-battery 2.
And if the first residual electric quantity of the first battery is smaller than a preset electric quantity threshold value and the second residual electric quantity of the second battery is smaller than a preset electric quantity threshold value, controlling trickle charging to be carried out on the first battery and the second battery. The first battery may be trickle-charged according to the first path or the second path, and since each charging chip is only used to charge one battery, if the first battery is trickle-charged according to the first path, the second battery may only be trickle-charged according to the fourth path; the first battery may be trickle charged according to the second path, and the second battery may be trickle charged according to the third path or the fourth path.
Wherein, if the first battery is trickle-charged based on the first path, the first switching unit includes: the first charging chip is a parallel charging chip, and specifically, the processor configures the parallel charging chip according to the external interface 12C1, and controls the electronic switch 1 and the electronic switch 3 to close, so as to perform trickle charging on the first battery. At this time, the second battery can be trickle-charged only based on the fourth path, that is, the third switching circuit includes: the electronic switch 2, the bidirectional soft switch and the third charging chip are a charging chip IC2, and at this time, the processor configures the charging chip IC2 according to the external interface 12C3 and controls the electronic switch 2 and the bidirectional soft switch to be turned off so as to trickle charge the second battery; the first switching unit includes, if the first battery is trickle-charged based on a second path: the electronic switch 2 and the bidirectional soft switch, the first charging chip is a charging chip IC1, and specifically, the processor configures the charging chip IC1 according to the external interface 12C2, and controls the electronic switch 2 and the bidirectional soft switch to be turned off, so as to trickle charge the first battery. At this time, the second battery may be trickle-charged based on the third path or the fourth path, that is, the third switching circuit may include: the electronic switch 2, the bidirectional soft switch and the third charging chip can be a seat charging chip IC 2; the third switching circuit may also include: the electronic switch 1, the electronic switch 4, and the third charging chip may also be parallel charging chips. Specifically, the processor configures the charger chip IC2 according to the external interface 12C3 and controls the electronic switch 2 and the bidirectional soft switch to be turned off so as to trickle charge the second battery, or configures the parallel charging chip according to the external interface 12C1 and controls the electronic switch 1 and the electronic switch 4 to be turned on so as to trickle charge the second battery.
If the second residual electric quantity of the second battery is smaller than the preset electric quantity threshold value, and the first residual electric quantity of the first battery is larger than the preset electric quantity threshold value, the first battery is controlled to be charged quickly, trickle charging is controlled to be performed on the second battery, the first battery can be charged quickly according to the first path or the second path, each charging chip can only be used for charging one battery, if the first battery is charged quickly according to the first path, the second battery can only be charged trickle based on the fourth path, and if the first battery is charged quickly according to the second path, the second battery can be charged trickle based on the third path or the fourth path. Wherein, if the first battery is fast charged based on the first path, the second switching unit may include: the electronic switch 1 and the electronic switch 3, the second charging chip is a parallel charging chip, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1 and the electronic switch 3 to turn off, so as to perform fast charging on the first battery, and at this time, the second battery can only be trickle charged based on a fourth path, that is, the third switching circuit includes: the electronic switch 2, the bidirectional soft switch and the third charging chip are a charging chip IC2, and at this time, the processor configures the charging chip IC2 according to the external interface 12C3 and controls the electronic switch 2 and the bidirectional soft switch to be turned off so as to trickle charge the second battery; if the first battery is fast-charged based on the second path, the second switching unit may include: the electronic switch 2 and the bidirectional soft switch, the second charging chip may also be a seat charging chip IC1, and specifically, the processor configures the seat charging chip IC1 according to the external interface 12C2, and controls the electronic switch 2 and the bidirectional soft switch to be turned off, so as to perform fast charging on the first battery. At this time, the second battery may be trickle-charged based on a third path or a fourth path, that is, the third switching unit may be an electronic switch 1 and an electronic switch 4, the second charging chip is a parallel charging chip, and the third switching unit may further include: the electronic switch 2, the bidirectional soft switch and the third charging chip are a charging chip IC2, and specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1 and the electronic switch 4 to be turned off to perform trickle charging on the second battery, or configures the charging chip IC2 based on the external interface 12C3, and controls the electronic switch 2 and the bidirectional soft switch to be turned off to perform trickle charging on the second battery.
If the first residual electric quantity of the first battery is smaller than the preset electric quantity threshold value, and the second residual electric quantity of the second battery is larger than the preset electric quantity threshold value, trickle charging is controlled to be performed on the first battery, fast charging is controlled to be performed on the second battery, the first battery can be trickle charged according to a first path or a second path, each charging chip can only be used for charging one battery, if trickle charging is performed on the first battery according to the first path, fast charging can only be performed on the second battery based on a fourth path, and if trickle charging is performed on the first battery according to the second path, fast charging can be performed on the second battery based on the third path or the fourth path. Wherein, if the first battery is trickle-charged based on the first path, the first switching unit includes: the electronic switch 1 and the electronic switch 3, the first charging chip is a parallel charging chip, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1 and the electronic switch 3 to be turned off, trickle charging is performed on the first battery, at this time, the second battery can only be fast charged based on a fourth path, that is, the fourth switching circuit includes: the electronic switch 2, the bidirectional soft switch and the fourth charging chip are a base charging chip IC2, at this time, the processor configures the base charging chip IC2 according to the external interface 12C3, and controls the electronic switch 2 and the bidirectional soft switch to be closed, so that the second battery is charged quickly; the first switching unit includes, if the first battery is trickle-charged based on a second path: the electronic switch 2 and the bidirectional soft switch, the second charging chip can also be a charging chip IC1, the processor configures the charging chip IC1 based on 12C2, and controls the electronic switch 2 and the bidirectional soft switch to be closed, so that the first battery can be charged in a trickle mode. At this time, the second battery may be quickly charged based on the third path or the fourth path, that is, the fourth switch unit may be the electronic switch 2, the bidirectional soft switch, and the fourth charging chip is the base charging chip IC2, the fourth switch unit may also be the electronic switch 1, and the electronic switch 4, and the fourth charging chip may also be a parallel charging chip, specifically, the processor configures the base charging chip IC2 based on 12C3 and controls the electronic switch 2 and the bidirectional soft switch to be turned off, so as to quickly charge the second battery, or configures the parallel charging chip based on the external interface 12C1 and controls the electronic switch 1 and the electronic switch 4 to be turned off, so as to quickly charge the second battery.
If the first remaining capacity of the first battery and the second remaining capacity of the second battery are both greater than a preset capacity threshold value, and the first remaining capacity is less than the second remaining capacity, then the control is performed to perform fast charge on the first battery, and then the first battery may be fast charged according to the first path or the second path, and if the first battery is fast charged based on the first path, then the second switch unit includes: the electronic switch 1 and the electronic switch 3, the second charging chip is a parallel charging chip, specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1 and the electronic switch 3 to be turned off, and performs fast charging on the first battery, and if the first battery is fast charged based on the second path, the second switch unit may further include: the electronic switch 2 and the bidirectional soft switch, the second charging chip may also be a seat charging chip IC1, and specifically, the processor configures the seat charging chip IC1 based on 12C2, and controls the electronic switch 2 and the bidirectional soft switch to be turned off, so as to charge the first battery quickly.
If the first remaining capacity of the first battery and the second remaining capacity of the second battery are both greater than a preset capacity threshold value, and the second remaining capacity is less than the first remaining capacity, then the second battery is controlled to be charged quickly, the second battery can be charged quickly according to a third path or a fourth path, if the second battery is charged quickly based on the third path, the fourth switch unit can be the electronic switch 1 and the electronic switch 4, the fourth charging chip is a parallel charging chip, and specifically, the processor enables the parallel charging chip based on the configuration of the external interface 12C1, and controls the electronic switch 1 and the electronic switch 4 to be turned off, so as to charge quickly the second battery. If the second battery is fast charged based on the fourth path, the fourth switch unit is the electronic switch 2, the bidirectional soft switch, and the fourth charging chip is the seat charging chip IC2, specifically, the processor configures the seat charging chip IC2 based on 12C3, and controls the electronic switch 2 and the bidirectional soft switch to be turned off, so as to fast charge the second battery.
When charging based on seat:
according to the circuit structure of the intelligent terminal, when the first battery is charged, the first battery can be charged through the fifth path corresponding to the seat charging port-overvoltage protection circuit 2-electronic switch 1-and charging chip-electronic switch 3-battery 1, and the first battery can also be charged through the sixth path corresponding to the seat charging port-overvoltage protection circuit 2-bidirectional soft switch-seat charging chip IC 1-battery 1. When the second battery is charged, the second battery can be charged according to a seventh path corresponding to the seat charging port-overvoltage protection circuit 2-electronic switch 1-and charging chip-electronic switch 4-battery 1, and the second battery can also be charged through a seventh path corresponding to the seat charging port-overvoltage protection circuit 2-bidirectional soft switch-seat charging chip IC 2-battery 2.
And if the first residual electric quantity of the first battery is smaller than a preset electric quantity threshold value and the second residual electric quantity of the second battery is smaller than a preset electric quantity threshold value, controlling trickle charging to be carried out on the first battery and controlling trickle charging to be carried out on the second battery. The first battery may be trickle-charged according to a fifth path or a sixth path, and since each charging chip can be used to charge only one battery, if the first battery is trickle-charged according to the fifth path, the second battery may be trickle-charged only according to the eighth path, and if the first battery is trickle-charged according to the sixth path, the second battery may be trickle-charged according to the seventh path or the eighth path. Wherein, if the first battery is trickle-charged based on the fifth path, the first switching unit includes: the first charging chip may be a parallel charging chip, and specifically, the processor configures the parallel charging chip according to the external interface 12C1, and controls the electronic switch 1, the bidirectional soft switch, the electronic switch 2, and the electronic switch 3 to be closed, so as to perform trickle charging on the first battery. At this time, the second battery can be trickle-charged only based on the eighth path, that is, the third switching circuit includes: the bidirectional soft switch and the third charging chip are a charging chip IC2, and specifically, the processor configures the charging chip IC2 based on 12C3 and controls the bidirectional soft switch to be closed so as to trickle charge the second battery. The first switching unit includes, if the first battery is trickle-charged based on a sixth path: the first charging chip can also be a charging chip IC1, and specifically, the processor configures the charging chip IC1 based on 12C2 and controls the bidirectional soft switch to close so as to trickle charge the first battery. At this time, the second battery may be trickle-charged based on the seventh path or the eighth path, that is, the third switching circuit includes: the bidirectional soft switch and the third charging chip are a base charging chip IC2, and the third switch circuit may also include: the electronic switch 1, the electronic switch 2, the bidirectional soft switch, the electronic switch 4, and the third charging chip may be a parallel charging chip. Specifically, the processor configures the charger chip IC2 according to the external interface 12C3 and controls the bidirectional soft switch to be turned off to perform trickle charge on the second battery, or configures the parallel charging chip according to the external interface 12C1 and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch and the electronic switch 4 to be turned on to perform trickle charge on the second battery.
If the second remaining capacity of the second battery is smaller than the preset capacity threshold value and the first remaining capacity of the first battery is larger than the preset capacity threshold value, controlling the first battery to be charged quickly and controlling the second battery to be charged trickle, and then quickly charging the first battery according to a fifth path or a sixth path. Wherein, if the first battery is charged fast based on the fifth path, the second switch unit includes: the electronic switch 1, the electronic switch 2, the bidirectional soft switch, and the electronic switch 3, wherein the second charging chip is a parallel charging chip, specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch, and the electronic switch 3 to turn off, so as to perform fast charging on the first battery, and at this time, the second battery can only be trickle-charged based on an eighth path, that is, the third switch circuit includes: and the bidirectional soft switch and the third charging chip are the charging chip IC2, the charging chip IC2 is configured based on 12C3, and the bidirectional soft switch is controlled to be closed so as to enable the second battery to carry out trickle charging. If the first battery is fast charged based on the sixth path, the second switch unit includes: the second charging chip is a charging chip IC1, and specifically, the processor configures the charging chip IC1 based on 12C2 and controls the bidirectional soft switch to be turned off, so as to charge the first battery quickly. At this time, the second battery may be trickle-charged based on the seventh path or the eighth path, that is, the third switching unit may include: electronic switch 1, electronic switch 2, two-way soft switch and electronic switch 4, this third chip that charges is the parallel chip that charges, and this third switching unit includes: the processor arranges the parallel charging chip based on the external interface 12C1 and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch and the electronic switch 4 to be closed to perform trickle charging on the second battery, or the processor arranges the charging chip IC2 based on the external interface 12C3 and controls the bidirectional soft switch to be closed to perform trickle charging on the second battery.
And if the first residual electric quantity of the first battery is smaller than a preset electric quantity threshold value, and the second residual electric quantity of the second battery is larger than a preset electric quantity threshold value, trickle charging is controlled for the first battery, and fast charging is controlled for the second battery, the first battery can be trickle charged according to a fifth path or a sixth path, each charging chip can only be used for charging one battery, if the first battery is trickle charged according to the fifth path, the second battery can only be fast charged according to an eighth path, and if the first battery is trickle charged according to the sixth path, the second battery can be fast charged according to a seventh path or an eighth path. Wherein, if the first battery is trickle-charged based on the fifth path, the first switching unit includes: the first charging chip is a parallel charging chip, and specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch, and the electronic switch 3 to turn off, so as to trickle charge the first battery. At this time, the second battery can only be fast charged based on the eighth path, that is, the fourth switching unit is a bidirectional soft switch, and the fourth charging chip is a base charging chip IC2, specifically, the processor configures the base charging chip IC2 based on 12C3, and controls the bidirectional soft switch to be turned off, so as to fast charge the second battery; the first switching unit includes, when the first battery is trickle-charged based on a sixth path: the first charging chip is a charging chip IC1, and specifically, the processor configures the charging chip IC1 based on 12C2 and controls the bidirectional soft switch to be turned off so as to trickle charge the first battery. At this time, the second battery may be fast charged based on the seventh path or the eighth path, that is, the fourth switch unit may be the electronic switch 1, the electronic switch 2, the bidirectional soft switch, and the electronic switch 4, the fourth charging chip may be a parallel charging chip, the fourth switch unit may also be a bidirectional soft switch, the fourth charging chip is the seat charging chip IC2, and specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch, and the electronic switch 4 to be turned off, and fast charges the second battery, or the processor configures the seat charging chip IC2 based on 12C3, and controls the bidirectional soft switch to be turned off, so that the second battery is fast charged.
If the first remaining capacity of the first battery and the second remaining capacity of the second battery are both greater than the preset capacity threshold value, and the first remaining capacity is less than the second remaining capacity, then the control is performed to perform fast charge on the first battery, then the fast charge on the first battery can be performed according to the fifth path or the sixth path, and if the fast charge on the first battery is performed based on the fifth path, then the second switch unit includes: the second charging chip is a parallel charging chip, and specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch and the electronic switch 3 to be turned off, so as to perform fast charging on the first battery. If the first battery is fast-charged based on the sixth path, the second switch unit includes: the second charging chip is a charging chip IC1, and specifically, the processor configures the charging chip IC1 based on 12C2 and controls the bidirectional soft switch to be turned off, so as to charge the first battery quickly.
If the first remaining capacity of the first battery and the second remaining capacity of the second battery are both greater than the preset capacity threshold value, and the second remaining capacity is less than the first remaining capacity, then controlling the second battery to be charged quickly, and then charging the second battery quickly according to the seventh path or the eighth path, and if the second battery is charged quickly based on the seventh path, then the fourth switch unit includes: the electronic switch 1, the electronic switch 2, the bidirectional soft switch and the electronic switch 4, the fourth charging chip is a parallel charging chip, specifically, the processor configures the parallel charging chip based on the external interface 12C1, and controls the electronic switch 1, the electronic switch 2, the bidirectional soft switch and the electronic switch 4 to be turned off, so as to perform fast charging on the second battery. If the second battery is rapidly charged based on the eighth path, the fourth switching unit includes: the bidirectional soft switch and the fourth charging chip are a charging chip IC2, and specifically, the processor configures the charging chip IC2 based on 12C3 and controls the bidirectional soft switch to be turned off, so as to perform fast charging on the second battery.
If charge and when Type-C charges based on the seat simultaneously:
the charging principle is the same as the above-described principle of the seat charging-based charging alone and the Type-C charging-based charging alone, no detailed description is given here, but in order to ensure that when the quick charge is performed based on the seat charge and the quick charge is performed based on the Type-C at the same time, the protection of the battery requires the control of the current when the first battery or the second battery is charged quickly, and generally, based on Type-C, the first battery or the second battery is charged with a current of 3A by fast charging, the first battery or the second battery is charged with a current of 2A by fast charging based on seat charging, and the first battery or the second battery is charged with a current of 2A by fast charging based on seat charging and Type-C, the first battery or the second battery can be charged quickly with the current of 1A, thereby ensuring the charging safety of the batteries, in the present application, the size of a battery that charges the battery is controlled based on a charging chip in the smart terminal.
When discharging:
and if the first residual capacity of the first battery is greater than the second residual capacity of the second battery, controlling the fifth switch unit to be communicated to discharge the first battery, wherein the fifth electronic switch is connected with the first battery. Specifically, the fifth switching unit includes: and the electronic switch 3 is controlled to be opened by the processor, so that the first battery is discharged.
And if the second residual capacity of the second battery is greater than the first residual capacity of the first battery, controlling a sixth switch unit to be connected to discharge the second battery, wherein the sixth electronic switch is connected with the second battery. Specifically, the sixth switching unit includes: and the electronic switch 4 is controlled to be opened by the processor, so that the second battery is discharged.
The intelligent terminal further comprises a first LED lamp and a second LED lamp, wherein the first LED lamp is used for displaying different colors according to the electricity meter 1, namely a first remaining capacity measured by the first electricity meter, the first LED lamp is used for displaying different colors according to the electricity meter 2, namely a second remaining capacity measured by the second electricity meter, for example, if the first remaining capacity is less than 5%, a red lamp is flashed, and if the first remaining capacity is less than 30%, a yellow lamp is flashed, and if the first remaining capacity is greater than 31%, a green lamp is flashed, and the like.
In the present application, it is necessary to detect the state of the smart terminal and the state of the battery in real time, regardless of whether the battery is charged or discharged. And if the Type-C or seat charging insertion does not exist, determining that the current state of the intelligent terminal is a charging state.
After the current state of the intelligent terminal is determined to be a charging state, whether the state of a battery on the intelligent terminal is abnormal is judged, if the state of the battery is abnormal, abnormal processing is carried out, and if the state of the battery is not abnormal, whether the charging of the battery is changed is determined, namely, whether the charging of a first battery needs to be changed into the charging of a second battery or whether the charging of the second battery needs to be changed into the charging of the first battery, if not, the current charging state is kept unchanged, and if yes, a target charging state needing to be changed is determined.
If the target charging state is that one of the first battery and the second battery is rapidly charged, determining whether the intelligent terminal is charged based on Type-C or seat charging at the moment, if the intelligent terminal is charged based on Type-C, configuring the current of 3A to charge the first battery or the second battery, if the intelligent terminal is charged based on seat charging, configuring the current of 2A to charge the first battery or the second battery, and if the intelligent terminal is charged based on Type-C and seat charging, configuring the current of 1A to charge the first battery or the second battery.
And if the target charging state is that the first battery is charged quickly and the second battery is charged trickle, determining whether the intelligent terminal is charged based on Type-C or seat charging at the moment, if the intelligent terminal is charged based on Type-C, configuring the current of 3A to charge the first battery quickly, if the intelligent terminal is charged based on seat charging, configuring the current of 2A to charge the first battery quickly, and if the intelligent terminal is charged based on Type-C and seat charging, configuring the current of 1A to charge the first battery.
And if the target charging state is that the second battery is charged quickly and the first battery is charged trickle, determining whether the intelligent terminal is charged based on Type-C or seat charging at the moment, if the intelligent terminal is charged based on Type-C, configuring the current of 3A to charge the second battery quickly, if the intelligent terminal is charged based on seat charging, configuring the current of 2A to charge the second battery quickly, and if the intelligent terminal is charged based on Type-C and seat charging, configuring the current of 1A to charge the second battery.
After the current state of the intelligent terminal is determined to be a discharging state, if the intelligent terminal is determined to only have a first battery, the first battery is controlled to discharge; and if the intelligent terminal is determined to only have the second battery, controlling the second battery to discharge. If the first battery and the second battery exist, whether a stage corresponding to the electric quantity of the first battery is smaller than a stage corresponding to the electric quantity of the second battery or not can be determined, if yes, the first residual electric quantity is smaller than the second residual electric quantity, the second battery is controlled to discharge, if yes, the stage corresponding to the electric quantity of the first battery is equal to the stage corresponding to the electric quantity of the second battery, whether the first residual electric quantity is smaller than the second residual electric quantity or not is determined, if yes, the second battery is controlled to discharge, and if not, the first battery is controlled to discharge. And if the stage corresponding to the electric quantity of the first battery is larger than the stage corresponding to the electric quantity of the second battery, controlling the first battery to discharge.
Fig. 7 is a schematic diagram of a process for determining whether a battery state is abnormal according to some embodiments of the present application, and is described with reference to fig. 7.
Detecting whether detection pins of the first battery and the second battery are interrupted or not, if so, determining whether a rear cover of the first battery is opened or not, if so, indicating that the first battery is possibly replaced, determining whether the second battery exists or not, if so, switching to the second battery, and if not, performing exception handling. Whether the rear cover of the second battery is opened or not can be determined, if the rear cover of the second battery is opened, the second battery is possibly replaced at the moment, whether the first battery exists or not is determined, if the first battery exists, the first battery is switched to, and if the first battery does not exist, abnormal processing is carried out. And after the batteries are switched, whether the detection pins of the first battery and the second battery are interrupted or not is continuously detected.
Example 9:
in order to avoid frequent charging of a battery by a user and improve the service life of the battery, the present application provides a discharging method, which is applied to an intelligent terminal, and fig. 8 is a schematic process diagram of a charging method provided in some embodiments of the present application, where the process includes the following steps:
s801: and obtaining a first residual capacity of the first battery and a second residual capacity of the second battery.
S802: if the first residual electric quantity or the second residual electric quantity is determined to be smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, the first battery is controlled to be charged, and if the second residual electric quantity or the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, the second battery is controlled to be charged.
In a possible embodiment, the obtaining the first remaining capacity of the first battery and the second remaining capacity of the second battery includes:
obtaining the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
In a possible implementation manner, if it is determined that the first remaining capacity is smaller than a preset capacity threshold, controlling the first battery to be charged includes:
and if the first residual electric quantity is determined to be smaller than a preset electric quantity threshold value, controlling trickle charging of the first battery.
In one possible embodiment, the controlling the trickle charge of the first battery if it is determined that the first remaining capacity is less than a preset capacity threshold includes:
and if the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, controlling the first switch unit to be communicated, so that the first charging chip performs trickle charging on the first battery.
In a possible implementation manner, if it is determined that the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, the controlling the charging of the first battery includes:
and if the second residual electric quantity is smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, performing quick charge on the first battery.
In a possible implementation manner, if the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, the performing fast charge on the first battery includes:
and if the second residual electric quantity is smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, controlling the second switch unit to be communicated, so that the second charging chip performs quick charging on the first battery.
In a possible implementation manner, if it is determined that the second remaining capacity is smaller than the preset capacity threshold, controlling to charge the second battery includes:
and if the second residual electric quantity is smaller than the preset electric quantity threshold value, controlling trickle charging of the second battery.
In one possible embodiment, the controlling the trickle charge of the second battery if it is determined that the second remaining capacity is less than the preset capacity threshold includes:
and if the second residual electric quantity is determined to be smaller than the preset electric quantity threshold value, controlling the third switch unit to be communicated, so that the third charging chip performs trickle charging on the second battery.
In a possible implementation manner, if it is determined that the first remaining power is less than the preset power threshold, or the second remaining power is greater than the preset power threshold and less than the first remaining power, the controlling to charge the second battery includes:
and if the first residual electric quantity is smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, performing quick charge on the second battery.
In a possible implementation manner, if the first remaining power is smaller than the preset power threshold, or the second remaining power is larger than the preset power threshold and smaller than the first remaining power, the performing fast charge on the second battery includes:
and if the first residual electric quantity is smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, controlling the fourth switch unit to be communicated, so that the fourth charging chip and the second battery are charged quickly.
The method is applied to the intelligent terminal, and specific processes of executing the charging method by the intelligent terminal can refer to the other embodiments, and detailed description is omitted.
Example 10:
in order to avoid frequent charging of a battery by a user and improve the service life of the battery, the present application provides a discharging method, which is applied to an intelligent terminal, and fig. 9 is a schematic process diagram of a discharging method provided in some embodiments of the present application, where the process includes the following steps:
s901: and obtaining a first residual capacity of the first battery and a second residual capacity of the second battery.
S902: and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
In a possible embodiment, the obtaining the first remaining capacity of the first battery and the second remaining capacity of the second battery includes:
obtaining the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
In a possible implementation manner, the controlling of discharging the first battery if it is determined that the second remaining capacity is smaller than the first remaining capacity includes:
and if the second residual capacity is smaller than the first residual capacity, controlling the fifth switch unit to be communicated to discharge the first battery.
In a possible implementation manner, the controlling of discharging the second battery if it is determined that the first remaining capacity is smaller than the second remaining capacity includes:
and if the first residual capacity is smaller than the second residual capacity, controlling the sixth switch unit to be communicated to discharge the second battery.
The method is applied to the intelligent terminal, and specific processes of executing the discharging method by the intelligent terminal can refer to the other embodiments, and detailed description is omitted.
Example 11:
fig. 10 is a schematic structural diagram of an electronic device according to some embodiments of the present application, and on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 10, including: the system comprises a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 are communicated with each other through the communication bus 1004;
the memory 1003 has stored therein a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
Further, the processor 1001 is further configured to obtain the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
Further, the processor 1001 is further configured to control trickle charging of the first battery if it is determined that the first remaining power is smaller than a preset power threshold.
Further, the processor 1001 is further configured to control the first switch unit to be connected to enable the first charging chip to perform trickle charging on the first battery if it is determined that the first remaining power is smaller than the preset power threshold.
Further, the processor 1001 is further configured to perform fast charging on the first battery if the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power.
Further, the processor 1001 is further configured to control the second switch unit to be connected to enable the second charging chip to perform fast charging on the first battery if the second remaining power is smaller than a preset power threshold, or the first remaining power is larger than the preset power threshold and smaller than the second remaining power.
Further, the processor 1001 is further configured to control trickle charging of the second battery if it is determined that the second remaining power is smaller than the preset power threshold.
Further, the processor 1001 is further configured to control the third switch unit to be connected to enable the third charging chip to perform trickle charging on the second battery if it is determined that the second remaining power is smaller than the preset power threshold.
Further, the processor 1001 is further configured to perform fast charging on the second battery if the first remaining capacity is smaller than the preset capacity threshold, or the second remaining capacity is greater than the preset capacity threshold and smaller than the first remaining capacity.
Further, the processor 1001 is further configured to control the fourth switch unit to be connected to enable the fourth charging chip to perform fast charging on the second battery if the first remaining power is smaller than the preset power threshold, or the second remaining power is larger than the preset power threshold and smaller than the first remaining power.
The communication interface 1002 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 12:
fig. 11 is a schematic structural diagram of an electronic device according to some embodiments of the present application, and on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 11, including: the system comprises a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, wherein the processor 1101, the communication interface 1102 and the memory 1103 are communicated with each other through the communication bus 1104;
the memory 1103 has stored therein a computer program that, when executed by the processor 1101, causes the processor 1101 to perform the steps of:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
Further, the processor 1101 is further configured to obtain the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
Further, the processor 1101 is further configured to control the fifth switch unit to be connected to discharge the first battery if it is determined that the second remaining capacity is smaller than the first remaining capacity.
Further, the processor 1101 is further configured to control the sixth switch unit to be connected to discharge the second battery if it is determined that the first remaining capacity is smaller than the second remaining capacity.
The communication interface 1102 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 13:
on the basis of the foregoing embodiments, the present application provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
In a possible embodiment, the obtaining the first remaining capacity of the first battery and the second remaining capacity of the second battery includes:
obtaining the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
In a possible implementation manner, if it is determined that the first remaining capacity is smaller than a preset capacity threshold, controlling the first battery to be charged includes:
and if the first residual electric quantity is determined to be smaller than a preset electric quantity threshold value, controlling trickle charging of the first battery.
In one possible embodiment, the controlling the trickle charge of the first battery if it is determined that the first remaining capacity is less than a preset capacity threshold includes:
and if the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, controlling the first switch unit to be communicated, so that the first charging chip performs trickle charging on the first battery.
In a possible implementation manner, if it is determined that the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, the controlling the charging of the first battery includes:
and if the second residual electric quantity is smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, performing quick charge on the first battery.
In a possible implementation manner, if the second remaining power is less than a preset power threshold, or the first remaining power is greater than the preset power threshold and less than the second remaining power, the performing fast charge on the first battery includes:
and if the second residual electric quantity is smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, controlling the second switch unit to be communicated, so that the second charging chip performs quick charging on the first battery.
In a possible implementation manner, if it is determined that the second remaining capacity is smaller than the preset capacity threshold, controlling to charge the second battery includes:
and if the second residual electric quantity is smaller than the preset electric quantity threshold value, controlling trickle charging of the second battery.
In one possible embodiment, the controlling the trickle charge of the second battery if it is determined that the second remaining capacity is less than the preset capacity threshold includes:
and if the second residual electric quantity is determined to be smaller than the preset electric quantity threshold value, controlling the third switch unit to be communicated, so that the third charging chip performs trickle charging on the second battery.
In a possible implementation manner, if it is determined that the first remaining power is less than the preset power threshold, or the second remaining power is greater than the preset power threshold and less than the first remaining power, the controlling to charge the second battery includes:
and if the first residual electric quantity is smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, performing quick charge on the second battery.
In a possible implementation manner, if the first remaining power is smaller than the preset power threshold, or the second remaining power is larger than the preset power threshold and smaller than the first remaining power, the performing fast charge on the second battery includes:
and if the first residual electric quantity is smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, controlling the fourth switch unit to be communicated, so that the fourth charging chip and the second battery are charged quickly.
Example 14:
on the basis of the foregoing embodiments, the present application provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
In a possible embodiment, the obtaining the first remaining capacity of the first battery and the second remaining capacity of the second battery includes:
obtaining the first remaining capacity measured by the first electricity meter and the second remaining capacity measured by the second electricity meter.
In a possible implementation manner, the controlling of discharging the first battery if it is determined that the second remaining capacity is smaller than the first remaining capacity includes:
and if the second residual capacity is smaller than the first residual capacity, controlling the fifth switch unit to be communicated to discharge the first battery.
In a possible implementation manner, the controlling of discharging the second battery if it is determined that the first remaining capacity is smaller than the second remaining capacity includes:
and if the first residual capacity is smaller than the second residual capacity, controlling the sixth switch unit to be communicated to discharge the second battery.
Because in this application, including first battery and second battery in the intelligent terminal, compare with a battery, avoided the user to charge the battery frequently, and can be according to the comparison result between the first residual capacity of this first battery and the second residual capacity of second battery, and first residual capacity and second residual capacity respectively with the comparison result of predetermined electric quantity threshold value, confirm to charge first battery or charge the second battery, thereby charge different batteries according to the condition of difference, play certain guard action to the battery, can effectual improvement battery's life, and improve user's experience.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. An intelligent terminal, characterized in that, intelligent terminal includes: a first battery, a second battery and a processor;
the processor is used for obtaining a first residual capacity of the first battery and a second residual capacity of the second battery; if the first residual electric quantity or the second residual electric quantity is determined to be smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, the first battery is controlled to be charged, and if the second residual electric quantity or the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, the second battery is controlled to be charged.
2. The intelligent terminal according to claim 1, further comprising: the charging device comprises a first switch unit and a first charging chip, wherein the first switch unit is connected with the first charging chip;
the processor is specifically configured to control the first switch unit to be connected to enable the first charging chip to perform trickle charging on the first battery if it is determined that the first remaining power is less than the preset power threshold.
3. The intelligent terminal according to claim 1, further comprising: the second switch unit is connected with the second charging chip;
the processor is specifically configured to control the second switch unit to be connected to enable the second charging chip to perform fast charging on the first battery if the second remaining power is smaller than a preset power threshold, or the first remaining power is larger than the preset power threshold and smaller than the second remaining power.
4. The intelligent terminal according to claim 1, further comprising: the third switching unit is connected with the third charging chip;
the processor is specifically configured to control the third switch unit to be connected to enable the third charging chip to perform trickle charging on the second battery if it is determined that the second remaining power is smaller than the preset power threshold.
5. The intelligent terminal according to claim 1, further comprising: the fourth switching unit is connected with the fourth charging chip;
the processor is specifically configured to control the fourth switch unit to be connected to enable the fourth charging chip to perform fast charging on the second battery if the first remaining power is smaller than the preset power threshold, or the second remaining power is larger than the preset power threshold and smaller than the first remaining power.
6. An intelligent terminal, characterized in that, intelligent terminal includes: a first battery, a second battery and a processor;
the processor is used for obtaining a first residual capacity of the first battery and a second residual capacity of the second battery; and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
7. The intelligent terminal according to claim 6, further comprising: a fifth switching unit connected to the first battery;
the processor is specifically configured to control the fifth switch unit to be connected to discharge the first battery if it is determined that the second remaining capacity is smaller than the first remaining capacity.
8. The intelligent terminal according to claim 6, further comprising: a sixth switching unit connected to the second battery;
the processor is specifically configured to control the sixth switch unit to be connected to discharge the second battery if it is determined that the first remaining capacity is smaller than the second remaining capacity.
9. A method of charging, the method comprising:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
if the first residual electric quantity or the second residual electric quantity is determined to be smaller than a preset electric quantity threshold value, or the first residual electric quantity is larger than the preset electric quantity threshold value and smaller than the second residual electric quantity, the first battery is controlled to be charged, and if the second residual electric quantity or the first residual electric quantity is determined to be smaller than the preset electric quantity threshold value, or the second residual electric quantity is larger than the preset electric quantity threshold value and smaller than the first residual electric quantity, the second battery is controlled to be charged.
10. A method of discharging, the method comprising:
obtaining a first remaining capacity of the first battery and a second remaining capacity of the second battery;
and if the second residual capacity is smaller than the first residual capacity, controlling the first battery to be discharged, and if the first residual capacity is smaller than the second residual capacity, controlling the second battery to be discharged.
11. An electronic device, characterized in that the electronic device comprises a processor and a memory, the memory being adapted to store program instructions, the processor being adapted to carry out the steps of the charging method of claim 9 or the discharging method of claim 10 when executing a computer program stored in the memory.
12. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the charging method of claim 9 or the discharging method of claim 10.
CN202111140611.2A 2021-09-28 2021-09-28 Intelligent terminal, charging and discharging method, equipment and medium Pending CN113937849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111140611.2A CN113937849A (en) 2021-09-28 2021-09-28 Intelligent terminal, charging and discharging method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111140611.2A CN113937849A (en) 2021-09-28 2021-09-28 Intelligent terminal, charging and discharging method, equipment and medium

Publications (1)

Publication Number Publication Date
CN113937849A true CN113937849A (en) 2022-01-14

Family

ID=79277069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111140611.2A Pending CN113937849A (en) 2021-09-28 2021-09-28 Intelligent terminal, charging and discharging method, equipment and medium

Country Status (1)

Country Link
CN (1) CN113937849A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160094067A1 (en) * 2014-09-25 2016-03-31 Lenovo (Beijing) Co., Ltd. Multi-Battery Charging Circuit and Charging Method Thereof
TW201616768A (en) * 2014-10-28 2016-05-01 菲利浦莫里斯製品股份有限公司 An adaptive battery charging method and system
CN106356925A (en) * 2016-09-12 2017-01-25 努比亚技术有限公司 Mobile terminal, and charge control device and method thereof
CN108347068A (en) * 2017-01-25 2018-07-31 维沃移动通信有限公司 A kind of method and mobile terminal of charging
CN109450009A (en) * 2018-10-10 2019-03-08 Oppo广东移动通信有限公司 A kind of charge control method, device and computer storage medium
CN110212607A (en) * 2019-06-14 2019-09-06 Oppo广东移动通信有限公司 Charge control method and Related product
CN110365084A (en) * 2019-08-07 2019-10-22 Oppo广东移动通信有限公司 Charge control method, device, terminal and storage medium
CN111262296A (en) * 2020-02-28 2020-06-09 Oppo广东移动通信有限公司 Double-battery charging structure and mobile terminal
US20200203964A1 (en) * 2018-12-21 2020-06-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging Method and Apparatus for Multiple Cells, and Electronic Device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160094067A1 (en) * 2014-09-25 2016-03-31 Lenovo (Beijing) Co., Ltd. Multi-Battery Charging Circuit and Charging Method Thereof
TW201616768A (en) * 2014-10-28 2016-05-01 菲利浦莫里斯製品股份有限公司 An adaptive battery charging method and system
CN106356925A (en) * 2016-09-12 2017-01-25 努比亚技术有限公司 Mobile terminal, and charge control device and method thereof
CN108347068A (en) * 2017-01-25 2018-07-31 维沃移动通信有限公司 A kind of method and mobile terminal of charging
CN109450009A (en) * 2018-10-10 2019-03-08 Oppo广东移动通信有限公司 A kind of charge control method, device and computer storage medium
US20200203964A1 (en) * 2018-12-21 2020-06-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging Method and Apparatus for Multiple Cells, and Electronic Device
CN110212607A (en) * 2019-06-14 2019-09-06 Oppo广东移动通信有限公司 Charge control method and Related product
CN110365084A (en) * 2019-08-07 2019-10-22 Oppo广东移动通信有限公司 Charge control method, device, terminal and storage medium
CN111262296A (en) * 2020-02-28 2020-06-09 Oppo广东移动通信有限公司 Double-battery charging structure and mobile terminal

Similar Documents

Publication Publication Date Title
CN102222949B (en) Device and method for managing batteries
CN103427460B (en) A kind of power supply terminal, charge control method and device
CN104698388B (en) The cell degradation detection method and its device of a kind of mobile terminal
CN103904721B (en) Cell voltage equalization device and method
CN110133536A (en) Determine system, the method and apparatus of the index of battery group object internal leakage electric current
CN104993534B (en) A kind of mobile terminal and its charge control method
CN103884991A (en) Test method for single body cell DC internal resistance
CN103944230B (en) The charging system of mobile terminal, method and charger
CN106486706B (en) A kind of lead-acid accumulator method for group matching and combo device
KR20140094349A (en) Charging method of battery and battery pack thereof
CN109379900A (en) The control method of electric tool system and electric tool system
CN107819336A (en) The equalization methods of lithium battery, device and system
CN105244951B (en) A kind of intelligent charger and charging method with diagnostic function
KR20220130366A (en) Method of Online Detection of Soft Internal Short Circuit in Lithium-Ion Batteries at Various Standard Charging Ranges and Apparatus thereof
CN104681889A (en) Automatic gear shift charging method of charger and charging and detecting circuit thereof
US11296517B2 (en) Battery and external component
CN206575193U (en) charger for lithium battery
Wong et al. A new state-of-charge estimation method for valve regulated lead acid batteries
JP2006302567A (en) Secondary battery pack and its charging method
CN102306941A (en) Battery pack capacity coupling method and battery pack capacity coupling apparatus
WO2000079633A9 (en) Lithium-ion and lithium polymer battery recharging
CN100592099C (en) Apparatus and method for charging battery cells
CN103515658B (en) Rechargeable battery cell and charging management method
CN113937849A (en) Intelligent terminal, charging and discharging method, equipment and medium
CN207504591U (en) Battery charging management circuit

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