Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
As shown in fig. 1, which is a flowchart of a method of embodiment 1 of an off-voltage control method disclosed in the present disclosure, the method is applied to an electronic device, where the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the method may comprise the steps of:
s101, determining that the battery is in a discharging mode;
when the cut-off voltage of the battery of the electronic equipment needs to be controlled, firstly, the charging and discharging mode of the battery is judged, and whether the battery is in the discharging mode is judged. One implementation manner of determining the charge and discharge mode of the battery may be that the charge and discharge mode of the battery is determined according to states of a charge switch and a discharge switch of the battery, and when both the charge switch and the discharge switch of the battery are turned on, it is determined that the battery is in the discharge mode.
S102, detecting the relative capacity percentage of the battery, and detecting the cell temperature of the battery;
when the battery is determined to be in the discharge mode, the relative capacity percentage of the battery and the cell temperature of the battery are further detected.
And S103, dynamically adjusting the cut-off voltage of the battery based on the relative capacity percentage and the cell temperature of the battery.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, the cut-off voltage of the battery is further adjusted according to the relative capacity percentage of the battery and the cell temperature. That is, the cutoff voltage of the battery may vary with the relative capacity percentage of the battery and the cell temperature of the battery.
In the prior art, the cut-off voltage of the battery is usually a fixed value, and when the battery is at a low temperature, the actual voltage of the battery is easily lower than the set fixed cut-off voltage, so that the electronic device is shut down under the condition that the battery still has electric quantity, and the normal operation cannot be performed, and the user experience is poor. In the disclosure, when the battery is in the discharging mode, the cut-off voltage of the battery can be dynamically adjusted based on the detected relative capacity percentage and the cell temperature of the battery, that is, the cut-off voltage of the battery is not constant, and the cut-off voltage of the battery can be adjusted along with the relative capacity percentage and the cell temperature of the battery, so that the battery can emit more battery capacity, and the user experience is improved.
As shown in fig. 2, which is a flowchart of a method of embodiment 2 of an off-voltage control method disclosed in the present disclosure on the basis of the foregoing embodiments, the method is applied to an electronic device, where the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the method may comprise the steps of:
s201, determining that the battery is in a discharging mode;
s202, detecting the relative capacity percentage of the battery, and detecting the cell temperature of the battery;
s203, responding to the fact that the relative capacity percentage of the battery is smaller than or equal to a first specific value and the cell temperature is smaller than or equal to a second specific value, and adjusting the cut-off voltage of the battery to the first value.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, whether the relative capacity percentage of the battery is smaller than or equal to a first specific value or not and whether the cell temperature of the battery is smaller than or equal to a second specific value or not are further judged, and when the relative capacity percentage of the battery is smaller than or equal to the first specific value and the cell temperature is smaller than or equal to the second specific value, the cut-off voltage of the battery is adjusted to the first value. For example, when the relative capacity percentage of the battery and the cell temperature of the battery are reduced, the cut-off voltage of the battery can be reduced in real time based on the relative capacity percentage of the battery and the cell temperature of the battery, so that the capacity of the battery can be fully released even at a lower capacity and a lower temperature, and particularly the experience of a user in use at a low temperature can be improved. In addition, the whole process is automatic, so that a few extra operations are brought to a user, and the user experience is good.
It should be noted that, in this embodiment, when the percentage of the relative capacity of the battery is less than or equal to the first specific value and the cell temperature is less than the second specific value, the cut-off voltage of the battery is also adjusted to the first value, so as to achieve sufficient release of the capacity of the battery.
In addition, it should be noted that the first characteristic value, the second specific value, and the first value in this embodiment can be flexibly set according to actual situations. For example, in the case of the electronic device being a notebook computer, the first specific value may be set to 50% of the relative capacity of the battery, the second specific value may be set to 10 degrees celsius, and the first value of the set cut-off voltage may be a voltage value smaller than 3.25V, such as 3.1V, 3.0V, and the like.
As shown in fig. 3, a flowchart of a method in embodiment 3 of an off-voltage control method disclosed in the present disclosure on the basis of the foregoing embodiments is shown, where the method is applied to an electronic device, where the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the method may comprise the steps of:
s301, determining that the battery is in a discharging mode;
s302, detecting the relative capacity percentage of the battery, and detecting the cell temperature of the battery;
s303, responding to the fact that the relative capacity percentage of the battery is smaller than or equal to a first specific value and the cell temperature is smaller than or equal to a second specific value, and adjusting the cut-off voltage of the battery to the first value;
s304, responding to the battery entering a first working mode, and judging whether the duration of the battery in the first working mode is longer than a first specific duration;
when the relative capacity percentage of the battery is smaller than or equal to a first specific value and the cell temperature is smaller than or equal to a second specific value, after the cut-off voltage of the battery is adjusted to the first value, further when the battery enters a first working mode, the duration of the battery in the first working mode is recorded, and whether the duration of the battery in the first working mode is larger than a first specific duration is judged. The first working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch is in an open state, and the battery chip is in a working state, namely the battery is in a normal discharging state at the moment, so that a working power supply can be provided for the electronic equipment.
S305, when the duration of the battery in the first working mode is longer than a first specific duration, controlling the battery to be switched from the first working mode to a second working mode.
When the duration of the battery in the first working mode is longer than a first specific duration, the battery is switched from the first working mode to a second working mode, wherein the second working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch of the battery is in a closed state, and a battery chip is in a stop working state, namely the battery is in a complete stop working state at the moment. It should be noted that, in the present embodiment, the first specific time period may be flexibly set according to actual situations, for example, the first specific time period may be set to two weeks.
When the duration that the battery is in the first working mode is longer than the first specific duration, the battery is controlled to be switched from the first working mode to the second working mode, so that the situation that the working performance of the battery is influenced due to deep discharge caused by the fact that the battery is in a discharge state for a long time can be effectively avoided.
As shown in fig. 4, which is a flowchart of a method in embodiment 4 of an off-voltage control method disclosed by the present disclosure on the basis of the foregoing embodiments, the method is applied to an electronic device, where the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the method may comprise the steps of:
s401, determining that the battery is in a discharging mode;
s402, detecting the relative capacity percentage of the battery, and detecting the cell temperature of the battery;
and S403, responding to the fact that the relative capacity percentage of the battery is larger than a first specific value or the cell temperature is larger than a second specific value, and adjusting the cut-off voltage of the battery to a second value.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, whether the relative capacity percentage of the battery is larger than a first specific value or not is further judged, or whether the cell temperature of the battery is larger than a second specific value or not is further judged, and when the relative capacity percentage of the battery is larger than the first specific value or the cell temperature is larger than the second specific value, the cut-off voltage of the battery is adjusted to the second value so as to ensure that the capacity of the battery can be fully released and improve the experience of a user.
It should be noted that the first characteristic value, the second specific value, and the first value in this embodiment can be flexibly set according to actual situations. For example, in the case of the electronic device being a notebook computer, the first specific value may be set to 50% of the relative capacity of the battery, the second specific value may be set to 10 degrees celsius, and the second value of the cut-off voltage may be set to a voltage value greater than the first value, for example, the second value may be 3.25V.
As shown in fig. 5, a flowchart of a method in embodiment 5 of an off-voltage control method disclosed in the present disclosure on the basis of the foregoing embodiments is shown, where the method is applied to an electronic device, where the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the method may comprise the steps of:
s501, determining that the battery is in a discharging mode;
s502, detecting the relative capacity percentage of the battery, and detecting the cell temperature of the battery;
s503, responding to the fact that the relative capacity percentage of the battery is larger than a first specific value or the cell temperature is larger than a second specific value, and adjusting the cut-off voltage of the battery to a second value;
s504, responding to the fact that the battery enters the first working mode, and judging whether the duration of the battery in the first working mode is longer than a second specific duration;
when the relative capacity percentage of the battery is larger than a first specific value or the cell temperature is larger than a second specific value, after the cut-off voltage of the battery is adjusted to a second value, further when the battery enters a first working mode, the duration of the battery in the first working mode is recorded, and whether the duration of the battery in the first working mode is larger than a first specific duration is judged. The first working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch is in an open state, and the battery chip is in a working state, namely the battery is in a normal discharging state at the moment, so that a working power supply can be provided for the electronic equipment.
S505, when the duration of the battery in the first working mode is longer than a second specific duration, controlling the battery to be switched from the first working mode to a third working mode;
when the duration of the battery in the first working mode is longer than a first specific duration, the battery is switched from the first working mode to a third working mode, wherein the third working mode of the battery represents that a charging switch of the battery is in an off state, a discharging switch is in an off state, and a battery chip is in a working state, namely, the battery stops providing a working power supply for the electronic equipment at the moment, but still provides the working power supply for the battery chip of the battery chip. It should be noted that, in the present embodiment, the first specific time period may be flexibly set according to actual situations, for example, the first specific time period may be set to two weeks.
S506, when the battery is in a third working mode, judging whether the relative capacity percentage of the battery is smaller than a third specific value;
when the battery is in the third operation mode, the relative capacity percentage of the battery can be further reduced because the battery can still provide the operation power supply for the battery chip. Therefore, when the battery is in the third operation mode, the relative capacity percentage of the battery is further detected, and whether the relative capacity percentage of the battery is smaller than a third specific value or not is judged. It should be noted that the third specific value may be flexibly set according to actual requirements, for example, the third specific value may be set to 30% of the relative capacity of the battery.
And S507, when the relative capacity percentage of the battery is smaller than a third specific value, controlling the battery to be switched from the third working mode to the second working mode.
And when the relative capacity percentage of the battery is smaller than a third specific value, switching the battery from the third working mode to a second working mode, wherein the second working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch of the battery is in a closed state, and a battery chip is in a stop working state, namely the battery is in a complete stop working state at the moment.
When the battery is in the third working mode and the relative capacity percentage of the battery is smaller than the third specific value, the battery is controlled to be switched from the third working mode to the second working mode, so that the problem that the working performance of the battery is influenced due to the fact that the battery is in a self power utilization state for a long time and the relative capacity percentage is low can be effectively solved.
As shown in fig. 6, which is a schematic structural diagram of an embodiment 1 of an electronic device disclosed in the present disclosure, the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the electronic device may include:
amemory 601 for storing application programs and data generated by the application programs;
aprocessor 602, configured to run the application program and determine that the battery is in a discharging mode;
when the cut-off voltage of the battery of the electronic equipment needs to be controlled, firstly, the charging and discharging mode of the battery is judged, and whether the battery is in the discharging mode is judged. One implementation manner of determining the charge and discharge mode of the battery may be that the charge and discharge mode of the battery is determined according to states of a charge switch and a discharge switch of the battery, and when both the charge switch and the discharge switch of the battery are turned on, it is determined that the battery is in the discharge mode.
Theprocessor 602 is further configured to detect a relative capacity percentage of the battery, and detect a cell temperature of the battery;
when the battery is determined to be in the discharge mode, the relative capacity percentage of the battery and the cell temperature of the battery are further detected.
Theprocessor 602 is further configured to dynamically adjust a cutoff voltage of the battery based on the relative capacity percentage of the battery and the cell temperature.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, the cut-off voltage of the battery is further adjusted according to the relative capacity percentage of the battery and the cell temperature. That is, the cutoff voltage of the battery may vary with the relative capacity percentage of the battery and the cell temperature of the battery.
In the prior art, the cut-off voltage of the battery is usually a fixed value, and when the battery is at a low temperature, the actual voltage of the battery is easily lower than the set fixed cut-off voltage, so that the electronic device is shut down under the condition that the battery still has electric quantity, and the normal operation cannot be performed, and the user experience is poor. In the disclosure, when the battery is in the discharging mode, the cut-off voltage of the battery can be dynamically adjusted based on the detected relative capacity percentage and the cell temperature of the battery, that is, the cut-off voltage of the battery is not constant, and the cut-off voltage of the battery can be adjusted along with the relative capacity percentage and the cell temperature of the battery, so that the battery can emit more battery capacity, and the user experience is improved.
As shown in fig. 7, which is a schematic structural diagram of an embodiment 2 of an electronic device disclosed in the present disclosure, the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the electronic device may include:
amemory 701 for storing an application program and data generated by the application program;
aprocessor 702 configured to run the application program and determine that the battery is in a discharging mode;
theprocessor 702 is further configured to detect a relative capacity percentage of the battery, and detect a cell temperature of the battery;
theprocessor 702 is further configured to adjust the cutoff voltage of the battery to a first value in response to the relative capacity percentage of the battery being less than or equal to a first specific value and the cell temperature being less than or equal to a second specific value.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, whether the relative capacity percentage of the battery is smaller than or equal to a first specific value or not and whether the cell temperature of the battery is smaller than or equal to a second specific value or not are further judged, and when the relative capacity percentage of the battery is smaller than or equal to the first specific value and the cell temperature is smaller than or equal to the second specific value, the cut-off voltage of the battery is adjusted to the first value. For example, when the relative capacity percentage of the battery and the cell temperature of the battery are reduced, the cut-off voltage of the battery can be reduced in real time based on the relative capacity percentage of the battery and the cell temperature of the battery, so that the capacity of the battery can be fully released even at a lower capacity and a lower temperature, and particularly the experience of a user in use at a low temperature can be improved. In addition, the whole process is automatic, so that a few extra operations are brought to a user, and the user experience is good.
It should be noted that, in this embodiment, when the percentage of the relative capacity of the battery is less than or equal to the first specific value and the cell temperature is less than the second specific value, the cut-off voltage of the battery is also adjusted to the first value, so as to achieve sufficient release of the capacity of the battery.
In addition, it should be noted that the first characteristic value, the second specific value, and the first value in this embodiment can be flexibly set according to actual situations. For example, in the case of the electronic device being a notebook computer, the first specific value may be set to 50% of the relative capacity of the battery, the second specific value may be set to 10 degrees celsius, and the first value of the set cut-off voltage may be a voltage value smaller than 3.25V, such as 3.1V, 3.0V, and the like.
As shown in fig. 8, which is a schematic structural diagram of an embodiment 3 of an electronic device disclosed in the present disclosure, the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the electronic device may include:
amemory 801 for storing application programs and data generated by the application programs;
aprocessor 802 for running the application program, determining that the battery is in a discharge mode;
theprocessor 802 is further configured to detect a relative capacity percentage of the battery, and detect a cell temperature of the battery;
theprocessor 802 is further configured to adjust a cutoff voltage of the battery to a first value in response to the relative capacity percentage of the battery being less than or equal to a first specific value and the cell temperature being less than or equal to a second specific value;
theprocessor 802 is further configured to determine, in response to the battery entering the first operating mode, whether a duration of the battery in the first operating mode is greater than a first specific duration;
when the relative capacity percentage of the battery is smaller than or equal to a first specific value and the cell temperature is smaller than or equal to a second specific value, after the cut-off voltage of the battery is adjusted to the first value, further when the battery enters a first working mode, the duration of the battery in the first working mode is recorded, and whether the duration of the battery in the first working mode is larger than a first specific duration is judged. The first working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch is in an open state, and the battery chip is in a working state, namely the battery is in a normal discharging state at the moment, so that a working power supply can be provided for the electronic equipment.
Theprocessor 802 is further configured to control the battery to switch from the first operating mode to the second operating mode when the duration that the battery is in the first operating mode is longer than the first specific duration.
When the duration of the battery in the first working mode is longer than a first specific duration, the battery is switched from the first working mode to a second working mode, wherein the second working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch of the battery is in a closed state, and a battery chip is in a stop working state, namely the battery is in a complete stop working state at the moment. It should be noted that, in the present embodiment, the first specific time period may be flexibly set according to actual situations, for example, the first specific time period may be set to two weeks.
When the duration that the battery is in the first working mode is longer than the first specific duration, the battery is controlled to be switched from the first working mode to the second working mode, so that the situation that the working performance of the battery is influenced due to deep discharge caused by the fact that the battery is in a discharge state for a long time can be effectively avoided.
As shown in fig. 9, which is a schematic structural diagram of an embodiment 4 of an electronic device disclosed in the present disclosure, the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the electronic device may include:
amemory 901 for storing application programs and data generated by the application programs;
aprocessor 902 for running the application, determining that the battery is in a discharge mode;
theprocessor 902 is further configured to detect a relative capacity percentage of the battery, and detect a cell temperature of the battery;
theprocessor 902 is further configured to adjust the cutoff voltage of the battery to a second value in response to the relative capacity percentage of the battery being greater than a first specified value or the cell temperature being greater than a second specified value.
After the relative capacity percentage of the battery and the cell temperature of the battery are detected, whether the relative capacity percentage of the battery is larger than a first specific value or not is further judged, or whether the cell temperature of the battery is larger than a second specific value or not is further judged, and when the relative capacity percentage of the battery is larger than the first specific value or the cell temperature is larger than the second specific value, the cut-off voltage of the battery is adjusted to the second value so as to ensure that the capacity of the battery can be fully released and improve the experience of a user.
It should be noted that the first characteristic value, the second specific value, and the first value in this embodiment can be flexibly set according to actual situations. For example, in the case of the electronic device being a notebook computer, the first specific value may be set to 50% of the relative capacity of the battery, the second specific value may be set to 10 degrees celsius, and the second value of the cut-off voltage may be set to a voltage value greater than the first value, for example, the second value may be 3.25V.
As shown in fig. 10, which is a schematic structural diagram of an embodiment 5 of an electronic device disclosed in the present disclosure, the electronic device may include: smart devices such as smart phones, notebook computers, desktop computers, tablet computers, and the like; the electronic device may include:
amemory 1001 for storing an application program and data generated by the operation of the application program;
aprocessor 1002, configured to run the application program and determine that the battery is in a discharging mode;
theprocessor 1002 is further configured to detect a relative capacity percentage of the battery, and detect a cell temperature of the battery;
theprocessor 1002 is further configured to adjust the cutoff voltage of the battery to a second value in response to the relative capacity percentage of the battery being greater than a first specific value or the cell temperature being greater than a second specific value;
theprocessor 1002 is further configured to determine, in response to the battery entering the first operating mode, whether a duration of the battery in the first operating mode is greater than a second specific duration;
when the relative capacity percentage of the battery is larger than a first specific value or the cell temperature is larger than a second specific value, after the cut-off voltage of the battery is adjusted to a second value, further when the battery enters a first working mode, the duration of the battery in the first working mode is recorded, and whether the duration of the battery in the first working mode is larger than a first specific duration is judged. The first working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch is in an open state, and the battery chip is in a working state, namely the battery is in a normal discharging state at the moment, so that a working power supply can be provided for the electronic equipment.
Theprocessor 1002 is further configured to control the battery to switch from the first operating mode to a third operating mode when a duration that the battery is in the first operating mode is longer than a second specific duration;
when the duration of the battery in the first working mode is longer than a first specific duration, the battery is switched from the first working mode to a third working mode, wherein the third working mode of the battery represents that a charging switch of the battery is in an off state, a discharging switch is in an off state, and a battery chip is in a working state, namely, the battery stops providing a working power supply for the electronic equipment at the moment, but still provides the working power supply for the battery chip of the battery chip. It should be noted that, in the present embodiment, the first specific time period may be flexibly set according to actual situations, for example, the first specific time period may be set to two weeks.
Theprocessor 1002 is further configured to determine whether the relative capacity percentage of the battery is smaller than a third specific value when the battery is in the third operating mode;
when the battery is in the third operation mode, the relative capacity percentage of the battery can be further reduced because the battery can still provide the operation power supply for the battery chip. Therefore, when the battery is in the third operation mode, the relative capacity percentage of the battery is further detected, and whether the relative capacity percentage of the battery is smaller than a third specific value or not is judged. It should be noted that the third specific value may be flexibly set according to actual requirements, for example, the third specific value may be set to 30% of the relative capacity of the battery.
Theprocessor 1002 is further configured to control the battery to switch from the third operating mode to the second operating mode when the relative capacity percentage of the battery is smaller than a third specific value.
And when the relative capacity percentage of the battery is smaller than a third specific value, switching the battery from the third working mode to a second working mode, wherein the second working mode of the battery represents that a charging switch of the battery is in a closed state, a discharging switch of the battery is in a closed state, and a battery chip is in a stop working state, namely the battery is in a complete stop working state at the moment.
When the battery is in the third working mode and the relative capacity percentage of the battery is smaller than the third specific value, the battery is controlled to be switched from the third working mode to the second working mode, so that the problem that the working performance of the battery is influenced due to the fact that the battery is in a self power utilization state for a long time and the relative capacity percentage is low can be effectively solved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.