Charging method and charging device of battery, electronic equipment and storage medium

By dynamically obtaining the current battery capacity proportion and adjusting the charging current threshold, the problem of the actual discharge capacity of the battery being reduced due to the full charge of the battery after the battery is aging, and the matching of the battery display and actual capacity is achieved.

CN119727035APending Publication Date: 2025-03-28VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411916085.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

After the battery ages, the battery capacity is fully charged in advance, resulting in the reduction of the actual discharge capacity of the battery.

Method used

By dynamically obtaining the current capacity proportion of the battery, and adjusting the full current threshold and preset current value based on this proportion, avoiding the meter from mistakenly thinking that the battery is full and reporting 100% of the power in advance.

Benefits of technology

Ensure that the battery display capacity always matches the actual remaining capacity after the battery is aging, and avoid the problem of reducing the actual discharge capacity of the battery caused by the full charge of the battery in advance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727035A_ABST
    Figure CN119727035A_ABST
Patent Text Reader

Abstract

The invention discloses a battery charging method and device, electronic equipment and a storage medium, and belongs to the technical field of battery management. The method comprises the following steps: controlling a battery to charge based on a preset current value; under the condition that the current charging current of the battery is smaller than or equal to the full-charge current threshold value, the current battery capacity of the battery is obtained; determining the current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery; and reducing at least one of a full-charge current threshold and a preset current value based on a comparison result of the current capacity ratio and a capacity ratio threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of battery management technology, and specifically relates to a battery charging method and charging device, electronic equipment and storage medium. Background Art

[0002] In the related art, when an electronic device charges its internal battery, it generally uses a fuel gauge to record the amount of electricity during the charging process to ensure that the reported battery power is 100%, i.e. fully charged, when charging is completed. The fuel gauge determines whether the reported power is fully charged based on the charging current or voltage.

[0003] When the battery ages, it needs to be charged through a long period of low-current charging to depolarize the battery before it can be fully charged. After the low-current charging process begins, the fuel gauge will immediately report that the battery is fully charged when it detects that the charging current is decreasing, but the battery is not actually fully charged at this time, which will cause the battery discharge capacity to be less than the actual remaining battery capacity, and the battery discharge capacity will be significantly reduced. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a battery charging method and charging device, electronic device and storage medium, which can solve the problem of reduced actual discharge capacity of the battery due to the fuel gauge reporting full charge in advance after battery aging.

[0005] In a first aspect, an embodiment of the present application provides a battery charging method, the method comprising:

[0006] Controlling the battery to charge based on a preset current value;

[0007] When the current charging current of the battery is less than or equal to the full-charge current threshold, obtaining the current battery capacity of the battery;

[0008] Determine the current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery;

[0009] Based on the comparison result between the current capacity ratio and the capacity ratio threshold, at least one of the full-charge current threshold and the preset current value is reduced.

[0010] In a second aspect, an embodiment of the present application provides a battery charging device, the charging device comprising:

[0011] A charging module, used for controlling the battery to charge based on a preset current value;

[0012] An acquisition module, used for acquiring a current battery capacity of the battery when a current charging current of the battery is less than or equal to a full-charge current threshold;

[0013] A determination module, used to determine the current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery;

[0014] The adjustment module is used to reduce at least one of the full-charge current threshold and the preset current value based on the comparison result between the current capacity ratio and the capacity ratio threshold.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.

[0017] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.

[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.

[0019] In the embodiment of the present application, each time the battery completes a charge, the current battery capacity of the battery is dynamically acquired, thereby determining the current capacity ratio of the battery, that is, the current maximum remaining capacity of the battery relative to when it was new. Based on the current capacity ratio, the full charge current threshold of the battery is dynamically adjusted or the charging current of the battery is adjusted, such as lowering the charging current threshold, or lowering the charging current of the battery, to avoid the problem that when the battery enters the charging process of small current depolarization, the fuel gauge mistakenly thinks that the battery is full and reports 100% power, resulting in premature termination of charging. The problem of the actual discharge capacity of the battery being reduced due to the fuel gauge reporting full power in advance after battery aging is avoided, so that the power display capacity of the battery after aging can always match the actual remaining capacity. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart showing a battery charging method according to some embodiments of the present application is shown;

[0021] Figure 2 A schematic diagram showing the correspondence between the full-charge current threshold and the capacity ratio in some embodiments of the present application is shown;

[0022] Figure 3 A schematic diagram showing the relationship between charging current and capacity ratio in some embodiments of the present application is shown;

[0023] Figure 4 A structural block diagram of a battery charging device according to some embodiments of the present application is shown;

[0024] Figure 5 A structural block diagram of an electronic device according to an embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] The battery charging method and charging device, electronic device and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0029] In some embodiments of the present application, a battery charging method is provided. Figure 1 A flowchart of a battery charging method according to some embodiments of the present application is shown. Figure 1 As shown, the method includes:

[0030] Step 102: Control the battery to charge based on a preset current value.

[0031] In the embodiment of the present application, the preset current value is the charging current value of the battery in the current charge and discharge cycle. When the battery is charged, the battery is charged with the above preset current value.

[0032] Step 104 : when the current charging current of the battery is less than or equal to the full-charge current threshold, obtain the current battery capacity of the battery.

[0033] In the embodiment of the present application, the full-charge current threshold is the current threshold when the battery's fuel gauge reports a charge of 100%. Exemplarily, when the battery is in a healthy state, such as for a brand new battery, when it is not fully charged, the charging current remains at a preset current value. When the battery is fully charged, the charging current decreases, and when the charging current decreases to a value equal to or less than the full-charge current threshold, the fuel gauge reports that the battery charge has reached 100%, and the electronic device will display that the battery is fully charged.

[0034] As the number of battery charge and discharge cycles increases, the battery cells will gradually age. When the battery ages, the battery capacity will decrease compared to a brand new battery. In each charge and discharge cycle, when the battery charging is terminated, the current battery capacity of the battery is obtained to obtain the current cumulative capacity CAP2 of the battery. Assuming that the battery capacity when the battery is brand new is CAP1, CAP2 will be less than CAP1.

[0035] Step 106, determining the current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery.

[0036] In the embodiment of the present application, when the battery is aged, it needs to pass a long period of small current to depolarize the battery in order to fully charge the battery. Once the small current triggers the full charge current threshold of the fuel gauge, the fuel gauge will report 100% of the power in advance, while the battery is not yet fully charged. This causes the battery discharge power to be less than the actual battery power.

[0037] To address this problem, this application obtains the current battery capacity at the end of each charge, and calculates the current capacity ratio based on the current capacitance and the initial capacity of the battery. The current capacity ratio is the discharge capacity of the battery when the power meter reports 100% power, while keeping the current full-charge current threshold unchanged. The current capacity ratio can be used to determine whether the discharge capacity of the battery when the power meter reports 100% power is less than the actual remaining capacity of the battery.

[0038] For example, after the battery is charged for the first time, the battery capacity obtained is CAP1, which is the initial battery capacity of a new battery. Assuming that the current battery capacity obtained after the current charging is terminated is CAP2, the current capacity percentage of the battery can be calculated by the following formula:

[0039] ΔCAP=(CAP2-CAP1)÷CAP2;

[0040] Among them, ΔCAP is the current capacity percentage, CAP2 is the current battery capacity, and CAP1 is the initial battery capacity.

[0041] Step 108, based on the comparison result between the current capacity percentage and the capacity percentage threshold, reduce at least one of the full-charge current threshold and the preset current value.

[0042] In the embodiment of the present application, the capacity percentage threshold is the preset battery capacity percentage when the fuel gauge reports a target power of 100%. If the current capacity percentage is less than the capacity percentage threshold, it means that the discharged power of the battery when the fuel gauge reports a power of 100% is less than the actual maximum power of the battery. Otherwise, it means that the discharged power of the battery when the fuel gauge reports a power of 100% matches the actual maximum power of the battery.

[0043] Each time the battery completes a charge, the current battery capacity of the battery is dynamically acquired to determine the current capacity ratio of the battery, that is, the maximum remaining capacity of the current battery relative to when it was new. Based on the current capacity ratio, the full charge current threshold of the battery or the charging current of the battery is dynamically adjusted, such as lowering the charging current threshold or lowering the charging current of the battery, to avoid the problem that when the battery enters the charging process of small current depolarization, the fuel gauge mistakenly thinks that the battery is fully charged and reports 100% of the power, causing the charging to terminate prematurely. The problem of the actual discharge capacity of the battery being reduced due to the fuel gauge reporting the full charge in advance after battery aging is avoided, so that the power display capacity of the battery after aging can always match the actual remaining capacity.

[0044] In some embodiments of the present application, based on the comparison result of the current capacity share and the capacity share threshold, at least one of the full-charge current threshold and the preset current value is lowered, including: when the current capacity share is less than or equal to the capacity share threshold, the full-charge current threshold is reduced by a first current value.

[0045] In the embodiment of the present application, if the current capacity percentage is less than or equal to the capacity percentage threshold, it means that when the current charging current threshold is used as the standard, at the time when the power meter reports 100% power, the battery has not actually been charged to the maximum power. At this time, the full charge current threshold is adjusted to reduce the first current value, wherein the first current value is a preset current value, and the first current value is a constant.

[0046] Exemplarily, assuming that the full-charge current threshold before adjustment is C, and the first current value is ΔC, the full-charge current threshold after adjustment is C-ΔC.

[0047] Figure 2 A schematic diagram showing the correspondence between the full-charge current threshold and the capacity ratio in some embodiments of the present application is shown, such as Figure 2 As shown in the figure, when the battery is in a brand new state, the initial full charge current threshold is C0, and then whenever the current capacity ratio is less than or equal to the capacity ratio threshold, the full charge current threshold is reduced to obtain C1, C2, C3, C4, C5, etc., where the current full charge current is C. This ensures that the discharge capacity after charging matches the actual remaining capacity of the battery, and avoids the problem of the actual discharge capacity of the battery being reduced due to the fuel gauge reporting the full charge in advance after the battery is aged.

[0048] In some embodiments of the present application, after adjusting at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold, the charging method also includes: when the current capacity proportion is not less than the capacity proportion threshold and the full-charge current threshold is less than the charging current threshold, increasing the full-charge current threshold by a first current value.

[0049] In an embodiment of the present application, if the current capacity percentage is greater than the capacity percentage threshold, it means that when the current charging current threshold is used as the standard, when the power gauge reports 100% power, the battery has reached or is close to the maximum power, and there is no need to reduce the full charge current threshold.

[0050] On this basis, it is determined whether the full-charge current threshold is less than or equal to the charging current threshold. Among them, the charging current threshold is the threshold of the inefficient charging current. When the full-charge current threshold is less than the charging current threshold, the charging capacity is too small in the same charging time, which will affect the battery charging efficiency. Therefore, the full-charge current threshold is relaxed, and the full-charge current threshold is increased by the first current value. For example, assuming that the full-charge current threshold before the current adjustment is C, and the first current value is ΔC, the adjusted full-charge current threshold is (C+ΔC).

[0051] By increasing the full-charge current threshold when the time node when the fuel gauge reports 100% of the power is reasonable, the charging efficiency can be improved and the charging time can be optimized.

[0052] In some embodiments of the present application, based on the comparison result of the current capacity proportion and the capacity proportion threshold, at least one of the full charge current threshold and the preset current value is lowered, including: when the current capacity proportion is less than the capacity proportion threshold, the preset current value is reduced by a second current value.

[0053] In the embodiment of the present application, the preset current value is the charging current when the battery is charged. Under the same charging current, the capacity ratio when the current reaches 100% of the power reported by the fuel gauge is different. As the battery ages, the charging current of the battery will also increase. The battery will be more easily polarized due to the aging of the battery and the high charging current. Therefore, it takes a longer time to charge with a small current to depolarize the battery. This results in the actual discharge capacity of the battery being smaller when the full charge current threshold is triggered.

[0054] Figure 3 A schematic diagram showing the relationship between charging current and capacity ratio in some embodiments of the present application is shown, such as Figure 3 As shown, I max is the maximum charging current of the battery, I 充电 is the preset current value, I min is the minimum charging current of the battery, I 100% is the full charge current threshold, I截止 The current threshold at which charging of the battery is stopped.

[0055] Therefore, when the current capacity share is less than or equal to the capacity share threshold, reducing the preset current value during charging can effectively alleviate the problem of battery polarization, thereby reducing the depolarization time through small current charging, and further reducing the impact of small current charging triggering the full charge current threshold on the battery capacity.

[0056] Exemplarily, assuming that the preset current value before adjustment is I and the second current value is ΔI, the preset current value after adjustment is I-ΔI.

[0057] Exemplarily, after adjusting and lowering the preset current, the full-charge current threshold may also be adjusted simultaneously, thereby avoiding the problem of a reduction in the actual discharge capacity of the battery due to the fuel gauge reporting full charge in advance after battery aging.

[0058] In some embodiments of the present application, after adjusting at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold, the charging method also includes: when the current capacity proportion is not less than the capacity proportion threshold and the maximum value of the preset current value is less than the maximum charging current value, increasing the maximum value of the preset current value by a second current value.

[0059] In an embodiment of the present application, if the current capacity percentage is greater than the capacity percentage threshold, it means that when the current charging current threshold is used as the standard, when the power gauge reports 100% power, the battery has reached or is close to the maximum power. At this time, there is no need to reduce the charging current value, that is, the preset current value.

[0060] On this basis, it is determined whether the maximum value of the preset current value is less than or equal to the maximum charging current value. The maximum charging current value is the upper limit of the charging current allowed by the battery. If the maximum value of the preset current value is less than the maximum charging current value, the battery charging efficiency has not reached the highest. At this time, the maximum value of the preset current value is adjusted to increase the second current value, thereby improving the charging efficiency. For example, assuming that the current preset current value is I and the second current value is ΔI, the adjusted preset current value is (I+ΔI).

[0061] By increasing the charging current value when the time node when the fuel gauge reports 100% of the power is reasonable, the charging efficiency can be improved and the charging time can be optimized.

[0062] The battery charging method provided in the embodiment of the present application can be executed by a battery charging device. In the embodiment of the present application, the battery charging method is executed by a battery charging device as an example to illustrate the battery charging device provided in the embodiment of the present application.

[0063] In some embodiments of the present application, a battery charging device is provided. Figure 4 The structure block diagram of the battery charging device of some embodiments of the present application is shown as follows: Figure 4 As shown, the battery charging device 400 includes:

[0064] A charging module 402, used to control the battery to charge based on a preset current value;

[0065] An acquisition module 404 is used to acquire the current battery capacity of the battery when the current charging current of the battery is less than or equal to the full-charge current threshold;

[0066] A determination module 406, configured to determine a current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery;

[0067] The adjustment module 408 is used to reduce at least one of the full-charge current threshold and the preset current value based on the comparison result between the current capacity ratio and the capacity ratio threshold.

[0068] In the embodiment of the present application, each time the battery completes a charge, the current battery capacity of the battery is dynamically acquired, thereby determining the current capacity ratio of the battery, that is, the current maximum remaining capacity of the battery relative to when it was new. Based on the current capacity ratio, the full charge current threshold of the battery or the charging current of the battery is dynamically adjusted, so that the battery's fuel gauge can report 100% of the power when the battery is truly full, avoiding the problem of the actual discharge capacity of the battery being reduced due to the fuel gauge reporting the full charge in advance after the battery ages, so that the power display capacity of the battery after aging can always match the actual remaining capacity.

[0069] In some embodiments of the present application, the adjustment module 408 is further configured to reduce the full-charge current threshold by a first current value when the current capacity ratio is less than the capacity ratio threshold.

[0070] This application can ensure that the discharged power after charging matches the actual remaining capacity of the battery, avoiding the problem of the actual discharge capacity of the battery decreasing due to the fuel gauge reporting full power in advance after battery aging.

[0071] In some embodiments of the present application, the adjustment module 408 is further used to increase the full-charge current threshold by a first current value when the current capacity ratio is not less than the capacity ratio threshold and the full-charge current threshold is less than the charging current threshold.

[0072] The present application can improve charging efficiency and optimize charging time by increasing the full-charge current threshold when the time node when the power gauge reports 100% of the power is reasonable.

[0073] In some embodiments of the present application, the adjustment module 408 is further configured to reduce the preset current value by a second current value when the current capacity share is less than or equal to a capacity share threshold.

[0074] The present application reduces the preset current value during charging when the current capacity ratio is less than or equal to the capacity ratio threshold, which can effectively alleviate the problem of battery polarization, thereby reducing the depolarization time through small current charging, and further reducing the impact of small current charging triggering the full charge current threshold on the battery capacity.

[0075] In some embodiments of the present application, the adjustment module 408 is further configured to increase the preset current value by a second current value when the current capacity ratio is not less than the capacity ratio threshold and the preset current value is less than the maximum charging current value.

[0076] The present application can improve the charging efficiency and optimize the charging time by increasing the charging current value when the time node when the power meter reports 100% of the power is reasonable.

[0077] The battery charging device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0078] The battery charging device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0079] The battery charging device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0080] Optionally, an embodiment of the present application further provides an electronic device, Figure 5 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Figure 5 As shown, the electronic device 500 includes a processor 502, a memory 504, and a program or instruction stored in the memory 504 and executable on the processor 502. When the program or instruction is executed by the processor 502, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0081] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0082] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0083] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610 and other components.

[0084] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0085] Among them, the processor 610 is used to control the charging of the battery based on a preset current value; when the current charging current of the battery is less than or equal to the full-charge current threshold, obtain the current battery capacity of the battery; determine the current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery; based on the comparison result of the current capacity ratio and the capacity ratio threshold, reduce at least one of the full-charge current threshold and the preset current value.

[0086] In the embodiment of the present application, each time the battery completes a charge, the current battery capacity of the battery is dynamically acquired, thereby determining the current capacity ratio of the battery, that is, the current maximum remaining capacity of the battery relative to when it was new. Based on the current capacity ratio, the full charge current threshold of the battery is dynamically adjusted or the charging current of the battery is adjusted, such as lowering the charging current threshold, or lowering the charging current of the battery, to avoid the problem that when the battery enters the charging process of small current depolarization, the fuel gauge mistakenly thinks that the battery is full and reports 100% power, resulting in premature termination of charging. The problem of the actual discharge capacity of the battery being reduced due to the fuel gauge reporting full power in advance after battery aging is avoided, so that the power display capacity of the battery after aging can always match the actual remaining capacity.

[0087] Optionally, the processor 610 is further configured to reduce the full-charge current threshold by a first current value when the current capacity ratio is less than the capacity ratio threshold.

[0088] This application can ensure that the discharged power after charging matches the actual remaining capacity of the battery, avoiding the problem of the actual discharge capacity of the battery decreasing due to the fuel gauge reporting full power in advance after battery aging.

[0089] Optionally, the processor 610 is further configured to increase the full-charge current threshold by a first current value when the current capacity ratio is not less than the capacity ratio threshold and the full-charge current threshold is less than or equal to the charging current threshold.

[0090] The present application can improve charging efficiency and optimize charging time by increasing the full-charge current threshold when the time node when the power gauge reports 100% of the power is reasonable.

[0091] Optionally, the processor 610 is further configured to reduce the preset current value by a second current value when the current capacity share is less than a capacity share threshold.

[0092] The present application reduces the preset current value during charging when the current capacity ratio is less than or equal to the capacity ratio threshold, which can effectively alleviate the problem of battery polarization, thereby reducing the depolarization time through small current charging, and further reducing the impact of small current charging triggering the full charge current threshold on the battery capacity.

[0093] Optionally, the processor 610 is further configured to increase the maximum value of the preset current value by a second current value when the current capacity ratio is not less than a capacity ratio threshold and the maximum value of the preset current value is less than the maximum charging current value.

[0094] The present application can improve the charging efficiency and optimize the charging time by increasing the charging current value when the time node when the power meter reports 100% of the power is reasonable.

[0095] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0096] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0097] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.

[0098] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0099] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0100] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0101] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0102] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0103] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0105] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A battery charging method, characterized in that: The method comprises: Controlling the battery to charge based on a preset current value; When the current charging current of the battery is less than or equal to the full-charge current threshold, obtaining the current battery capacity of the battery; Determining a current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery; Based on the comparison result between the current capacity proportion and the capacity proportion threshold, at least one of the full-charge current threshold and the preset current value is reduced.

2. The charging method according to claim 1, characterized in that: The reducing at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold comprises: When the current capacity ratio is less than the capacity ratio threshold, the full-charge current threshold is reduced by a first current value.

3. The charging method according to claim 1, characterized in that: After reducing at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold, the method further includes: When the current capacity ratio is not less than the capacity ratio threshold, and the full-charge current threshold is less than or equal to the charging current threshold, the full-charge current threshold is increased by a first current value.

4. The charging method according to claim 1, characterized in that: The reducing at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold comprises: When the current capacity ratio is less than the capacity ratio threshold, the preset current value is reduced by a second current value.

5. The charging method according to claim 1, characterized in that: After reducing at least one of the full-charge current threshold and the preset current value based on the comparison result of the current capacity proportion and the capacity proportion threshold, the method includes: When the current capacity ratio is not less than the capacity ratio threshold and the maximum value of the preset current value is less than the maximum charging current value, the maximum value of the preset current value is increased by a second current value.

6. A battery charging device, characterized in that: The charging device comprises: A charging module, used for controlling the battery to charge based on a preset current value; an acquisition module, configured to acquire a current battery capacity of the battery when a current charging current of the battery is less than or equal to a full-charge current threshold; A determination module, configured to determine a current capacity ratio of the battery according to the current battery capacity and the initial battery capacity of the battery; An adjustment module is used to reduce at least one of the full-charge current threshold and the preset current value based on a comparison result between the current capacity proportion and the capacity proportion threshold.

7. The charging device according to claim 6, characterized in that: The adjustment module is further configured to reduce the full-charge current threshold by a first current value when the current capacity proportion is less than the capacity proportion threshold.

8. The charging device according to claim 7, characterized in that: The adjustment module is further configured to increase the full-charge current threshold by a first current value when the current capacity ratio is not less than the capacity ratio threshold and the full-charge current threshold is less than or equal to the charging current threshold.

9. The charging device according to claim 7, characterized in that: The adjustment module is further configured to reduce the preset current value by a second current value when the current capacity proportion is less than the capacity proportion threshold.

10. The charging device according to claim 7, characterized in that: The adjustment module is further configured to increase the maximum value of the preset current value by a second current value when the current capacity proportion is not less than the capacity proportion threshold and the maximum value of the preset current value is less than the maximum charging current value.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.