[go: up one dir, main page]

CN119381597B - Battery charging method and device, electronic equipment and storage medium - Google Patents

Battery charging method and device, electronic equipment and storage medium

Info

Publication number
CN119381597B
CN119381597B CN202310919873.1A CN202310919873A CN119381597B CN 119381597 B CN119381597 B CN 119381597B CN 202310919873 A CN202310919873 A CN 202310919873A CN 119381597 B CN119381597 B CN 119381597B
Authority
CN
China
Prior art keywords
battery
full charge
charging
charge amount
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310919873.1A
Other languages
Chinese (zh)
Other versions
CN119381597A (en
Inventor
安旭峰
蒋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202310919873.1A priority Critical patent/CN119381597B/en
Publication of CN119381597A publication Critical patent/CN119381597A/en
Application granted granted Critical
Publication of CN119381597B publication Critical patent/CN119381597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00308Overvoltage protection
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00309Overheat or overtemperature protection
    • 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]
    • H02J7/0049Detection of fully charged condition
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

本公开是关于一种电池充电方法、装置、电子设备及存储介质。该方法包括:获取电子设备的电池的第一满充电量,所述第一满充电量为所述电池当前的满充电量,所述电子设备与充电设备连接,所述电池的满充电量为所述电池在充电过程中可充电的最大电量;基于第一对应关系,获取所述电池当前的温度对应的第二满充电量,所述第一对应关系为电池的温度与满充电量之间的对应关系;将所述电池的满充电量从所述第一满充电量修改为所述第二满充电量;基于所述第二满充电量进行充电。该方法根据电池的温度自适应调整电池的满充电量,从而避免使电子设备的电池长期处于高温高压的状态,优化了电池寿命,延缓了电池衰老。

This disclosure relates to a battery charging method, apparatus, electronic device, and storage medium. The method includes: obtaining a first full charge capacity of a battery in an electronic device, wherein the first full charge capacity is the current full charge capacity of the battery, the electronic device is connected to a charging device, and the full charge capacity of the battery is the maximum chargeable capacity of the battery during charging; obtaining a second full charge capacity corresponding to the current temperature of the battery based on a first correspondence, wherein the first correspondence is a relationship between battery temperature and full charge capacity; modifying the full charge capacity of the battery from the first full charge capacity to the second full charge capacity; and charging based on the second full charge capacity. This method adaptively adjusts the full charge capacity of the battery according to the battery temperature, thereby avoiding the battery of the electronic device being subjected to high temperature and high pressure conditions for a long time, optimizing battery life, and delaying battery aging.

Description

Battery charging method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of battery charging, and in particular relates to a battery charging method, a device, electronic equipment and a storage medium.
Background
Electronic devices have a charging function, for example, the electronic device adopts a lithium ion battery, and the service life of the lithium ion battery is affected by a plurality of factors, and two important factors are battery voltage and battery temperature. If the electronic device is in a high-temperature and high-pressure environment for a long time, the service life of the battery can be quickly reduced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a battery charging method, apparatus, electronic device, and storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a battery charging method, the method comprising:
Acquiring a first full charge amount of a battery of electronic equipment, wherein the first full charge amount is the current full charge amount of the battery, the electronic equipment is connected with charging equipment, and the full charge amount of the battery is the maximum chargeable electric quantity of the battery in the charging process;
Acquiring a second full charge amount corresponding to the current temperature of the battery based on a first corresponding relation, wherein the first corresponding relation is a corresponding relation between the temperature of the battery and the full charge amount;
modifying the full charge of the battery from the first full charge to the second full charge;
Charging is performed based on the second full charge amount.
In some embodiments, the method further comprises:
when the electric quantity of the battery reaches a preset electric quantity in the charging process, detecting the duration of the electric quantity of the battery in the preset electric quantity;
The acquiring a first full charge of a battery of an electronic device includes:
And when the duration reaches a first preset duration, determining the preset electric quantity as the first full charge quantity.
In some embodiments, when the electric quantity of the battery reaches a preset electric quantity in the charging process, detecting a duration of the electric quantity of the battery in the preset electric quantity duration includes:
and when the electric quantity of the battery reaches the preset electric quantity in the charging process and the charging state is the full charging state, detecting the duration of the electric quantity of the battery in the preset electric quantity.
In some embodiments, the acquiring the first full charge of the battery of the electronic device further comprises:
The first full charge amount is obtained once every second preset time period from the time period reaching the first preset time period until the electronic equipment is disconnected with the charging equipment;
The obtained N-1 th first full charge amount is an N-1 th second full charge amount, the N-1 th second full charge amount is a second full charge amount corresponding to the current temperature of the battery obtained based on the first corresponding relation after the N-1 th first full charge amount is obtained, N is an integer larger than 1, and the 1 st first full charge amount is the preset electric quantity.
In some embodiments, the charging based on the second full charge amount includes any one of:
controlling the battery to discharge until the electric quantity of the battery is reduced to the second full charge quantity under the condition that the second full charge quantity is smaller than the first full charge quantity;
controlling the battery to charge until the electric quantity of the battery is increased to the second full charge quantity under the condition that the second full charge quantity is larger than the first full charge quantity;
and stopping charging the battery when the second full charge amount is smaller than the first full charge amount.
In some embodiments, the electronic device includes a battery charging path for charging the battery and a system power path for powering a system of the electronic device;
The controlling the battery to discharge until the charge of the battery drops to the second full charge includes:
Controlling the battery charging path to be disconnected from the system power supply path until the electric quantity of the battery is reduced to the second full charge quantity, and controlling the battery charging path to be disconnected and the system power supply path to be connected;
The controlling the battery to charge until the charge amount of the battery rises to the second full charge amount includes:
controlling the battery charging path to be connected with the system power supply path until the electric quantity of the battery is increased to the second full charge quantity, and controlling the battery charging path to be disconnected and the system power supply path to be kept connected;
The stopping charging the battery includes:
and controlling the battery charging path to be disconnected and controlling the system power supply path to be connected.
In some embodiments, the method further comprises:
Acquiring a first complex charge amount corresponding to the first full charge amount;
Acquiring a second complex charge amount corresponding to the current temperature of the battery based on a second corresponding relation, wherein the second corresponding relation is a corresponding relation between the temperature of the battery and the complex charge amount;
modifying the recharging amount of the battery from the first recharging amount to the second recharging amount;
Charging is performed based on the second complex charge amount.
According to a second aspect of embodiments of the present disclosure, there is provided a battery charging apparatus, the apparatus comprising:
The first electric quantity acquisition module is configured to acquire a first full charge quantity of a battery of the electronic equipment, wherein the first full charge quantity is the current full charge quantity of the battery, the electronic equipment is connected with the charging equipment, and the full charge quantity of the battery is the maximum electric quantity of the battery which can be charged in the charging process;
The second electric quantity acquisition module is configured to acquire a second full charge quantity corresponding to the current temperature of the battery based on a first corresponding relation, wherein the first corresponding relation is a corresponding relation between the temperature of the battery and the full charge quantity;
a charge amount modification module configured to modify a full charge amount of the battery from the first full charge amount to the second full charge amount;
and a charging module configured to charge based on the second full charge amount.
In some embodiments, the apparatus further comprises:
the detection module is configured to detect duration of the electric quantity of the battery in the preset electric quantity duration when the electric quantity of the battery reaches the preset electric quantity in the charging process;
the first electric quantity acquisition module is configured to determine the preset electric quantity as the first full charge quantity when the duration reaches a first preset duration.
In some embodiments, the detection module is configured to:
and when the electric quantity of the battery reaches the preset electric quantity in the charging process and the charging state is the full charging state, detecting the duration of the electric quantity of the battery in the preset electric quantity.
In some embodiments, the first power acquisition module is further configured to:
The first full charge amount is obtained once every second preset time period from the time period reaching the first preset time period until the electronic equipment is disconnected with the charging equipment;
The obtained N-1 th first full charge amount is an N-1 th second full charge amount, the N-1 th second full charge amount is a second full charge amount corresponding to the current temperature of the battery obtained based on the first corresponding relation after the N-1 th first full charge amount is obtained, N is an integer larger than 1, and the 1 st first full charge amount is the preset electric quantity.
In some embodiments, the charging module is configured to:
controlling the battery to discharge until the electric quantity of the battery is reduced to the second full charge quantity under the condition that the second full charge quantity is smaller than the first full charge quantity;
controlling the battery to charge until the electric quantity of the battery is increased to the second full charge quantity under the condition that the second full charge quantity is larger than the first full charge quantity;
and stopping charging the battery when the second full charge amount is smaller than the first full charge amount.
In some embodiments, the electronic device includes a battery charging path for charging the battery and a system power path for powering a system of the electronic device;
the charging module is configured to:
When the second full charge amount is smaller than the first full charge amount, the battery charging passage and the system power supply passage are controlled to be disconnected until the electric quantity of the battery is reduced to the second full charge amount, and the battery charging passage is controlled to be disconnected and the system power supply passage is controlled to be connected;
When the second full charge amount is larger than the first full charge amount, controlling the battery charging passage to be connected with the system power supply passage until the electric quantity of the battery is increased to the second full charge amount, and controlling the battery charging passage to be disconnected and the system power supply passage to be kept connected;
and under the condition that the second full charge amount is smaller than the first full charge amount, controlling the battery charging path to be disconnected and controlling the system power supply path to be connected.
In some embodiments of the present invention, in some embodiments,
The first electric quantity acquisition module is further configured to acquire a first complex charge quantity corresponding to the first full charge quantity;
the second electric quantity acquisition module is further configured to acquire a second complex charge quantity corresponding to the current temperature of the battery based on a second corresponding relation, wherein the second corresponding relation is a corresponding relation between the temperature of the battery and the complex charge quantity;
The charge amount modification module is further configured to modify a recharge amount of the battery from the first recharge amount to the second recharge amount;
The charging module is further configured to charge based on the second complex charge amount.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A processor;
a memory for storing processor-executable instructions;
Wherein the processor is configured to perform the method as described in the first aspect of the disclosed embodiments.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method as described in the first aspect of embodiments of the present disclosure.
The method has the following beneficial effects:
according to the method provided by the embodiment of the disclosure, the current first full charge amount of the battery of the electronic equipment is obtained, then the second full charge amount is obtained according to the temperature of the battery, the second full charge amount is the full charge amount which is more suitable at the temperature, the full charge battery of the battery is modified from the first full charge amount to the second full charge amount, then the battery is charged based on the second full charge amount, and the full charge amount of the battery is adaptively adjusted according to the temperature of the battery, so that the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, the aging of the battery is delayed, and the problems of battery swelling, expansion and the like caused by the aging of the battery are further delayed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram illustrating a battery capacity loss at different amounts of power at the same ambient temperature, according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a battery charging system according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of battery charging according to an exemplary embodiment;
FIG. 4 is a flow chart of acquiring a full charge according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating another battery charging method according to an exemplary embodiment;
FIG. 6 is a flowchart illustrating another battery charging method according to an exemplary embodiment;
FIG. 7 is a flowchart illustrating another battery charging method according to an exemplary embodiment;
FIG. 8 is a schematic diagram illustrating a full charge monitoring process according to an exemplary embodiment;
fig. 9 is a schematic diagram illustrating a full charge adjustment process according to an exemplary embodiment;
FIG. 10 is a schematic diagram illustrating a battery charging process according to an exemplary embodiment;
FIG. 11 is a device block diagram illustrating a battery charging device according to an exemplary embodiment;
Fig. 12 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
Along with the diversification of the use scene of electronic equipment, many users like to use electronic equipment while charging, and after such use mode causes the battery of electronic equipment to be fully charged, be in the high temperature high pressure state for a long time to lead to the life-span of battery to shorten, appear battery swell, problem such as inflation.
In the related art, aiming at the condition that repeated charging occurs for a plurality of times in a single charging process, the service life of the battery is optimized by reducing the repeated charging times, and in this way, the battery still can be under a higher voltage for a long time due to higher electric quantity during repeated charging. In another related art, when a user starts a night charging mode, the charging capacity of the battery is limited, so that the battery cannot be charged to a full charge, and the method is single, and has limitations without considering an actual charging scene.
For example, referring to the schematic diagram of battery capacity loss at the same ambient temperature and different electric quantities shown in fig. 1, at an ambient temperature of 45 degrees, the electric quantities of two identical batteries are respectively maintained at 50% and 100%, the initial capacities of the two batteries are 100%, the capacity loss of the battery is 1% after the battery is maintained at 50% of the electric quantity for 30 days, the capacity loss of the battery is 5% after the battery is maintained at 100% of the electric quantity for 30 days, the capacity loss of the battery is 1.8% after the battery is maintained at 50% of the electric quantity for 60 days, and the capacity loss of the battery is 9% after the battery is maintained at 100% of the electric quantity for 60 days, as can be seen from fig. 1, the higher the electric quantity of the battery is at the same ambient temperature, the larger the battery capacity loss is. Accordingly, in the embodiments of the present disclosure, the full charge amount of the battery is adjusted according to the relationship between the temperature and the full charge amount of the battery to reduce the loss of the battery capacity.
The battery charging method provided by the embodiment of the disclosure can be applied to various scenes.
For example, the method is applied to a driving navigation scene, a plurality of users can start navigation during driving, and because the navigation is very power-consuming, the users can select to navigate while charging, in this case, the mobile phone can always maintain the state of the navigation while charging, so that the battery of the mobile phone is in a high-temperature and high-pressure state for a long time, and the service life of the battery is influenced.
For example, when the method is applied to a game scene, the power consumption of the game is high, and a plurality of users play the game while charging the game, under the condition that the battery of the mobile phone is always kept at high temperature and high pressure after being full, the service life of the battery is influenced.
Before describing the battery charging mode provided in the embodiments of the present disclosure, a description will be given of a battery charging system, referring to a schematic diagram of the battery charging system shown in fig. 2, the electronic device is connected to a charging device (Adapter), the charging device provides Input Current for the electronic device, and then, through a power supply controller in the electronic device, a part of the Input power is provided as system power to a system of the electronic device, that is, sys Current is provided to the system, another part of the Input power is provided to the battery, that is, charge Current is provided to the battery. When the electronic device is fully charged (the full Charge is 100% by default), the battery charging path is closed, at this time, the Charge Current is 0, the Input Current is all supplied to the system, and when the Input Current is closed, the power consumption of the system is supplied by the battery, and the Charge of the battery is reduced.
Fig. 3 is a flowchart illustrating a method of battery charging, performed by an electronic device, see fig. 3, according to an exemplary embodiment, the method comprising the steps of:
step S301 obtains a first full charge amount of a battery of the electronic device, the first full charge amount being a current full charge amount of the battery.
The electronic equipment is connected with the charging equipment, and the charging equipment is a charger.
In the embodiment of the disclosure, under the condition that the electronic device is connected with the charging device, that is, under the condition that the electronic device is continuously charged, the current full charge amount of the electronic device is obtained, that is, the first full charge amount is obtained, and the full charge amount of the battery is the maximum chargeable electric quantity of the battery in the charging process. For example, the first full charge is 100%, 99%, 98%, or other charge.
Step S302, based on the first correspondence, a second full charge corresponding to the current temperature of the battery is obtained.
The first correspondence is a correspondence between a temperature of the battery and a full charge amount, and the second full charge amount is a full charge amount more suitable for a current temperature of the battery, and may be higher than or lower than or the same as the first full charge amount. For a certain temperature of the battery, when the full charge of the battery is maintained at the full charge corresponding to the temperature, the battery can be prevented from being in a high state of charge all the time.
Step S303, the full charge of the battery is modified from the first full charge to the second full charge.
In the embodiment of the disclosure, during the charging process, the temperature of the battery may be changed along with the ambient temperature, the charging duration, and the use of the electronic device by the user, in which case, the first full charge may not be the most suitable full charge for the current temperature of the battery, and in order to increase the service life of the battery, the full charge of the battery is modified from the first full charge to the second full charge.
Step S304, charging is performed based on the second full charge amount.
Charging based on the second full charge amount means that the charging process of the electronic device by the charging device is adjusted so that the full charge amount of the battery is maintained at the second full charge amount.
According to the method provided by the embodiment of the disclosure, the current first full charge amount of the battery of the electronic equipment is obtained, then the second full charge amount is obtained according to the temperature of the battery, the second full charge amount is the full charge amount which is more suitable at the temperature, the full charge battery of the battery is modified from the first full charge amount to the second full charge amount, then the battery is charged based on the second full charge amount, and the full charge amount of the battery is adaptively adjusted according to the temperature of the battery, so that the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, the aging of the battery is delayed, and the problems of battery swelling, expansion and the like caused by the aging of the battery are further delayed.
The implementation process of steps S301 to S304 may be performed repeatedly, where the first full charge amount is a preset amount of electricity when the process is performed for the first time, and from the second time, the first full charge amount is the second full charge amount obtained last time, and the process of obtaining the first full charge amount is described below:
referring to fig. 4, fig. 4 is a flowchart illustrating a process of acquiring a full charge according to an exemplary embodiment, which is performed by an electronic device, comprising the steps of:
In step S401, when the electric quantity of the battery reaches the preset electric quantity in the charging process, the duration of the electric quantity of the battery in the preset electric quantity is detected.
The preset power is a preset chargeable maximum power, for example, the preset power is 100%, 99% or other power. When the electric quantity of the battery reaches the preset electric quantity, the current charged maximum electric quantity is indicated, the electric quantity of the battery is not increased under the condition of continuous charging, the duration of the electric quantity of the battery at the preset electric quantity is detected at the moment, and the longer the duration is, the longer the duration is indicated under the high-temperature high-electric quantity.
In some embodiments, when the electric quantity of the battery reaches the preset electric quantity in the charging process and the charging state is the full charging state, the duration that the electric quantity of the battery is continuous with the preset electric quantity is detected. The full charge state refers to that the battery capacity is full. In the embodiment of the disclosure, considering that the electric quantity of the battery displayed by the electronic device can be set manually, when the electric quantity of the battery reaches the preset electric quantity, the actual electric quantity of the battery may not reach the preset electric quantity, so that the charging state of the battery needs to be judged, when the charging state is in a full charging state, the battery capacity is indicated to be full, and at the moment, the electric quantity of the battery also reaches the preset electric quantity. For example, the FULL charge state may be denoted FULL.
In some embodiments, when the electric quantity of the battery reaches the preset electric quantity in the charging process, a timer is started, and the timing duration of the timer is a first preset duration. The first preset duration is a preset duration, for example, the first preset duration is 10 minutes, 20 minutes or other durations.
Step S402, when the time length reaches a first preset time length, the preset electric quantity is determined to be a first full charge quantity.
When the duration reaches the first preset duration, the electric quantity of the battery is indicated to be maintained for a period of time at the preset electric quantity, the electric quantity of the battery can not be increased any more, and the preset electric quantity is determined to be the first full charge.
In some embodiments, the timer times out, determining the preset amount of power as the first full charge.
It should be noted that, in other embodiments, the duration does not reach the first preset duration, that is, the timer does not timeout, it is determined whether the charging device is disconnected from the electronic device, if the charging device is not disconnected, the duration that the electric quantity of the battery is continuously detected in the preset electric quantity is continued, if the charging device is disconnected, the timer is closed, charging is stopped, and no further subsequent steps are executed.
And acquiring the first full charge for the nth time, wherein N is an integer greater than 1, namely acquiring the first full charge for one time every second preset time from the time when the time reaches the first preset time until the electronic equipment is disconnected with the charging equipment. The obtained N-1 th first full charge amount is the N-1 th second full charge amount, the N-1 th second full charge amount is the second full charge amount corresponding to the current temperature of the battery obtained based on the first corresponding relation after the N-1 th first full charge amount is obtained, N is an integer larger than 1, and the 1 st first full charge amount is preset electric quantity.
After the first full charge is obtained for the first time and steps S302 to S304 are performed, when the first full charge is obtained for the second time, the first full charge obtained for the second time is the second full charge obtained for the first time, and then the first full charge is obtained in the same way as the second full charge obtained for the first time.
Based on the above-mentioned first and nth processes of acquiring the first full charge amount, the battery charging method of the embodiment of the present disclosure is:
When the electric quantity of the battery in the charging process reaches the preset electric quantity, detecting the duration of the electric quantity of the battery in the preset electric quantity, when the duration reaches the first preset duration, determining the preset electric quantity as a first full charge quantity, executing steps S302-S304, and then taking the second full charge quantity obtained last time as the first full charge quantity in the circulating process when the next cycle starts, and executing steps S302-S304 again until the electronic equipment is disconnected with the charging equipment. The time point of starting each cycle from the second time is a time point which is separated from the first time point by N-1 second preset time length, and the first time point is a time point when the time length reaches the first preset time length.
In the embodiment of the disclosure, the first full charge amount is repeatedly executed, the second full charge amount corresponding to the current temperature of the battery is obtained, the full charge amount of the battery is modified from the first full charge amount to the second full charge amount, and the full charge amount of the battery can be adjusted in real time based on the process of charging the second full charge amount, so that the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, and the aging of the battery is prolonged.
Fig. 5 is a flowchart illustrating another battery charging method performed by an electronic device, see fig. 5, according to an exemplary embodiment, the method comprising the steps of:
step S501 obtains a first full charge amount of a battery of the electronic device, the first full charge amount being a current full charge amount of the battery.
Step S502, based on the first correspondence, obtains a second full charge corresponding to the current temperature of the battery.
Step S503, the full charge of the battery is modified from the first full charge to the second full charge.
The embodiments of steps S501-S503 are the same as the embodiments of steps S301-S303 described above, and will not be described again here.
After step S503, charging based on the second full charge amount includes charging the battery based on a relationship between the second full charge amount and the first full charge amount so that the amount of electricity of the battery is adjusted to the second full charge amount. Three different charging situations are described below by means of steps S504-S506.
In step S504, when the second full charge amount is smaller than the first full charge amount, the battery is controlled to discharge until the electric quantity of the battery decreases to the second full charge amount.
When the second full charge is smaller than the first full charge, the current electric quantity of the battery is higher, and the electric quantity of the battery needs to be reduced, namely, the battery is controlled to discharge until the electric quantity of the battery is reduced to the second full charge.
In some embodiments, the electronic device includes a battery charging path for charging the battery and a system power path for powering a system of the electronic device. The control of the battery discharge until the battery capacity drops to a second full charge comprises the control of the disconnection of the battery charging path and the system power supply path until the battery capacity drops to the second full charge, the control of the battery charging path remaining disconnected and the system power supply path being connected.
The battery charging path and the system power supply path are controlled to be disconnected, namely the electronic equipment is connected with the charging equipment, but the charging equipment does not supply power to the electronic equipment any more, the battery of the electronic equipment is required to supply power to the system of the electronic equipment, the electric quantity of the battery is consumed, the battery discharges when the battery supplies power to the system until the electric quantity of the battery is reduced to the second full charge, the battery charging path is controlled to be disconnected, and the system power supply path is connected, namely the charging equipment supplies power to the system without charging the battery, so that the electric quantity of the battery is adjusted to the second full charge.
In step S505, when the second full charge amount is greater than the first full charge amount, the battery is controlled to be charged until the electric quantity of the battery is increased to the second full charge amount.
Under the condition that the second full charge amount is larger than the first full charge amount, the current electric quantity of the battery is lower, and the electric quantity of the battery needs to be improved, namely, the battery is controlled to be charged until the electric quantity of the battery is improved to the second full charge amount.
In some embodiments, controlling the battery to charge until the charge level of the battery rises to a second full charge level includes controlling the battery charging path to connect with the system power path until the charge level of the battery rises to the second full charge level, controlling the battery charging path to disconnect and the system power path to remain connected.
The battery charging path is controlled to be connected with the system power supply path, even if the charging equipment charges the battery of the electronic equipment and supplies power for the system of the electronic equipment, until the electric quantity of the battery is increased to the second full charge, the battery charging path is controlled to be disconnected, and the system power supply path is kept connected, namely the charging equipment supplies power for the system and does not charge the battery any more, so that the electric quantity of the battery is adjusted to the second full charge.
In step S506, when the second full charge amount is equal to the first full charge amount, the battery is stopped from being charged.
And under the condition that the second full charge amount is equal to the first full charge amount, the current electric quantity of the battery is proper, and the electric quantity of the battery is not required to be changed, namely, the battery is stopped being charged.
In some embodiments, stopping charging the battery includes controlling the battery charging path to disconnect, the system power path to connect, i.e., the charging device powers the system without charging the battery.
In the above-described charging process, the electronic device and the charging device are kept connected, and in another embodiment, the charging is stopped after the electronic device and the charging device are disconnected.
In the embodiment of the disclosure, aiming at the electric quantity of the battery under different conditions, different control modes are adopted, so that the full charge quantity of the battery is adjusted to be the second full charge quantity, namely, the full charge quantity of the battery is adjusted to be the electric quantity suitable for the current temperature of the battery, thereby avoiding the battery of the electronic equipment from being in a high-temperature and high-pressure state for a long time, optimizing the service life of the battery and delaying the aging of the battery.
Fig. 6 is a flowchart illustrating another battery charging method performed by an electronic device, see fig. 6, according to an exemplary embodiment, the method comprising the steps of:
Step S601 obtains a first full charge amount of the battery and a first complex charge amount corresponding to the first full charge amount.
The electronic device is recharged during the charging process, and the recharge amount of the battery is changed when the full charge amount of the battery is changed. The first complex charge amount is a complex charge amount when the full charge amount of the electronic device is the first full charge amount, and each time the first full charge amount is acquired, the first complex charge amount corresponding to the first full charge amount is acquired. For example, the first full charge amount obtained for the first time is 100%, and the first complex charge amount is 98%.
Step S602, based on the first correspondence and the second correspondence, obtains a second full charge amount and a second complex charge amount corresponding to the current temperature of the battery.
The second corresponding relation is a corresponding relation between the temperature of the battery and the complex charge amount, the second complex charge amount is a complex charge amount which is more suitable for the current temperature of the battery, and the second complex charge amount may be higher than the first complex charge amount, may be lower than the first complex charge amount, and may be the same as the first complex charge amount.
For example, the first correspondence relationship and the second correspondence relationship are shown in the following table 1:
TABLE 1
Temperature of battery Full charge amount Complex charge amount
Less than or equal to 40 DEG 100% 98%
Greater than 40 degrees and less than or equal to 42 degrees 90% 88%
Greater than 42 degrees and less than or equal to 44 degrees 80% 78%
More than 44 degrees and less than or equal to 46 degrees 70% 68%
Greater than 46 degrees 60% 58%
The correspondence in table 1 is an example, and in another embodiment, other correspondence may be set.
Note that table 1 is an example, and in table 1, the complex charge amount changes with the full charge amount, and in another embodiment, the complex charge amount is smaller than the full charge amount, and does not necessarily need to change with the full charge amount. For example, the full charge amount is 100% when the temperature of the battery is 40 degrees or less, 95% when the temperature of the battery is 40 degrees or more and 41 degrees or less, and 90% when the temperature of the battery is 41 degrees or less.
Step S603, the full charge amount of the battery is modified from the first full charge amount to the second full charge amount, and the double charge amount of the battery is modified from the first double charge amount to the second double charge amount.
Step S604, charging is performed based on the second full charge amount and the second complex charge amount.
Charging is performed based on the second full charge amount and the second complex charge amount, including any one of the following cases:
And under the condition that the second full charge amount is smaller than the first full charge amount, controlling a charging passage between the electronic equipment and the charging equipment to be disconnected until the electric quantity of the battery is reduced to the second full charge amount, controlling a battery charging passage to be disconnected and a system power supply passage to be connected, controlling the battery charging passage to be connected and the system power supply passage to be connected after the electric quantity of the battery is reduced to a second complex charge amount from the second full charge amount until the electric quantity of the battery is increased to the second full charge amount, and then, after the electric quantity of the battery is reduced to the second complex charge amount again, charging the battery again.
And under the condition that the second full charge amount is larger than the first full charge amount, controlling the connection of the charging paths until the electric quantity of the battery is increased to the second full charge amount, controlling the disconnection of the charging paths of the battery and the connection of the system power supply paths, controlling the connection of the charging paths of the battery and the connection of the system power supply paths after the electric quantity of the battery is reduced from the second full charge amount to the second complex charge amount until the electric quantity of the battery is increased to the second full charge amount, and then charging the battery again after the electric quantity of the battery is reduced to the second complex charge amount again.
And under the condition that the second full charge amount is equal to the first full charge amount, controlling the battery charging passage to be disconnected and the system power supply passage to be connected, after the electric quantity of the battery is reduced from the second full charge amount to the second complex charge amount, controlling the battery charging passage to be connected and the system power supply passage to be connected until the electric quantity of the battery is increased to the second full charge amount, and then, after the electric quantity of the battery is reduced to the second complex charge amount again, charging the battery again.
In the embodiment of the disclosure, the first full charge amount and the first complex charge amount are acquired, then the second full charge amount and the second complex charge amount are acquired according to the temperature of the battery, the full charge battery of the battery is modified from the first full charge amount to the second full charge amount, the complex charge amount of the battery is modified from the first complex charge amount to the second complex charge amount, the full charge amount and the complex charge amount of the battery are adaptively adjusted according to the second full charge amount and the second complex charge amount, and therefore the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, the aging of the battery is prolonged, and the problems of battery swelling, expansion and the like caused by the aging of the battery are further delayed.
The embodiment shown in fig. 6 above describes a case where the battery is charged according to the full charge amount and the double charge amount of the battery, and in another embodiment, the battery may be charged according to the double charge amount.
Fig. 7 is a flowchart illustrating another battery charging method performed by an electronic device, see fig. 7, according to an exemplary embodiment, the method comprising the steps of:
Step S701 obtains a first complex charge amount corresponding to the first full charge amount.
Step S702, based on the second correspondence, obtains a second complex charge amount corresponding to the current temperature of the battery.
Step S703 of modifying the recharging amount of the battery from the first recharging amount to the second recharging amount.
The embodiment of steps S701-S703 is referred to above in steps S601-S603, and will not be described herein.
Step S704, charging is performed based on the second complex charge amount.
Charging based on the second recharge amount includes controlling charging of the battery until the charge amount of the battery increases to the current full charge amount of the battery after the charge amount of the battery decreases from the current full charge amount to the second recharge amount. Wherein the current full charge of the battery is a full charge corresponding to the temperature of the battery.
In some embodiments, when the battery's charge level decreases from the current full charge level to the second complex charge level, the battery charging path and the system power supply path are controlled to connect until the battery's charge level increases to the current full charge level, and then the battery is charged again after the battery's charge level decreases again to the second complex charge level.
In the embodiment of the disclosure, when recharging is performed on the battery, the recharging amount is determined according to the current temperature of the battery, namely, the recharging amount of the battery is adaptively adjusted according to the temperature of the battery, so that the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, the aging of the battery is delayed, and the problems of battery swelling, expansion and the like caused by the aging of the battery are further delayed.
The battery charging method shown in the above-described embodiments may be divided into a full charge detection process, a full charge adjustment process, and a battery charging process, and these three processes are described below by way of the embodiments shown in fig. 8 to 10.
Fig. 8 is a schematic diagram of a full charge monitoring process, see fig. 8, according to an exemplary embodiment, including the steps of:
1. and starting charging, namely connecting the electronic equipment with a charger.
2. And detecting whether the electric quantity of the battery of the electronic equipment is full, namely detecting whether the electric quantity of the battery reaches the preset electric quantity (100%), if the electric quantity is not full, executing the step 1, and if the electric quantity is full, executing the step 3.
3. A timer is started.
4. Judging whether the timer is overtime, if the timer is not overtime, executing step 5, and if the timer is overtime, executing step 8.
5. It is detected whether the charger is in place, i.e. whether the charger is connected to the electronic device, if the timer is out of place, step 6 is performed, and if the timer is in place, step 7 is performed.
6. The charging is stopped and the timer is closed.
7. Maintaining the charger in a full charge state.
It should be noted that, in the process of executing step 5-7, it is also detected whether the timer has timed out, and if the timer has timed out, step 8 is executed.
8. The full charge amount optimization algorithm is started, i.e., the full charge amount adjustment process shown in fig. 8 is performed.
Referring to fig. 9, the full charge amount adjustment process includes the steps of:
1. the algorithm cycle time is set to t, the current first full charge amount Soc_now is 100%, and the current first complex charge amount is 98%.
The algorithm cycle time t is the second preset duration.
2. The full charge optimization algorithm is run in cycles.
3. Detecting whether the charger is in place, if not, executing step 4, and if so, executing step 5.
4. And (5) exiting the cycle of the electric quantity optimization algorithm, recovering the full charge of the battery to 100%, and stopping charging.
5. The temperature t_battery of the battery is read, and the second full charge amount soc_new and the second complex charge amount soc_ recharge are determined according to the temperature.
6. Judging whether the first full charge Soc_now is equal to the second full charge Soc_new, if so, executing the step 2 when starting the next algorithm cycle based on the algorithm cycle time t, and if not, executing the step 7.
7. And executing the full charge algorithm execution function module, namely executing the battery charging process shown in fig. 9, and executing the step 2 when the next algorithm cycle is started based on the algorithm cycle time t after the full charge algorithm execution function module is allowed.
Referring to fig. 10, the battery charging process includes the steps of:
1. Judging whether the second full charge amount is larger than the first full charge amount, if the second full charge amount is larger than the first full charge amount, executing step 2, and if the second full charge amount is smaller than the first full charge amount, executing step 4.
2. The full charge of the battery is modified from a first full charge to a second full charge and the recharge of the battery is modified from a first recharge to a second recharge.
3. And starting the battery to charge until the electric quantity of the battery is increased to the second full charge quantity, and stopping the battery to charge.
The implementation of step 3 is the same as the implementation of step S505 in the above example.
4. The full charge of the battery is modified from a first full charge to a second full charge and the recharge of the battery is modified from a first recharge to a second recharge.
5. And closing the input current, supplying power to the system by the battery, and opening the input current until the electric quantity of the battery is reduced to a second full charge quantity.
The implementation of step 5 is the same as the implementation of step S504 in the above example.
Fig. 11 is an apparatus block diagram of a battery charging apparatus configured to an electronic device according to an exemplary embodiment, see fig. 11, the apparatus including:
the first electric quantity obtaining module 1101 is configured to obtain a first full charge quantity of a battery of the electronic device, where the first full charge quantity is a current full charge quantity of the battery, the electronic device is connected with the charging device, and the full charge quantity of the battery is a chargeable maximum electric quantity of the battery in a charging process;
The second electric quantity obtaining module 1102 is configured to obtain a second full charge corresponding to the current temperature of the battery based on a first correspondence relationship, where the first correspondence relationship is a correspondence relationship between the temperature of the battery and the full charge;
An electrical quantity modifying module 1103 configured to modify a full charge quantity of the battery from a first full charge quantity to a second full charge quantity;
The charging module 1104 is configured to charge based on the second full charge amount.
According to the device provided by the embodiment of the disclosure, the current first full charge amount of the battery of the electronic equipment is obtained, then the second full charge amount is obtained according to the temperature of the battery, the second full charge amount is the full charge amount more suitable at the temperature, the full charge battery of the battery is modified from the first full charge amount to the second full charge amount, and then the battery is charged based on the second full charge amount, and the full charge amount of the battery is adaptively adjusted according to the temperature of the battery, so that the battery of the electronic equipment is prevented from being in a high-temperature and high-pressure state for a long time, the service life of the battery is prolonged, the aging of the battery is prolonged, and the problems of battery swelling, expansion and the like caused by the aging of the battery are further delayed.
In some embodiments, the apparatus further comprises:
The detection module is configured to detect duration of the electric quantity of the battery in the preset electric quantity when the electric quantity of the battery reaches the preset electric quantity in the charging process;
the first power acquisition module 1101 is configured to determine the preset power as a first full charge amount when the first preset time period is reached.
In some embodiments, the detection module is configured to:
when the electric quantity of the battery reaches the preset electric quantity in the charging process and the charging state is the full charging state, detecting the duration of the electric quantity of the battery in the preset electric quantity.
In some embodiments, the first power acquisition module 1101 is further configured to:
starting from the time length reaching the first preset time length, acquiring a first full charge amount every second preset time length until the electronic equipment is disconnected with the charging equipment;
The obtained N-1 th first full charge amount is the N-1 th second full charge amount, the N-1 th second full charge amount is the second full charge amount corresponding to the current temperature of the battery obtained based on the first corresponding relation after the N-1 th first full charge amount is obtained, N is an integer larger than 1, and the 1 st first full charge amount is preset electric quantity.
In some embodiments, the charging module 1104 is configured to:
the battery is charged based on a relationship between the second full charge amount and the first full charge amount so that the amount of electricity of the battery is adjusted to the second full charge amount.
In some embodiments, the charging module 1104 is configured to:
controlling the battery to discharge until the electric quantity of the battery is reduced to the second full charge quantity under the condition that the second full charge quantity is smaller than the first full charge quantity;
Controlling the battery to charge until the electric quantity of the battery is increased to the second full charge quantity under the condition that the second full charge quantity is larger than the first full charge quantity;
And stopping charging the battery when the second full charge amount is smaller than the first full charge amount.
In some embodiments, an electronic device includes a battery charging path to charge a battery and a system power path to power a system of the electronic device;
A charging module 1104 configured to:
under the condition that the second full charge is smaller than the first full charge, the battery charging passage and the system power supply passage are controlled to be disconnected until the electric quantity of the battery is reduced to the second full charge, and the battery charging passage is controlled to be disconnected and the system power supply passage is controlled to be connected;
Under the condition that the second full charge amount is larger than the first full charge amount, controlling the battery charging passage to be connected with the system power supply passage until the electric quantity of the battery is increased to the second full charge amount, and controlling the battery charging passage to be disconnected and the system power supply passage to be kept connected;
And when the second full charge amount is smaller than the first full charge amount, the battery charging path is controlled to be disconnected and the system power supply path is controlled to be connected.
In some embodiments of the present invention, in some embodiments,
The first power acquisition module 1101 is further configured to acquire a first complex charge amount corresponding to the first full charge amount;
The second electric quantity obtaining module 1102 is further configured to obtain a second complex charge quantity corresponding to the current temperature of the battery based on a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between the temperature of the battery and the complex charge quantity;
the power modification module 1103 is further configured to modify a complex charge amount of the battery from a first complex charge amount to a second complex charge amount;
The charging module 1104 is further configured to charge based on the second complex charge amount.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the disclosure also provides an electronic device, which comprises a processor, a memory for storing instructions executable by the processor, wherein the processor is configured to execute the battery charging method in the embodiment.
Fig. 12 is a block diagram of an electronic device 1200, shown in accordance with an exemplary embodiment.
Referring to FIG. 12, an electronic device 1200 can include one or more of a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, and a communications component 1216.
The processing component 1202 generally controls overall operation of the electronic device 1200, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1202 may include one or more modules that facilitate interactions between the processing component 1202 and other components. For example, the processing component 1202 may include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operations at the electronic device 1200. Examples of such data include instructions for any application or method operating on the electronic device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply assembly 1206 provides power to the various components of the electronic device 1200. The power supply components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1200.
The multimedia component 1208 includes a screen between the electronic device 1200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. When the electronic device 1200 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1204 or transmitted via the communications component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, an activate button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects of the electronic device 1200. For example, the sensor assembly 1214 may detect an on/off state of the electronic device 1200, a relative positioning of components such as a display and keypad of the electronic device 1200, a change in position of the electronic device 1200 or a component of the electronic device 1200, the presence or absence of a user's contact with the electronic device 1200, an orientation or acceleration/deceleration of the electronic device 1200, and a change in temperature of the electronic device 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communication between the electronic device 1200 and other devices, either wired or wireless. The electronic device 1200 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 1204, comprising instructions executable by processor 1220 of electronic device 1200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The disclosed embodiments also provide a non-transitory computer readable storage medium that, when executed by a processor of an electronic device, enables the electronic device to perform the battery charging method of the above embodiments.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1.一种电池充电方法,其特征在于,所述方法包括:1. A battery charging method, characterized in that the method comprises: 获取电子设备的电池的第一满充电量,所述第一满充电量为所述电池当前的满充电量,所述电子设备与充电设备连接,所述电池的满充电量为所述电池在充电过程中可充电的最大电量;The first full charge capacity of the battery of the electronic device is obtained. The first full charge capacity is the current full charge capacity of the battery. The electronic device is connected to the charging device. The full charge capacity of the battery is the maximum amount of charge that the battery can be charged during the charging process. 基于第一对应关系,获取所述电池当前的温度对应的第二满充电量,所述第一对应关系为电池的温度与满充电量之间的对应关系;Based on the first correspondence, the second full charge capacity corresponding to the current temperature of the battery is obtained, where the first correspondence is the correspondence between the battery temperature and the full charge capacity. 将所述电池的满充电量从所述第一满充电量修改为所述第二满充电量;The full charge capacity of the battery is changed from the first full charge capacity to the second full charge capacity; 基于所述第二满充电量进行充电。Charge based on the second full charge level. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 当充电过程中所述电池的电量达到预设电量时,检测所述电池的电量在所述预设电量持续的时长;When the battery reaches a preset charge level during the charging process, the duration for which the battery remains at the preset charge level is detected. 所述获取电子设备的电池的第一满充电量,包括:The process of obtaining the first full charge level of the battery of the electronic device includes: 当所述时长达到第一预设时长时,将所述预设电量确定为所述第一满充电量。When the duration reaches the first preset duration, the preset battery level is determined as the first full charge level. 3.根据权利要求2所述的方法,其特征在于,所述当充电过程中所述电池的电量达到预设电量时,检测所述电池的电量在所述预设电量持续的时长,包括:3. The method according to claim 2, characterized in that, when the battery charge reaches a preset charge during the charging process, detecting the duration for which the battery charge remains at the preset charge includes: 当充电过程中所述电池的电量达到所述预设电量,且充电状态为满充状态时,检测所述电池的电量在所述预设电量持续的所述时长。When the battery reaches the preset charge level during the charging process and the charging status is full charge, the battery charge level is detected for the duration during which the preset charge level is reached. 4.根据权利要求2所述的方法,其特征在于,所述获取电子设备的电池的第一满充电量,还包括:4. The method according to claim 2, wherein obtaining the first fully charged capacity of the battery of the electronic device further includes: 从所述时长达到所述第一预设时长开始,每隔第二预设时长,获取一次所述第一满充电量,直至所述电子设备与所述充电设备断开连接;Starting from the time period reaching the first preset time period, the first full charge amount is obtained every second preset time period until the electronic device is disconnected from the charging device; 其中,获取到的第N个第一满充电量为第N-1个第二满充电量,所述第N-1个第二满充电量为获取到第N-1个第一满充电量后基于所述第一对应关系获取到的所述电池当前的温度对应的第二满充电量,N为大于1的整数,第1个第一满充电量为所述预设电量。Wherein, the Nth first full charge is the (N-1)th second full charge, and the (N-1)th second full charge is the second full charge corresponding to the current temperature of the battery obtained after obtaining the (N-1)th first full charge based on the first correspondence, where N is an integer greater than 1, and the first first full charge is the preset charge. 5.根据权利要求1所述的方法,其特征在于,所述基于所述第二满充电量进行充电,包括以下任一项:5. The method according to claim 1, wherein the charging based on the second full charge capacity includes any one of the following: 在所述第二满充电量小于所述第一满充电量的情况下,控制所述电池放电直至所述电池的电量降至所述第二满充电量;If the second full charge is less than the first full charge, the battery is controlled to discharge until the battery charge drops to the second full charge. 在所述第二满充电量大于所述第一满充电量的情况下,控制所述电池充电直至所述电池的电量提升至所述第二满充电量;If the second full charge capacity is greater than the first full charge capacity, control the battery to charge until the battery capacity is increased to the second full charge capacity; 在所述第二满充电量小于所述第一满充电量的情况下,停止对所述电池充电。If the second full charge is less than the first full charge, charging of the battery is stopped. 6.根据权利要求5所述的方法,其特征在于,所述电子设备包括电池充电通路和系统供电通路,所述电池充电通路用于为所述电池充电,所述系统供电通路用于为所述电子设备的系统进行供电;6. The method according to claim 5, wherein the electronic device includes a battery charging path and a system power supply path, the battery charging path being used to charge the battery, and the system power supply path being used to supply power to the system of the electronic device; 所述控制所述电池放电直至所述电池的电量降至所述第二满充电量,包括:Controlling the battery to discharge until its charge drops to the second full charge level includes: 控制所述电池充电通路和所述系统供电通路断开连接,直至所述电池的电量降低至所述第二满充电量,控制所述电池充电通路保持断开连接、所述系统供电通路连接;The battery charging path and the system power supply path are disconnected until the battery charge drops to the second full charge level. The battery charging path remains disconnected while the system power supply path remains connected. 所述控制所述电池充电直至所述电池的电量提升至所述第二满充电量,包括:The step of controlling the battery to charge until the battery capacity reaches the second full charge level includes: 控制所述电池充电通路和所述系统供电通路连接,直至所述电池的电量提升至所述第二满充电量,控制所述电池充电通路断开连接、所述系统供电通路保持连接;Control the connection between the battery charging path and the system power supply path until the battery charge reaches the second full charge level, then control the battery charging path to disconnect while keeping the system power supply path connected; 所述停止对所述电池充电,包括:The step of stopping charging the battery includes: 控制所述电池充电通路断开连接、所述系统供电通路连接。The battery charging path is disconnected, and the system power supply path is connected. 7.根据权利要求1-6任一权利要求所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 1-6, characterized in that the method further comprises: 获取所述第一满充电量对应的第一复充电量;Obtain the first recharge amount corresponding to the first full charge amount; 基于第二对应关系,获取所述电池当前的温度对应的第二复充电量,所述第二对应关系为电池的温度与复充电量之间的对应关系;Based on the second correspondence, the second recharge amount corresponding to the current temperature of the battery is obtained, and the second correspondence is the correspondence between the temperature of the battery and the recharge amount. 将所述电池的复充电量从所述第一复充电量修改为所述第二复充电量;The recharge capacity of the battery is changed from the first recharge capacity to the second recharge capacity; 基于所述第二复充电量进行充电。Charge based on the second recharge amount. 8.一种电池充电装置,其特征在于,所述装置包括:8. A battery charging device, characterized in that the device comprises: 第一电量获取模块,被配置为获取电子设备的电池的第一满充电量,所述第一满充电量为所述电池当前的满充电量,所述电子设备与充电设备连接,所述电池的满充电量为所述电池在充电过程中可充电的最大电量;The first power acquisition module is configured to acquire the first full charge capacity of the battery of the electronic device. The first full charge capacity is the current full charge capacity of the battery. The electronic device is connected to a charging device. The full charge capacity of the battery is the maximum amount of power that the battery can be charged during the charging process. 第二电量获取模块,被配置为基于第一对应关系,获取所述电池当前的温度对应的第二满充电量,所述第一对应关系为电池的温度与满充电量之间的对应关系;The second power acquisition module is configured to acquire the second full charge capacity corresponding to the current temperature of the battery based on a first correspondence relationship, wherein the first correspondence relationship is the correspondence between the battery temperature and the full charge capacity. 电量修改模块,被配置为将所述电池的满充电量从所述第一满充电量修改为所述第二满充电量;The battery power modification module is configured to modify the full charge capacity of the battery from the first full charge capacity to the second full charge capacity; 充电模块,被配置为基于所述第二满充电量进行充电。The charging module is configured to charge based on the second full charge capacity. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that it comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;Memory used to store processor-executable instructions; 其中,所述处理器被配置为执行如权利要求1-7中任一项所述的方法。The processor is configured to perform the method as described in any one of claims 1-7. 10.一种非临时性计算机可读存储介质,其特征在于,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如权利要求1-7中任一项所述的方法。10. A non-transitory computer-readable storage medium, characterized in that, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is able to perform the method as described in any one of claims 1-7.
CN202310919873.1A 2023-07-25 2023-07-25 Battery charging method and device, electronic equipment and storage medium Active CN119381597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310919873.1A CN119381597B (en) 2023-07-25 2023-07-25 Battery charging method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310919873.1A CN119381597B (en) 2023-07-25 2023-07-25 Battery charging method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN119381597A CN119381597A (en) 2025-01-28
CN119381597B true CN119381597B (en) 2025-11-21

Family

ID=94340039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310919873.1A Active CN119381597B (en) 2023-07-25 2023-07-25 Battery charging method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN119381597B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120054228A (en) * 2010-11-19 2012-05-30 현대모비스 주식회사 Method for correcting full charge capacity of battery
CN107845838A (en) * 2017-09-20 2018-03-27 捷开通讯(深圳)有限公司 Electronic equipment and its battery charging and discharging method, the device with store function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5673470B2 (en) * 2011-09-21 2015-02-18 三菱自動車工業株式会社 Charger

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120054228A (en) * 2010-11-19 2012-05-30 현대모비스 주식회사 Method for correcting full charge capacity of battery
CN107845838A (en) * 2017-09-20 2018-03-27 捷开通讯(深圳)有限公司 Electronic equipment and its battery charging and discharging method, the device with store function

Also Published As

Publication number Publication date
CN119381597A (en) 2025-01-28

Similar Documents

Publication Publication Date Title
CN112542863A (en) Charging method and device, and readable storage medium
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
EP4047780A1 (en) Charging method and apparatus, electronic device and storage medium
CN112994126B (en) Charging circuit, electronic device, charging method and device
CN113824195A (en) Charging control method and device, terminal, and computer-readable storage medium
EP3764505B1 (en) Method and apparatus for controlling charge
CN112421702A (en) Lithium battery charging method and device
CN112821508B (en) Charging method, device and storage medium
CN119381597B (en) Battery charging method and device, electronic equipment and storage medium
CN112448039B (en) Lithium ion battery and method and device for controlling charge and discharge of lithium ion battery
CN114069744A (en) Intelligent charging method and device and storage medium
CN113572210A (en) A charging method, device, equipment and storage medium
CN108429312B (en) Charging control method and device
CN113922457B (en) Charging method, device, electronic device and storage medium
CN114362326B (en) Charging and discharging system, method and device, terminal equipment and storage medium
CN114977348B (en) Method, device and storage medium for determining battery charging time
US11444477B2 (en) Constant power charging method and device for mobile terminal
CN117335512A (en) Charge and discharge circuits, charge and discharge batteries and electronic equipment
CN111509789B (en) Charging method and device
CN109038697A (en) Charge control method and battery charge controller, electronic equipment
CN113572208A (en) Battery charging method and device
CN216489841U (en) Charge and discharge circuit and electronic equipment
CN119482788A (en) A charging control method and device, storage medium and electronic device
CN119341139A (en) Charging method, device, electronic device and storage medium
CN118826188A (en) Battery management method, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant