CN109462260B - Charging method, charging equipment and electronic equipment - Google Patents

Charging method, charging equipment and electronic equipment Download PDF

Info

Publication number
CN109462260B
CN109462260B CN201710795877.8A CN201710795877A CN109462260B CN 109462260 B CN109462260 B CN 109462260B CN 201710795877 A CN201710795877 A CN 201710795877A CN 109462260 B CN109462260 B CN 109462260B
Authority
CN
China
Prior art keywords
battery
equal
light intensity
threshold
charging
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
CN201710795877.8A
Other languages
Chinese (zh)
Other versions
CN109462260A (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.)
Ningde Amperex Technology Ltd
Original Assignee
Ningde Amperex Technology 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 Ningde Amperex Technology Ltd filed Critical Ningde Amperex Technology Ltd
Priority to CN201710795877.8A priority Critical patent/CN109462260B/en
Publication of CN109462260A publication Critical patent/CN109462260A/en
Application granted granted Critical
Publication of CN109462260B publication Critical patent/CN109462260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits

Abstract

A charging method, charging equipment and electronic equipment are applied to the charging control of a battery arranged in the electronic equipment, and the light intensity of the environment where the electronic equipment is located can be obtained; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery. That is, it is possible to determine whether the current time when the battery of the electronic device is being charged is night by obtaining the light intensity of the environment where the electronic device is located; if the battery capacity value is less than the actual capacity value of the battery, the battery is not charged, so that the problem that the cycle life of the battery is shortened because the battery of the electronic equipment is in a full-charge state for a long time after being charged at night is avoided, and the service life of the battery is prolonged.

Description

Charging method, charging equipment and electronic equipment
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a charging method, a charging device, and an electronic device.
Background
The battery arranged in the electronic device is generally a lithium ion battery, and as the configuration of the electronic device is continuously improved and the demand and consumption of electric quantity are continuously increased, the requirement on the service life of the lithium ion battery is higher and higher, for example, the battery is dedicated to improving the cycle life of the lithium ion battery from 500 cycles to 800 cycles and 1000 cycles, and even 1500 cycles, and has an important meaning.
The inventor finds that, in the process of implementing the invention, if the lithium ion battery is in a full charge state frequently during the use process (the electric quantity stored by the lithium ion battery is equal to the actual capacity value of the battery), the decay of the cycle life of the lithium ion battery is accelerated. However, the battery of the currently common electronic device, such as a mobile phone and a tablet computer, is in a full charge state, for example, a user of the mobile phone is used to the mobile phone in the daytime, charges the mobile phone before falling asleep, and the battery of the mobile phone is in the full charge state all night, which will seriously affect the service life of the lithium ion battery of the electronic device.
Disclosure of Invention
The embodiment of the invention provides a charging method, charging equipment and electronic equipment, which are used for solving the problem that the decay speed of the cycle life of a battery of the conventional electronic equipment is high due to the fact that the battery is always in a full-charge state.
In a first aspect, an embodiment of the present invention provides a charging method applied to control of charging of a battery provided in an electronic device, where the method includes:
acquiring the light intensity of the environment where the electronic equipment is located;
if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold;
wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
In a possible design, the determining that the amount of power stored in the battery is greater than or equal to a preset power threshold specifically includes:
determining that the voltage of the battery is higher than or equal to a first set voltage threshold, wherein the first set voltage threshold is lower than or equal to a rated voltage value of the battery; and/or
Determining that the charging current of the battery is lower than or equal to a preset current threshold value, wherein the preset current threshold value is higher than a charging cutoff current value of the battery.
In one possible design, before obtaining the light intensity of the environment where the electronic device is located, the method further includes:
determining that a voltage of the battery is greater than or equal to a second set voltage threshold; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
In one possible design, the method further includes: and if the acquired light intensity is determined to be higher than the set light intensity threshold, continuing to charge the battery until the stored electric quantity of the battery is higher than or equal to the actual capacity value of the battery.
In one possible design, after continuing to charge the battery until the amount of electricity stored by the battery is greater than or equal to the actual capacity value of the battery, the method further includes:
determining that the time length between the current moment and the battery charging end moment is higher than or equal to a set time threshold;
determining that the amount of power stored by the battery is higher than the preset power threshold;
and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
In a second aspect, the embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to cause a computer to execute the charging method of the first aspect.
In a third aspect, an embodiment of the present invention further provides a charging device, which is applied to control charging of a battery provided in an electronic device, and includes:
the photosensitive unit is used for acquiring the light intensity of the environment where the electronic equipment is located;
the processing unit is used for stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold value if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold value;
wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
In one possible design, the processing unit is specifically configured to determine that the voltage of the battery is higher than or equal to a first set voltage threshold, and then determine that the amount of power stored by the battery is higher than or equal to a preset power threshold, where the first set voltage threshold is lower than or equal to a rated voltage value of the battery; and/or determining that the electric quantity stored by the battery is higher than or equal to a preset electric quantity threshold value if the charging current of the battery is lower than or equal to the preset current threshold value, wherein the preset current threshold value is higher than a charging cut-off current value of the battery.
In one possible design, the charging device further includes a determining unit, configured to determine that the voltage of the battery is higher than or equal to a second set voltage threshold before the light sensing unit obtains the light intensity of the environment where the electronic device is located; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
In a possible design, the processing unit is further configured to continue charging the battery until the amount of electricity stored in the battery is higher than or equal to the actual capacity value of the battery, if it is determined that the acquired light intensity is higher than the set light intensity threshold.
In one possible design, the processing unit is further configured to determine that a time length between a current time and a time when the battery is charged is greater than or equal to a set time threshold; and determining that the amount of power stored by the battery is higher than the preset power threshold; and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including:
a memory for storing program instructions;
the processor is used for calling the program instructions stored in the memory and executing the following steps according to the obtained program instructions: acquiring the light intensity of the environment where the electronic equipment is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery in the electronic equipment is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
The invention has the following beneficial effects:
the embodiment of the invention provides a charging method, charging equipment and electronic equipment, which are applied to the charging control of a battery arranged in the electronic equipment and can be used for acquiring the light intensity of the environment where the electronic equipment is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery. That is, it is possible to determine whether the current time when the battery of the electronic device is being charged is night by obtaining the light intensity of the environment where the electronic device is located; if the battery capacity value is less than the actual capacity value of the battery, the battery is not charged, so that the problem that the cycle life of the battery is shortened because the battery of the electronic equipment is in a full-charge state for a long time after being charged at night is avoided, and the service life of the battery is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive efforts.
Fig. 1 is a flowchart illustrating steps of a charging method according to a first embodiment of the invention;
FIG. 2 is a graph showing the cycle of a battery according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a charging device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in a third embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
an embodiment of the present invention provides a charging method, which is applied to control charging of a battery disposed in an electronic device, and specifically, as shown in fig. 1, is a flowchart of steps of the method in the embodiment of the present invention, where the method may include the following steps:
step 101: and acquiring the light intensity of the environment where the electronic equipment is located.
Optionally, the electronic device may be an electronic terminal such as a smart phone, a tablet computer, an electronic reader, a smart watch, and a smart band, which is not limited herein.
Also optionally, the implementation subject of the charging method may be a setting function module of an application processor of the electronic device, that is, the charging method may be implemented by the application processor of the electronic device; the main body of the charging method may also be a specially configured controller, such as an MCU (Micro Control Unit), and this embodiment is not limited herein.
Preferably, the acquiring the light intensity of the environment where the electronic device is located may specifically include:
and acquiring the light intensity of the environment where the electronic equipment is located based on the photosensitive element configured by the electronic equipment.
The light sensor may be a light sensor, i.e., a photoelectric sensor, disposed in the electronic device, and the light sensor may convert the collected light signal into an electrical signal, so that a relevant processing module, such as an application processor or an MCU, obtains the light intensity of the environment where the electronic device is located according to the electrical signal.
Step 102: if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery of the electronic equipment is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
That is, when it is determined that the acquired light intensity is lower than or equal to the set light intensity threshold, it is determined that the current time at which the battery of the electronic device is being charged is night, and the charging of the battery of the electronic device is stopped before the amount of electricity stored in the battery reaches the actual capacity value of the battery, that is, the battery is fully charged.
It should be noted that step 102 may further include: if it is determined that the acquired light intensity is lower than or equal to the set light intensity threshold, if it is determined that the electric quantity stored in the battery of the electronic device is lower than the preset electric quantity threshold, the battery is continuously charged, which is not described herein again.
It should be noted that the intensity of light is proportional to the luminous flux in the environment where the electronic device is located; the set light intensity threshold may be flexibly set according to actual use conditions, and this embodiment is not limited herein.
It should be noted that the actual capacity value of the battery is an amount of electricity that can be actually discharged after the battery is fully charged under a certain discharge condition, and the actual capacity value of the battery decreases as the cycle life of the battery decreases, so that it is difficult to directly specify the actual capacity value of the battery for any battery being charged and to control the end of the charging process when the amount of electricity stored in the battery is lower than the actual capacity value. However, the battery charging process of the prior art electronic device generally includes a trickle phase, a constant current phase, and a constant voltage phase; in the trickle phase, the battery voltage is relatively low, and the battery is pre-charged by adopting small charging current; in the constant current stage, the charging current is basically kept unchanged, and the voltage of the battery is increased along with the progress of the charging process; when the voltage of the battery reaches a certain voltage threshold (for example, 4.4V), the voltage of the battery is basically kept unchanged, the charging current is reduced, and when the charging current is reduced to a charging cutoff current value (which can be preset), the battery is considered to store the electric quantity reaching the actual capacity value, namely, the battery reaches a full charge state, and the charging process is controlled to be ended.
Therefore, the determining that the amount of power stored in the battery is greater than or equal to the preset power threshold may specifically include:
determining that the voltage of the battery is higher than or equal to a first set voltage threshold, wherein the first set voltage threshold is lower than or equal to a rated voltage value of the battery.
The first set voltage threshold value is lower than or equal to the rated voltage value of the battery, and the first set voltage threshold value may be preset to be equal to the rated voltage value of the battery, for example, 4.4V; when the voltage of the battery is determined to be higher than or equal to 4.4V, namely the stored electric quantity of the battery is determined to be higher than or equal to a preset electric quantity threshold value, the battery is stopped to be charged; because the voltage threshold value of the battery charging process converted from the constant current stage to the constant voltage stage is usually close to the rated voltage value of the battery, under the condition, the constant voltage stage can not be carried out in the battery charging process, namely the battery charging process just enters or does not enter the constant voltage stage, the charging process is stopped, and the full charge of the battery can be avoided.
Optionally, the determining that the amount of power stored in the battery is greater than or equal to a preset power threshold may further include:
determining that the charging current of the battery is lower than or equal to a preset current threshold value, wherein the preset current threshold value is higher than a charging cutoff current value of the battery.
In the constant voltage stage of the battery charging process, the voltage of the battery is basically kept unchanged at the rated voltage, for example, 4.4V, and the charging current is reduced; setting the preset current threshold value to be equal to the sum of a charging cut-off current value and a smaller current value (which can be flexibly set according to actual use conditions), and when the charging current is reduced to the preset current threshold value, namely the battery is determined to store the electric quantity higher than or equal to the preset electric quantity threshold value, stopping charging the battery; in this case, the constant voltage phase of the battery charging process is not completed, and the charging process is stopped, thereby preventing the battery from being fully charged.
Further optionally, in order to make the determination on the stored electric quantity of the battery more accurate, and further make it possible to avoid full charge of the battery and ensure that a sufficient amount of electric quantity is stored in the battery, the determining that the stored electric quantity of the battery is higher than or equal to the preset electric quantity threshold may specifically include: determining that the voltage of the battery is higher than or equal to the first set voltage threshold, and determining that the charging current of the battery is lower than or equal to the preset current threshold.
It should be noted that the voltage value and the charging current value of the battery may be obtained based on a fuel gauge in a battery module configured in the electronic device, for example, the application processor may communicate with the battery module to obtain the voltage value and the charging current value of the battery collected by the fuel gauge; a special sampling circuit may be further provided to obtain the battery voltage value and the charging current value, and this embodiment is not limited in any way.
Optionally, before obtaining the light intensity of the environment where the electronic device is located in step 101, the method may further include:
determining that a voltage of the battery is greater than or equal to a second set voltage threshold; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
That is, in the process of charging the battery, after determining that the amount of power stored in the battery is close to the actual capacity value of the battery, it can be determined whether the current time at which the battery of the electronic device is being charged is night.
Optionally, the method may further comprise: and if the acquired light intensity is determined to be higher than the set light intensity threshold, continuing to charge the battery until the stored electric quantity of the battery is higher than or equal to the actual capacity value of the battery. That is, when it is determined that the current time when the battery of the electronic device is being charged is daytime, the battery of the electronic device is conventionally charged according to the related art until the amount of electricity stored in the battery is higher than or equal to the actual capacity value of the battery.
Further optionally, after continuing to charge the battery until the amount of electricity stored by the battery is greater than or equal to the actual capacity value of the battery, the method may further comprise:
determining that the time length between the current time and the battery charging end time is higher than or equal to a set time threshold (which can be flexibly set according to actual use requirements, such as 30 minutes);
determining that the amount of power stored by the battery is higher than the preset power threshold;
and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
That is, within a set time after the battery is fully charged, it can be determined again whether the battery is in a fully charged state; if the battery is still in the full charge state, judging whether the current time is at night; if so, discharging the battery to avoid the influence on the service life of the battery due to the fact that the battery of the electronic equipment is in a full charge state for a long time because no user uses the electronic equipment at night after the battery is fully charged.
In addition, the present embodiment does not limit the discharging manner of the battery at all, and for example, the flash of the electronic device may be controlled to be turned on, the display of the electronic device may be controlled to be turned on, and the vibration function of the electronic device may be controlled to be turned on.
The following describes the steps of the charging method provided in this embodiment in detail by taking a specific example as an example:
step A: starting to charge the battery;
and B: determining that the voltage of the battery is not less than a first voltage value (for example, 4.3V), acquiring the light intensity of the environment where the electronic device is located based on the light sensor, and executing step C if it is determined that the acquired light intensity is lower than or equal to a set light intensity threshold; if the acquired light intensity is determined to be higher than the set light intensity threshold, executing a step C';
and C: continuing to charge the battery, stopping charging the battery when the battery voltage is determined to be higher than or equal to the second voltage value (for example, 4.4V) and the charging current is determined to be lower than or equal to the first current value (for example, 0.04c), and jumping to the step G;
step C': continuously charging the battery until the electric quantity stored in the battery reaches the actual capacity value of the battery;
step D': determining that the time length between the current moment and the last charging end moment is not less than a set time threshold (for example, 20 minutes), and acquiring a voltage value of the battery; if the acquired voltage value is determined to be higher than or equal to the second voltage value, executing a step E'; if the acquired voltage value is lower than the second voltage value, jumping to the step G;
step E': acquiring the light intensity of the environment where the electronic equipment is located based on the light sensor, and executing the step F' if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold value; if the acquired light intensity is determined to be higher than the set light intensity threshold value, jumping to the step G;
step F': turning on a flash lamp of the electronic equipment, turning off the flash lamp after keeping turning on for 2 minutes, and skipping to the step G;
step G: and ending the process.
The implementation effect of the charging method provided by this embodiment is shown in the battery cycle graph in fig. 2, where the abscissa is the cycle number, the ordinate is the capacity retention rate, the curve 201 is the cycle curve of the battery left for 8 hours in the non-full-charge state, and the curve 202 is the cycle curve of the battery left for 8 hours in the full-charge state. Assuming that the capacity retention rate rejection threshold of the battery is set to be 90% (when the capacity retention rate of the battery is lower than 90%, the service life of the battery is considered to be exhausted), as can be seen from fig. 2, when the battery is left for 8 hours in a fully charged state, the number of cycles, i.e., the cycle life, of the battery is only about 300 times; and the battery is placed for 8 hours in a non-full-charge state, the cycle number of the battery can be prolonged to about 700 times, and therefore, the service life of the battery of the electronic equipment can be effectively prolonged by the charging method provided by the embodiment.
In summary, the charging method provided in the embodiments of the present invention can be applied to control charging of a battery disposed in an electronic device, and can obtain the light intensity of the environment where the electronic device is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery. That is, it is possible to determine whether the current time when the battery of the electronic device is being charged is night by obtaining the light intensity of the environment where the electronic device is located; if the battery capacity value is less than the actual capacity value of the battery, the battery is not charged, so that the problem that the cycle life of the battery is shortened because the battery of the electronic equipment is in a full-charge state for a long time after being charged at night is avoided, and the service life of the battery is prolonged.
In addition, for the battery in the full charge state, when the electronic equipment is determined to be not used by people for a long time, the battery can be discharged, and the attenuation of the cycle life of the battery can be further reduced.
In addition, the embodiment of the invention also provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used for causing a computer to execute the charging method.
Example two:
based on the same inventive concept, the second embodiment of the present invention provides a charging device, which can be applied to control charging of a battery provided in an electronic device. Specifically, as shown in fig. 3, which is a schematic structural diagram of the apparatus in the second embodiment of the present invention, the apparatus may include:
the photosensitive unit 301 is used for acquiring the light intensity of the environment where the electronic device is located;
the processing unit 302 is configured to, if it is determined that the obtained light intensity is lower than or equal to a set light intensity threshold, stop charging the battery when it is determined that the amount of electricity stored in the battery is higher than or equal to a preset electricity threshold;
wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
Optionally, the processing unit 302 may be specifically configured to determine that the voltage of the battery is higher than or equal to a first set voltage threshold, and then determine that the amount of power stored by the battery is higher than or equal to a preset power threshold, where the first set voltage threshold is lower than or equal to a rated voltage value of the battery; and/or determining that the electric quantity stored by the battery is higher than or equal to a preset electric quantity threshold value if the charging current of the battery is lower than or equal to the preset current threshold value, wherein the preset current threshold value is higher than a charging cut-off current value of the battery.
Optionally, the apparatus may further include a determining unit (not shown in fig. 3) configured to determine that the voltage of the battery is higher than or equal to a second set voltage threshold before the light sensing unit 301 obtains the light intensity of the environment where the electronic apparatus is located; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
Optionally, the processing unit 302 may be further configured to continue to charge the battery until the amount of electricity stored in the battery is higher than or equal to the actual capacity value of the battery, if it is determined that the acquired light intensity is higher than the set light intensity threshold.
Optionally, the processing unit 302 may be further configured to determine that a time length between the current time and the battery charging end time is greater than or equal to a set time threshold; and determining that the amount of power stored by the battery is higher than the preset power threshold; and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
In summary, the charging device provided in the embodiments of the present invention can be applied to control charging of a battery disposed in an electronic device, and can obtain the light intensity of the environment where the electronic device is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery. That is, it is possible to determine whether the current time when the battery of the electronic device is being charged is night by obtaining the light intensity of the environment where the electronic device is located; if the battery capacity value is less than the actual capacity value of the battery, the battery is not charged, so that the problem that the cycle life of the battery is shortened because the battery of the electronic equipment is in a full-charge state for a long time after being charged at night is avoided, and the service life of the battery is prolonged.
In addition, for the battery in the full charge state, when the electronic equipment is determined to be not used by people for a long time, the battery can be discharged, and the attenuation of the cycle life of the battery can be further reduced.
Example three:
a third embodiment of the present invention provides an electronic device, as shown in fig. 4, which is a schematic structural diagram of the electronic device in the third embodiment of the present invention. The electronic device may be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. Specifically, as shown in fig. 4, the electronic device according to the embodiment of the present invention may include a Central Processing Unit (CPU) 401, a memory 402, an input device 403, an output device 404, and the like, the input device 403 may include a keyboard, a mouse, a touch screen, and/or the like, and the output device 404 may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
The memory 402 may include a Read Only Memory (ROM) and a Random Access Memory (RAM), and provides the central processor 401 with program instructions and data stored in the memory 402. In an embodiment of the present invention, the memory 402 may be used to store a program of an information input method.
By calling the program instructions stored in the memory 402, the central processing unit 401 can be used to execute the following steps according to the obtained program instructions: acquiring the light intensity of the environment where the electronic equipment is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery in the electronic equipment is determined to be higher than or equal to a preset electric quantity threshold; wherein the preset electric quantity threshold value is lower than the actual capacity value of the battery.
Furthermore, it is to be understood that any number of elements in the figures and descriptions are to be regarded as illustrative rather than restrictive, and that any nomenclature is used for distinction and not intended to be limiting.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A charging method applied to charge control of a battery provided in an electronic device, the method comprising:
acquiring the light intensity of the environment where the electronic equipment is located;
if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold;
the preset electric quantity threshold value is lower than an actual capacity value of the battery, and the actual capacity value of the battery is equal to a full charge quantity of the battery;
the method further comprises the following steps:
and if the acquired light intensity is determined to be higher than the set light intensity threshold, continuing to charge the battery until the stored electric quantity of the battery is higher than or equal to the actual capacity value of the battery.
2. The charging method according to claim 1, wherein the determining that the amount of power stored by the battery is greater than or equal to a preset power threshold value specifically comprises:
determining that the voltage of the battery is higher than or equal to a first set voltage threshold, wherein the first set voltage threshold is lower than or equal to a rated voltage value of the battery; and/or
Determining that the charging current of the battery is lower than or equal to a preset current threshold value, wherein the preset current threshold value is higher than a charging cutoff current value of the battery.
3. The charging method of claim 2, wherein before obtaining the light intensity of the environment in which the electronic device is located, the method further comprises:
determining that a voltage of the battery is greater than or equal to a second set voltage threshold; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
4. The charging method of claim 1, wherein after continuing to charge the battery until the amount of electricity stored by the battery is greater than or equal to the actual capacity value of the battery, the method further comprises:
determining that the time length between the current moment and the battery charging end moment is higher than or equal to a set time threshold;
determining that the amount of power stored by the battery is higher than the preset power threshold;
and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
5. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the charging method according to any one of claims 1 to 4.
6. A charging apparatus, applied to charge control of a battery provided in an electronic apparatus, comprising:
the photosensitive unit is used for acquiring the light intensity of the environment where the electronic equipment is located;
the processing unit is used for stopping charging the battery when the electric quantity stored in the battery is determined to be higher than or equal to a preset electric quantity threshold value if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold value;
the preset electric quantity threshold value is lower than an actual capacity value of the battery, and the actual capacity value of the battery is equal to a full charge quantity of the battery;
the processing unit is further configured to continue to charge the battery until the amount of electricity stored in the battery is greater than or equal to the actual capacity value of the battery if it is determined that the acquired light intensity is greater than the set light intensity threshold.
7. The charging device of claim 6,
the processing unit is specifically configured to determine that the voltage of the battery is higher than or equal to a first set voltage threshold, and then determine that the amount of power stored in the battery is higher than or equal to a preset power threshold, where the first set voltage threshold is lower than or equal to a rated voltage value of the battery; and/or determining that the electric quantity stored by the battery is higher than or equal to a preset electric quantity threshold value if the charging current of the battery is lower than or equal to the preset current threshold value, wherein the preset current threshold value is higher than a charging cut-off current value of the battery.
8. The charging apparatus according to claim 7, further comprising a determination unit:
the judging unit is used for determining that the voltage of the battery is higher than or equal to a second set voltage threshold before the light sensing unit acquires the light intensity of the environment where the electronic equipment is located; wherein the second set voltage threshold is lower than or equal to the first set voltage threshold.
9. The charging device of claim 6,
the processing unit is further used for determining that the time length between the current moment and the battery charging end moment is higher than or equal to a set time threshold; and determining that the amount of power stored by the battery is higher than the preset power threshold; and acquiring the light intensity of the environment where the electronic equipment is located, and discharging the battery if the acquired light intensity is lower than or equal to the set light intensity threshold.
10. An electronic device, comprising:
a memory for storing program instructions;
the processor is used for calling the program instructions stored in the memory and executing the following steps according to the obtained program instructions: acquiring the light intensity of the environment where the electronic equipment is located; if the acquired light intensity is determined to be lower than or equal to a set light intensity threshold, stopping charging the battery when the electric quantity stored in the battery in the electronic equipment is determined to be higher than or equal to a preset electric quantity threshold; the preset electric quantity threshold value is lower than an actual capacity value of the battery, and the actual capacity value of the battery is equal to a full charge quantity of the battery;
and if the acquired light intensity is determined to be higher than the set light intensity threshold, continuing to charge the battery until the stored electric quantity of the battery is higher than or equal to the actual capacity value of the battery.
CN201710795877.8A 2017-09-06 2017-09-06 Charging method, charging equipment and electronic equipment Active CN109462260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710795877.8A CN109462260B (en) 2017-09-06 2017-09-06 Charging method, charging equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710795877.8A CN109462260B (en) 2017-09-06 2017-09-06 Charging method, charging equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN109462260A CN109462260A (en) 2019-03-12
CN109462260B true CN109462260B (en) 2021-06-04

Family

ID=65605942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710795877.8A Active CN109462260B (en) 2017-09-06 2017-09-06 Charging method, charging equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN109462260B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108872762B (en) * 2018-05-02 2021-02-02 Oppo广东移动通信有限公司 Electronic equipment leakage detection method and device, electronic equipment and storage medium
WO2021012525A1 (en) * 2019-07-24 2021-01-28 苏州宝时得电动工具有限公司 Method for controlling automatic locomotion device to return to station, and automatic locomotion device
CN112542860A (en) * 2019-09-20 2021-03-23 Oppo广东移动通信有限公司 Charging method, charging device and electronic device
CN112886648A (en) * 2019-11-29 2021-06-01 环达电脑(上海)有限公司 Intelligent charging method
CN111063955B (en) * 2019-12-27 2023-05-30 Oppo广东移动通信有限公司 Charging method and device, equipment and storage medium
CN113285499A (en) * 2020-02-19 2021-08-20 北京小米移动软件有限公司 Charging control method, electronic device, control device, and storage medium
CN113363605B (en) * 2020-03-03 2023-11-21 宁德新能源科技有限公司 Discharge method, electronic device, and storage medium
CN114069740B (en) * 2020-07-31 2023-10-20 华为技术有限公司 Charging method and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110199041A1 (en) * 2010-02-17 2011-08-18 Jerry Yang Rechargeable battery product
CN106356949A (en) * 2016-10-31 2017-01-25 深圳市金立通信设备有限公司 Charging protection method and terminal
CN106785130B (en) * 2016-11-15 2020-06-02 北京小米移动软件有限公司 Charging method and device
CN106877435B (en) * 2017-03-14 2020-07-07 上海摩软通讯技术有限公司 Terminal charging method and terminal

Also Published As

Publication number Publication date
CN109462260A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN109462260B (en) Charging method, charging equipment and electronic equipment
CN106877435B (en) Terminal charging method and terminal
CN105207288B (en) A kind of charging method and electronic equipment
CN110729790B (en) Charging method and device, computer equipment and storage medium
CN106772091B (en) Method and device for updating battery capacity value and terminal
US11927640B2 (en) Method for acquiring information about state of battery on basis of voltage change amount of battery during charging, and electronic device for supporting same
CN107959072B (en) Charging method and device, computer equipment and readable storage medium
CN104333087B (en) Mobile terminal and method for intelligently displaying charging capacity
CN106058965A (en) Charging method and terminal
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN104749528B (en) Dynamic lithium battery capacity determining methods
CN112886671A (en) Battery charging state detection method, detection device and charging device
CN102914744A (en) Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN107769320A (en) A kind of mobile terminal and its charge control method and system
CN105573458B (en) Information processing method and electronic equipment
WO2020024981A1 (en) Charging method and apparatus, charging terminal, and computer readable storage medium
CN104795864A (en) Mobile terminal capable of detecting charge state accurately and charge state detecting method
EP4270714A1 (en) Charging method, electronic device, and storage medium
CN113285513A (en) Method, device, equipment and storage medium for evaluating self-discharge consistency of battery
CN113740755A (en) Display processing method and device for battery pack charge state and readable medium
CN115704865A (en) Battery management method and device, storage medium and electronic equipment
CN104166101A (en) Method and device for dynamically displaying electric quantity of battery of mobile terminal
CN109596989B (en) Method and device for displaying electric quantity of electronic equipment and electronic equipment
CN107611473A (en) A kind of lithium ion battery and its method, the system for improving charging rate

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