Method, device, terminal equipment and storage medium for adjusting battery cut-off voltage

By obtaining the current voltage and residual power of the terminal device battery, determining the comprehensive state and adjusting the cutoff voltage, the problem of fixed battery life is solved and the user experience is improved.

CN119786773APending Publication Date: 2025-04-08GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411920582.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The battery life of the terminal device is fixed, and the user experience is poor, especially the cutoff voltage cannot be effectively adjusted in different residual power intervals.

Method used

By obtaining the current voltage and remaining power of the battery, the comprehensive state of the battery is determined, and whether to adjust the cutoff voltage is determined based on the state, thereby dynamically adjusting the battery life time.

Benefits of technology

It realizes dynamic adjustment of the battery life of the terminal equipment battery residual power, improving user experience, especially extending the battery life in the high residual power range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119786773A_ABST
    Figure CN119786773A_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, terminal device and storage medium for adjusting the cut-off voltage of a battery, which is used to determine whether to adjust the cut-off voltage of the battery in combination with the current voltage and the current remaining power of the battery, thereby adjusting the battery life of the remaining power of the terminal device battery. The method of the embodiment of the present application includes: when the terminal device supports the function of modifying the cut-off voltage, obtaining the current voltage and the current remaining power of the battery; determining the comprehensive state of the battery according to the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than the first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; determining whether to adjust the first cut-off voltage of the battery according to the comprehensive state of the battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of batteries of terminal equipment, and in particular to a method and device for adjusting a battery cut-off voltage, a terminal equipment and a storage medium. Background Art

[0002] In the battery of the terminal device, the battery cut-off voltage is generally set, and the battery cut-off voltage usually set is basically unchanged during a certain discharge, and the fuel gauge uses the cut-off voltage as the jump-to-zero voltage to simulate the SOC (State Of Charge, remaining power). Therefore, the battery life of the terminal device is basically fixed, and the user experience is poor. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, terminal device and storage medium for adjusting the battery cut-off voltage, which are used to determine whether to adjust the battery cut-off voltage in combination with the current voltage and the current remaining power of the battery, thereby adjusting the battery life of the terminal device's remaining power.

[0004] In a first aspect, the present application provides a method for adjusting a battery cutoff voltage, which may include: when a terminal device supports a function of modifying the cutoff voltage, obtaining a current voltage and a current remaining power of the battery; determining a comprehensive state of the battery based on the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state being greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state being less than or equal to the first remaining power threshold; determining whether to adjust the first cutoff voltage of the battery based on the comprehensive state of the battery.

[0005] A second aspect of the present application provides a battery cut-off voltage adjustment device, which may include:

[0006] An acquisition module, used to acquire the current voltage and current remaining power of the battery when the terminal device supports the function of modifying the cut-off voltage;

[0007] A processing module is used to determine a comprehensive state of a battery based on the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; and determine whether to adjust the first cut-off voltage of the battery based on the comprehensive state of the battery.

[0008] A third aspect of the present application provides a terminal device, which may include a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the terminal device executes the program, the method described in the first aspect of the present application is implemented.

[0009] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect of the present application.

[0010] Yet another aspect of an embodiment of the present application discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the method described in the first aspect of the present application.

[0011] Another aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the present application.

[0012] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0013] In an embodiment of the present application, when the terminal device supports the function of modifying the cut-off voltage, the current voltage and the current remaining power of the battery are obtained; based on the current voltage and the current remaining power, the comprehensive state of the battery is determined, and the comprehensive state of the battery includes a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than the first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; based on the comprehensive state of the battery, it is determined whether to adjust the first cut-off voltage of the battery. Combined with the current voltage and the current remaining power of the battery, the comprehensive state of the battery is determined, and then based on the comprehensive state of the battery, it is determined whether to adjust the first cut-off voltage of the battery, thereby adjusting the battery life of the remaining power of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.

[0015] Figure 1A A schematic diagram of a typical battery module architecture;

[0016] Figure 1B A schematic diagram of the distribution of the initial charge amount in the embodiment of the present application;

[0017] Figure 1C A schematic diagram of battery voltage and battery current in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of an embodiment of a method for adjusting the battery cut-off voltage in an embodiment of the present application;

[0019] Figure 3A A schematic diagram of supporting the function of modifying the cut-off voltage, the first voltage threshold and the first remaining power threshold in an embodiment of the present application;

[0020] Figure 3B A schematic diagram of determining the comprehensive state of a battery according to the current voltage and the current remaining power in an embodiment of the present application;

[0021] Figure 3C Another schematic diagram of determining the comprehensive state of the battery according to the current voltage and the current remaining power in an embodiment of the present application;

[0022] Figure 4 This is another schematic diagram of an embodiment of a method for adjusting the battery cut-off voltage in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of a process for adjusting the battery life of a terminal device in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of an embodiment of a device for adjusting the battery cut-off voltage in an embodiment of the present application;

[0025] Figure 7 This is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application;

[0026] Figure 8 This is another schematic diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0027] An embodiment of the present application provides a method of combining the current voltage and the current remaining power of the battery to determine whether to adjust the cut-off voltage of the battery, thereby adjusting the battery life of the terminal device's remaining power.

[0028] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.

[0029] The following is a brief description of some terms involved in this application, as follows:

[0030] Battery pack, also known as battery module, is a manufacturing process of lithium-ion batteries. It involves connecting multiple lithium-ion single cells in parallel and series, and considering issues such as system mechanical strength, thermal management, and battery management system (BMS) matching.

[0031] MOS is the abbreviation of MOSFET. MOSFET is Metal-Oxide-Semiconductor Field-Effect Transistor, also known as Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET).

[0032] In some implementations, an external power meter integrated circuit (IC) is generally used in the terminal device to manage the power management of the terminal device. Figure 1A Shown is a schematic diagram of a typical battery module architecture.

[0033] The battery pack contains components such as cells, fuel gauge IC, protection IC, charging switch (CHG MOSFET), discharging switch (DSG MOSFET), fuse (FUSE), NTC (Negative Temperature Coefficient) thermistor, and sensing resistor (Rsense). The fuel gauge IC manages the battery cells. Its main work is to collect battery voltage, battery current, and battery temperature information, and output battery power. High-precision sampling, low-power operation, communication, and data processing are achieved on the hardware side; accurate battery modeling is achieved on the algorithm side, and algorithm programming, data processing, and calculation of effective information are implemented in the form of firmware.

[0034] Silicon negative electrode materials have great potential due to their high theoretical specific capacity (about 4200mAh / g) in lithium-ion batteries. Therefore, they have been widely commercialized in terminal devices. The cutoff voltage of silicon negative electrodes can be as low as 2.7V. This is mainly because the insertion / deinsertion potential of silicon and lithium is lower than that of graphite and closer to the potential of metallic lithium. Therefore, the terminal devices for silicon negative electrode batteries can set the cutoff voltage of the battery. Currently, the cutoff voltage remains unchanged during a discharge process, such as a cutoff voltage of 3.25V, and the fuel gauge simulates the SOC at 3.25V. Therefore, the battery life of the terminal device is basically fixed, and the user experience is not good.

[0035] However, according to the actual data, more than 80% of users start charging when the battery level is 20%. Figure 1BAs shown, it is a schematic diagram of the distribution of the initial charge in the embodiment of the present application. In the embodiment of the present application, in order to improve the user's endurance experience, it can be considered to use different cut-off voltages in different remaining power intervals of the battery, and the capacity originally belonging to the low power interval can be adjusted to the higher power interval for use, thereby improving the user's endurance experience.

[0036] The following is an explanation of how different cut-off voltages affect the battery life of terminal devices. As shown below, several related terms are explained first:

[0037] Maximum capacity Qmax: When the battery is fully charged and discharged at a small current of C / 20, the capacity discharged when it reaches the battery cut-off voltage is called the maximum capacity Qmax of the battery, which is directly affected by battery aging and temperature. Among them, the battery is discharged at a discharge rate of C / 20, which means that the battery is discharged at a relatively small current. Here, "C" represents the rated capacity of the battery, and "C / 20" means that the discharge current is 1 / 20 of the rated capacity of the battery.

[0038] Open circuit voltage (OCV): The stable voltage of a battery without load. The OCV of a battery at different depths of discharge (DOD) is connected into a curve, which is the OCV-DOD curve. It is not affected by battery aging and is only related to temperature and battery type. This curve is the basis for all calculations of the fuel gauge.

[0039] Depth of Discharge (DOD) is defined as the ratio of the amount of electricity discharged by the battery to the total capacity. It is a mathematical scale. DOD and SOC (State Of Charge) are opposite in value.

[0040] Full Charge Capacity (FCC) is defined as the capacity of the battery when it is fully discharged from full charge to the cut-off voltage, which is actually the discharge capacity.

[0041] Remaining Capacity (RM or RC for short), RM is defined as the capacity at the current moment when the battery is discharged to the cut-off voltage, which is an estimated capacity. The remaining capacity of the battery is related to the depth of discharge (DOD). DOD is the discharge from the upper limit voltage of the battery to the lower limit voltage, and all the discharged electricity is defined as 100%. For example, if the initial SOC is 100%, and the discharge stops at 20%, this is 80% DOD.

[0042] Remaining power percentage SOC:

[0043]

[0044] It should be noted that FCC, RM and SOC are all relative concepts, not absolute quantities. Because RM is an estimated quantity, it may fluctuate due to load, temperature changes, etc., and FCC includes RM.

[0045] RM (remaining battery capacity) calculation: Calculation is performed at each impedance update grid point, starting from the current depth of discharge (DODstart).

[0046] When the battery is in the Relax Mode (also called the static state, that is, when the mobile phone is in sleep mode for a long enough time and the power consumption is very low, it can be considered that the battery terminal voltage is basically equivalent to the battery open circuit voltage OCV), the fuel gauge monitors the battery open circuit voltage OCV to determine the DOD. The relationship between the two is:

[0047] DOD=f(OCV,T) (Formula 1)

[0048] When the mobile phone is not in standby mode and cannot effectively measure OCV, the integration method is used to predict the DOD value at the next moment.

[0049]

[0050] PassedCharge is the integral of the current over time from DOD1 to DOD2. Calculation of Qmax: When the phone is at rest, a qualified DOD update is obtained, recorded as DOD1; then discharge begins, accumulating the charge PassedCharge; then it is left at rest, and a qualified DOD update is obtained, recorded as DOD2. Then Qmax can be calculated by the following formula:

[0051]

[0052] like Figure 1C , which is a schematic diagram of battery voltage and battery current in an embodiment of the present application.

[0053] FCC=Qstart+PassedCharge+RM (Formula 4)

[0054] Qstart is the capacity between DODatEOC (depth of discharge when fully charged) and DOD0. PassedCharge is the cumulative capacity of the current charge or discharge, calculated from DOD0, and obtained directly by coulomb counter integration. RM calculation: Calculation is performed at each impedance update grid point, starting from the current DODstart.

[0055] V(DODx, T)=OCV(DODx, T)+I*R(DODx, T), where I is the estimated current.

[0056] When the terminal voltage V(DODx, T) is less than or equal to the cut-off voltage, the DOD corresponding to the open circuit voltage OCV(DODx, T) is DODfinal. For example, the DOD is used to find the DODfinal corresponding to the cut-off voltage (Term Voltage) in steps of 4%.

[0057] RM = (DODfinal - DODpresent)*Qmax (Formula 5)

[0058] A mapping table of OCV (DODx, T) and DOD, T is pre-stored. When V (DODx, T) is less than or equal to the cut-off voltage, the DOD corresponding to OCV is DODfinal.

[0059] For example: Assuming the cut-off voltage is 3.25V, through V(DODx, T)=OCV(DODx, T)+I*R(DODx, T), we can find DODfinal=90% when the battery terminal voltage is exactly equal to 3.25V.

[0060] If the cut-off voltage is changed to 3.1V, then through V(DODx, T)=OCV(DODx, T)+Ix R(DODx, T), we can find DODfinal=95% when the battery terminal voltage is exactly equal to 3.25V.

[0061] That is, if the cut-off voltage is changed from 3.25V to 3.1V, the battery's depth of discharge DOD can increase by 5%. Therefore, the RM remaining capacity will increase accordingly, and then SOC = RM / FCC will increase, then the speed of power change will slow down, and the user experience is that each grid of power is more durable. Therefore, the cut-off voltage of the fuel gauge affects the smoothing speed of the SOC of the fuel gauge.

[0062] In the embodiment of the present application, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

[0063] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0064] The technical solution of the present application is further described below by way of embodiments. Figure 2 FIG. 1 is a schematic diagram of an embodiment of a method for adjusting a battery cut-off voltage in an embodiment of the present application, which may include:

[0065] 201. When the terminal device supports a function of modifying the cut-off voltage, obtain the current voltage and the current remaining power of the battery.

[0066] Exemplarily, the terminal device may parse dtsi (Device Tree Source Include) to obtain a configuration that supports modifying the cut-off voltage function (eg, support) attribute, wherein the support attribute indicates whether the function of switching the cut-off voltage to expand the SOC is supported.

[0067] If the support attribute is equal to true, it means that the terminal device supports the function of modifying the cut-off voltage to expand the SOC, which is referred to as supporting the function of modifying the cut-off voltage. Read the current voltage (volt) and the current remaining power (soc) from the fuel gauge to monitor the current voltage (volt) and the current remaining power (soc) of the battery. The current remaining power in this application is described in the form of percentage.

[0068] If the support attribute is equal to false, it means that the terminal device does not support the function of modifying the cut-off voltage to expand the SOC, which is referred to as not supporting the function of modifying the cut-off voltage.

[0069] In some possible implementations, the method may further include: in the case of detecting an opening instruction for modifying the cut-off voltage function, opening the modifying cut-off voltage function according to the opening instruction. In this case, the terminal device also supports the modifying cut-off voltage function. Or,

[0070] When a shutdown instruction for modifying the cut-off voltage function is detected, the modifying cut-off voltage function is disabled according to the shutdown instruction. At this time, the terminal device does not support the modifying cut-off voltage function.

[0071] Exemplarily, an on instruction for turning on the cutoff voltage modification function, or a off instruction for turning off the cutoff voltage modification function, may be generated by the current user performing an on or off operation on the terminal device, or may be generated by remotely turning on or off and on the cutoff voltage modification function through a server.

[0072] In this technical solution, whether the terminal device supports the function of modifying the cut-off voltage is specifically described, thereby improving the feasibility of the solution.

[0073] In some possible implementations, when the terminal device supports a function of modifying the cut-off voltage, a first voltage threshold and a first remaining power threshold are acquired.

[0074] Exemplarily, the support attribute is equal to true, indicating that the terminal device supports the function of modifying the cutoff voltage to expand the SOC, and the first voltage threshold (trigger_volt) and the first remaining power threshold (trigger_soc) can also be read from the support attribute.

[0075] Optionally, the first voltage threshold and the first remaining power threshold may be preset or obtained from a server, which is not limited in the specific embodiments of the present application.

[0076] In the present technical solution, when the terminal device supports the function of modifying the cut-off voltage, the first voltage threshold and the first remaining power threshold can also be obtained to judge the current voltage and the current remaining power of the battery to obtain the comprehensive status of the battery.

[0077] In some possible implementations, the method may further include: when a first configuration instruction is detected, obtaining the first voltage threshold according to the first configuration instruction; when a second configuration instruction is detected, obtaining the first remaining power threshold according to the second configuration instruction.

[0078] The first configuration instruction and the second configuration instruction here can be the same configuration instruction, that is, the first voltage threshold and the first remaining power threshold are carried by the same configuration instruction; the first configuration instruction and the second configuration instruction can also be different configuration instructions, that is, the first voltage threshold and the first remaining power threshold are carried by different configuration instructions, which is not limited to the specific embodiments of the present application.

[0079] For example, Figure 3AAs shown, it is a schematic diagram of supporting the modification of the cut-off voltage function, the first voltage threshold and the first remaining power threshold in the embodiment of the present application. Whether the cut-off voltage function is supported, the first voltage threshold and the first remaining power threshold can be configured through RUS to obtain the first voltage threshold (trigger_volt) and the first remaining power threshold (trigger_soc). The specific method is to configure SwitchTermVoltCfgArgs = "13800045" in the xml file according to its format, where the first bit represents the switch for modifying the cut-off voltage function (such as 1 here, indicating that the cut-off voltage modification function is supported), the second to fifth bits represent the first voltage threshold of the battery (such as 3800mv here), and the sixth to eighth bits represent the first remaining power threshold of the battery (such as 45% here), and then send the SwitchTermVoltCfgArgs = "13800045" string to the kernel, and the kernel will parse it. The kernel will first determine the accuracy of the length of the string. When it is equal to 8, it means it is accurate, otherwise it is inaccurate. If it is legal, it means that an update is needed to restore the battery status to the default state. For example, the default status of the battery is set to: INVALID_TO_EXPANDED_SOC. Convert the first digit of the string into a numerical value and assign it to support; convert the middle four digits of the string into a numerical value and assign it to trigger_volt; convert the last three digits of the string into a numerical value and assign it to trigger_soc.

[0080] In this technical solution, the acquisition of the first voltage threshold and the first remaining power threshold is explained, which improves the feasibility of the solution.

[0081] In some possible implementations, the method may further include: if the terminal device does not support a function of modifying the cut-off voltage, not adjusting the first cut-off voltage of the battery.

[0082] Exemplarily, when the terminal device determines that the cut-off voltage modification function is not supported (there are two situations, one is that the present application supports the cut-off voltage modification function, but the cut-off voltage modification function is not turned on, and the other is that the cut-off voltage modification function is not supported), that is, support = false, the cut-off voltage vote table is set to a maximum unconventional value, the switch_term_volt is updated to 0, the setting of the maximum unconventional value of the cut-off voltage vote table is canceled, and the switch_term_volt is judged to be zero in the vote table. Then, the normal cut-off voltage, that is, the first cut-off voltage, is used to set the fuel gauge cut-off voltage register.

[0083] In the technical solution, when the terminal device does not support the function of modifying the cut-off voltage, a specific solution of not adjusting the first cut-off voltage of the battery is described, thereby improving the feasibility of the solution.

[0084] In some possible implementations, when the terminal device supports the function of modifying the cut-off voltage, obtaining the current voltage and the current remaining power of the battery may include: when the terminal device supports the function of modifying the cut-off voltage, periodically obtaining the current voltage and the current remaining power of the battery.

[0085] In the present technical solution, when the terminal device supports the function of modifying the cut-off voltage, the action of obtaining the current voltage and the current remaining power of the battery can be automatically triggered periodically (for example, 10s), so as to determine the comprehensive state of the battery and judge whether to adjust the first cut-off voltage of the battery.

[0086] 202. Determine a comprehensive state of the battery based on the current voltage and the current remaining power, the comprehensive state of the battery comprising a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold.

[0087] In some possible implementations, there are three comprehensive battery states, as follows:

[0088] Default state: the state of switching the cutoff voltage to expand SOC (INVALID_TO_EXPANDED_SOC) unconventionally.

[0089] The first remaining power state: that is, the state of switching the cut-off voltage to expand the SOC (SWITCHED_TO_EXPANDED_SOC), which can also be called the state of having switched the cut-off voltage to expand the SOC (HAS_SWITCHED_TO_EXPANDED_SOC).

[0090] The second remaining power state: a state in which the cut-off voltage is not switched to expand the SOC (NOT_SWITCH_TO_EXPANDED_SOC), which can also be referred to as a state in which the cut-off voltage is not switched to expand the SOC (HAS_NOT_SWITCH_TO_EXPANDED_SOC).

[0091] In some possible implementations, determining the comprehensive state of the battery according to the current voltage and the current remaining power may include:

[0092] When the current voltage is greater than a first voltage threshold and the current remaining power is greater than the first remaining power threshold, determining that the comprehensive state of the battery is the state of the first remaining power state; or,

[0093] When the current voltage is less than or equal to the first voltage threshold, or the current remaining power is less than or equal to the first remaining power threshold, determining that the comprehensive state of the battery is the second remaining power state; or,

[0094] When the current voltage is less than or equal to the second voltage threshold, and the current remaining power is less than or equal to the second remaining power threshold, the comprehensive state of the battery is determined to be the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold; or,

[0095] When the current voltage is greater than the second voltage threshold, or the current remaining power is greater than the second remaining power threshold, the comprehensive state of the battery is determined to be the first remaining power state.

[0096] For example, Figure 3B As shown, it is a schematic diagram of determining the comprehensive state of the battery according to the current voltage and the current remaining power in an embodiment of the present application. Because the default state of the battery is: unconventionally modifying the cut-off voltage to expand the SOC (INVALID_TO_EXPANDED_SOC) state. It should be noted that no matter how many batteries are in the terminal device, the default state of the battery is INVALID_TO_EXPANDED_SOC. If there are multiple batteries in the terminal device, then the multiple batteries may be connected in series or in parallel, which is not specifically limited in the embodiments of the present application.

[0097] Regardless of the number of batteries in the terminal device, the method for determining the comprehensive status of each battery is universal. Here, the comprehensive status of a battery is determined as an example, as shown below:

[0098] When volt>trigger_volt1 and soc>trigger_soc1, the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cutoff voltage to expand the SOC to the first remaining power state, which can also be called the state of switching the cutoff voltage to expand the SOC (SWITCHED_TO_EXPANDED_SOC).

[0099] When volt≤trigger_volt1, or soc≤trigger_soc1, the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cut-off voltage to expand the SOC to the second remaining power state, which can also be called the state of not switching the cut-off voltage to expand the SOC (NOT_SWITCH_TO_EXPANDED_SOC).

[0100] Exemplarily, the second voltage threshold may be obtained by the first voltage threshold (trigger_volt1) and the first preset step size (detal_volt_hyst), for example, the second voltage threshold (trigger_volt2) is trigger_volt2=trigger_volt1-detal_volt_hyst.

[0101] The second remaining power threshold may be obtained by the first remaining power threshold (trigger_soc1) and the second preset step size (detal_soc_hyst). For example, the second remaining power threshold (trigger_soc2) is trigger_soc2=trigger_soc1-detal_soc_hyst.

[0102] When volt≤trigger_volt2 and soc≤trigger_soc2, the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cutoff voltage to expand the SOC to the second remaining power state, which can also be called the state of not switching the cutoff voltage to expand the SOC (NOT_SWITCH_TO_EXPANDED_SOC).

[0103] When volt>trigger_volt2, or soc>trigger_soc2, the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cutoff voltage to expand the SOC to the first remaining power state, which can also be called the state of switching the cutoff voltage to expand the SOC (SWITCHED_TO_EXPANDED_SOC).

[0104] The determination of the second voltage threshold and the second remaining power threshold is a fool-proof mechanism. Therefore, the determination of the second voltage threshold and the second remaining power threshold is an optional implementation method.

[0105] In this technical solution, how to determine whether the comprehensive state of the battery is the first remaining power state or the second remaining power state according to the current voltage and the current remaining power is further explained. This provides a data basis for whether to adjust the first cut-off voltage of the battery according to the comprehensive state of the battery in the future, thereby improving the feasibility of the solution.

[0106] In some possible implementations, during the determination of the first remaining power state and the second remaining power state, there may be two comprehensive states of the battery, as shown below:

[0107] The first remaining power state to be switched is a state in which the cut-off voltage is prepared to be switched to expand the SOC (PREPARING_SWITCH_TO_EXPANDED_SOC). The first remaining power state to be switched is a state between the first remaining power state and the default state.

[0108] The second remaining power state to be switched is a state in which the cut-off voltage is not switched to expand the SOC (PREPARING_NOT_SWITCH_TO_EXPANDED_SOC). The second remaining power state to be switched is a state between the second remaining power state and the default state.

[0109] In some possible implementations, when the current voltage is greater than a first voltage threshold and the current remaining power is greater than a first remaining power threshold, determining that the comprehensive state of the battery is the first remaining power state may include:

[0110] When the current voltage is greater than the first voltage threshold, and the duration for which the current remaining power is greater than the first remaining power threshold is less than or equal to a first preset duration, determining that the comprehensive state of the battery is the first remaining power state to be switched; or,

[0111] When the current voltage is greater than the first voltage threshold, and the duration for which the current remaining power is greater than the first remaining power threshold is greater than the first preset duration, the comprehensive state of the battery is determined to be the first remaining power state.

[0112] Exemplarily, when volt>trigger_volt1, and soc>trigger_soc1 lasts for a duration less than or equal to a first preset duration (for example, 20s), the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cut-off voltage to expand the SOC to the first remaining power state to be switched, and the first remaining power state to be switched can also be called the state of preparing to switch the cut-off voltage to expand the SOC (PREPARING_SWITCH_TO_EXPANDED_SOC).

[0113] When volt>trigger_volt1, and soc>trigger_soc1 lasts for a duration greater than a first preset duration (for example, 20s), the comprehensive state of the battery is determined to be updated from the first remaining power state to be switched to the first remaining power state. The first remaining power state can also be referred to as the state where the cut-off voltage has been switched to expand the SOC (HAS_SWITCHED_TO_EXPANDED_SOC).

[0114] In the present technical solution, the first remaining power state is further divided into the first remaining power state to be switched and the first remaining power state. The first remaining power state to be switched means that the residence time of the current voltage and the current remaining power respectively meeting the corresponding threshold is too short, and it is considered that the current voltage and the current remaining power are not stable, which can be called the state of preparing to switch the cut-off voltage to expand the SOC; the first remaining power state means that the residence time of the current voltage and the current remaining power respectively meeting the corresponding threshold meets the requirements, and it is considered that the current voltage and the current remaining power are stable, which can be called the state of having switched the cut-off voltage to expand the SOC. In this way, it can be accurately determined whether to adjust the first cut-off voltage of the battery according to the comprehensive state of the battery.

[0115] In some possible implementations, when the current voltage is less than or equal to a second voltage threshold and the current remaining power is less than or equal to a second remaining power threshold, determining that the comprehensive state of the battery is the second remaining power state may include:

[0116] When the current voltage is less than or equal to the second voltage threshold, and the duration for which the current remaining power is less than or equal to the second remaining power threshold is less than or equal to the second preset duration, determining that the comprehensive state of the battery is the second remaining power state to be switched; or,

[0117] When the current voltage is less than or equal to the second voltage threshold, and the duration for which the current remaining power is less than or equal to the second remaining power threshold is greater than the second preset duration, the comprehensive state of the battery is determined to be the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold.

[0118] Exemplarily, when volt≤trigger_volt2, and soc≤trigger_soc2 lasts for a time period that is less than or equal to a second preset time period (e.g., 20s), the comprehensive state of the battery is determined to be updated from the default unconventional state of modifying the cutoff voltage to expand the SOC to the second remaining power state to be switched, which can also be referred to as the state of preparing not to switch the cutoff voltage to expand the SOC (PREPARING_NOT_SWITCH_TO_EXPANDED_SOC).

[0119] When volt≤trigger_volt2 and soc≤trigger_soc2 lasts for a period greater than a second preset period (for example, 20s), the comprehensive state of the battery is determined to be updated from the second remaining power state to be switched to the second remaining power state. The second remaining power state can also be referred to as the state of not switching the cut-off voltage to expand the SOC (HAS_NOT_SWITCHED_TO_EXPANDED_SOC).

[0120] like Figure 3C , which is another schematic diagram of determining the comprehensive state of the battery according to the current voltage and the current remaining power in an embodiment of the present application.

[0121] In the present technical solution, the second remaining power state is further divided into the second remaining power state to be switched and the second remaining power state. The second remaining power state to be switched means that the residence time of the current voltage and the current remaining power respectively meeting the corresponding threshold is too short, and it is considered that the current voltage and the current remaining power are not stable, which can be called the state of preparing not to switch the cut-off voltage to expand the SOC; the second remaining power state means that the residence time of the current voltage and the current remaining power respectively meeting the corresponding threshold meets the requirements, and it is considered that the current voltage and the current remaining power are stable, which can be called the state of not switching the cut-off voltage to expand the SOC. In this way, it can be accurately determined whether to adjust the first cut-off voltage of the battery according to the comprehensive state of the battery.

[0122] In some possible implementations, the terminal device includes a first battery and a second battery; the method may further include:

[0123] When the comprehensive state of the first battery is the first remaining power state and the comprehensive state of the second battery is the first remaining power state or the default state, determining that the comprehensive state of the batteries is the first remaining power state; or,

[0124] When the comprehensive state of the first battery is the second remaining power state and the comprehensive state of the second battery is the second remaining power state or the default state, it is determined that the comprehensive state of the battery is the second remaining power state.

[0125] When the comprehensive state of the battery is the first remaining power state, it indicates that the first cutoff voltage of the battery is to be adjusted. When the comprehensive state of the battery is the second remaining power state, it indicates that the first cutoff voltage of the battery is not to be adjusted.

[0126] In this technical solution, how to determine the comprehensive status of the battery when the terminal device includes multiple batteries is explained, and the comprehensive status of the battery can be accurately judged, and then it can be determined whether to adjust the first cut-off voltage of the battery.

[0127] 203. Determine whether to adjust a first cutoff voltage of the battery according to a comprehensive state of the battery.

[0128] Optionally, in some possible implementations, determining whether to adjust the first cutoff voltage of the battery according to the comprehensive state of the battery may include: adjusting the first cutoff voltage of the battery when the comprehensive state of the battery is the first remaining power state.

[0129] In the present technical solution, when the comprehensive state of the battery is the first remaining power state, that is, the cut-off voltage has been switched to expand the SOC state, it means that the remaining power of the battery is still sufficient. At this time, the first cut-off voltage of the battery can be adjusted to make the battery life longer at a high remaining power.

[0130] Optionally, in some possible implementations, adjusting the first cutoff voltage of the battery when the comprehensive state of the battery is the first remaining power state may include: obtaining a second cutoff voltage when the comprehensive state of the battery is the first remaining power state; and adjusting the first cutoff voltage of the battery to the second cutoff voltage when the second cutoff voltage is not equal to 0, the second cutoff voltage being less than the first cutoff voltage.

[0131] Exemplarily, when the comprehensive state of the battery is the first remaining power state, that is, SWITCH_TO_EXPANDED_SOC, it means that the first cut-off voltage of the battery is to be switched. At this time, the second cut-off voltage (term_volt) needs to be obtained. The second cut-off voltage (term_volt) can be the shutdown voltage corresponding to the power saving mode or the super power saving mode, or it can be a preset voltage less than the first cut-off voltage. The embodiment of the present application does not make specific limitations. Then determine whether term_volt is equal to 0. If it is not equal to 0, the first cut-off voltage needs to be adjusted. In the process of adjusting the first cut-off voltage, the vote table of the cut-off voltage can be set to a maximum unconventional value first. Update the saved switch_term_volt to term_volt, cancel the setting of the maximum unconventional value of the cut-off voltage vote table, and if it is determined in the vote table that switch_term_volt is not zero, it is set in the fuel gauge cut-off voltage register to complete the process of adjusting the first cut-off voltage to the second cut-off voltage.

[0132] In the present technical solution, when the comprehensive state of the battery is the first remaining power state, how to adjust the first cut-off voltage of the battery to the second cut-off voltage is described in detail; when the second cut-off voltage is not equal to 0, after adjusting the first cut-off voltage of the battery to the second cut-off voltage, the battery life at a high remaining power level can be increased, thereby improving the user experience.

[0133] Optionally, when the second cut-off voltage is not equal to 0, adjusting the first cut-off voltage of the battery to the second cut-off voltage may include: when the second cut-off voltage is not equal to 0 and the second cut-off voltage is not equal to the first cut-off voltage, adjusting the first cut-off voltage of the battery to the second cut-off voltage.

[0134] Exemplarily, when the comprehensive state of the battery is the first remaining power state, that is, SWITCH_TO_EXPANDED_SOC, it means that the first cut-off voltage of the battery is to be switched. At this time, the second cut-off voltage (term_volt) needs to be obtained. The second cut-off voltage (term_volt) can be the shutdown voltage corresponding to the power saving mode or the super power saving mode, or it can be a preset voltage less than the first cut-off voltage. The embodiment of the present application does not make specific limitations. Then determine whether term_volt is equal to 0. If it is not equal to 0, and term_volt has changed relative to the saved switch_term_volt, if there is a change, the first cut-off voltage needs to be adjusted. In the process of adjusting the first cut-off voltage, the vote table of the cut-off voltage can be set to a maximum unconventional value first. Update the saved switch_term_volt to term_volt, cancel the setting of the maximum unconventional value of the cut-off voltage vote table, and determine that switch_term_volt is not zero in the vote table, then set it in the fuel gauge cut-off voltage register to complete the process of adjusting the first cut-off voltage to the second cut-off voltage.

[0135] In the present technical solution, when the comprehensive state of the battery is the first remaining power state, how to adjust the first cut-off voltage of the battery to the second cut-off voltage is described in detail; when the second cut-off voltage is not equal to 0 and the second cut-off voltage is not equal to the first cut-off voltage, after adjusting the first cut-off voltage of the battery to the second cut-off voltage, the battery life at a high remaining power level can be increased, thereby improving the user experience.

[0136] Optionally, in some possible implementations, determining whether to adjust the first cutoff voltage of the terminal device based on the comprehensive state of the battery may include: when the comprehensive state of the battery is the second remaining power state, not adjusting the first cutoff voltage of the battery.

[0137] Exemplarily, when the comprehensive state of the battery is the second remaining power state, that is, NOT_SWITCH_TO_EXPANDED_SOC, it indicates that the first cut-off voltage of the battery is not switched, and the normal cut-off voltage, that is, the first cut-off voltage, is restored at this time. Then, it is determined whether the comprehensive state of the previous battery (pre_syn_status) is different from the comprehensive state of the current battery (syn_status). If there is a change, it indicates that the state of NOT_SWITCH_TO_EXPANDED_SOC is reached for the first time, and it is necessary to set a maximum unconventional value in the cut-off voltage vote table, update switch_term_volt to 0, cancel the setting of the maximum unconventional value of the cut-off voltage vote table, and judge that switch_term_volt is zero in the vote table, then use the normal cut-off voltage, that is, the first cut-off voltage, and set the fuel gauge cut-off voltage register. It is also necessary to update the comprehensive state of the previous battery (pre_syn_status) to the comprehensive state of the current battery (syn_status).

[0138] In the present technical solution, when the comprehensive state of the battery is the second remaining power state, that is, the state where the cut-off voltage is no longer switched to expand the SOC, it indicates that the remaining power of the battery is insufficient. At this time, the first cut-off voltage of the battery is not adjusted, and the default first cut-off voltage can be used.

[0139] In some possible implementations, the method may further include: when the comprehensive state of the battery is a second remaining power state, uploading second battery-related information to the server, the second battery-related information including at least one of the first cut-off voltage, the current voltage and the current remaining power.

[0140] Exemplarily, pre_syn_status is the comprehensive status of the battery in the previous cycle of syn_status. When the two are different, the buried point information, that is, the second battery-related information, can be transmitted back to the server. The second battery-related information includes the normal cut-off voltage (that is, the first cut-off voltage), the current voltage of the battery, the current remaining power of the battery and other related information.

[0141] In this technical solution, when the comprehensive state of the battery is the second remaining power state, the corresponding second battery related information can be uploaded to the server for the server to analyze the battery operation state. The second battery related information can also be downloaded from the server when needed, and the terminal device analyzes the battery operation state according to the second battery related information, saving storage space of the terminal device.

[0142] In an embodiment of the present application, when the terminal device supports the function of modifying the cut-off voltage, the current voltage and the current remaining power of the battery are obtained; based on the current voltage and the current remaining power, the comprehensive state of the battery is determined, and the comprehensive state of the battery includes a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than the first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; based on the comprehensive state of the battery, it is determined whether to adjust the first cut-off voltage of the battery. Combined with the current voltage and the current remaining power of the battery, the comprehensive state of the battery is determined, and then based on the comprehensive state of the battery, it is determined whether to adjust the first cut-off voltage of the battery, thereby adjusting the battery life of the remaining power of the terminal device.

[0143] like Figure 4 FIG. 1 is a schematic diagram of another embodiment of a method for adjusting the battery cut-off voltage in an embodiment of the present application, which may include:

[0144] 401. When the terminal device supports a function of modifying the cut-off voltage, obtain the current voltage and the current remaining power of the battery.

[0145] 402. Determine a comprehensive state of the battery based on the current voltage and the current remaining power, the comprehensive state of the battery comprising a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold.

[0146] 403. When the comprehensive state of the battery is the first remaining power state, adjust a first cutoff voltage of the battery.

[0147] It should be noted that in the steps 401-403 of the embodiment of the present application, reference can be made to Figure 2 Steps 201-203 in the illustrated embodiment will not be described in detail here.

[0148] 404. When the comprehensive state of the battery is the first remaining power state, upload first battery-related information to the server, wherein the first battery-related information includes at least one of the first cut-off voltage, the second cut-off voltage, the current voltage and the current remaining power.

[0149] Exemplarily, when the comprehensive state of the battery is the first remaining power state, that is, SWITCH_TO_EXPANDED_SOC, it means that the first cut-off voltage of the battery is to be adjusted to the second cut-off voltage. After the first cut-off voltage of the battery is adjusted to the second cut-off voltage, the buried point information can be transmitted back to the server, that is, the first battery-related information. The first battery-related information includes the normal cut-off voltage (that is, the first cut-off voltage), the switched cut-off voltage (that is, the second cut-off voltage), the current voltage of the battery, the current remaining power of the battery and other related information.

[0150] In this technical solution, when the comprehensive state of the battery is the first remaining power state, the corresponding first battery related information can be uploaded to the server for the server to analyze the operating state of the battery. The first battery related information can also be downloaded from the server when needed, and the terminal device analyzes the operating state of the battery according to the first battery related information, saving storage space of the terminal device.

[0151] In the embodiments of the present application, Figure 5 As shown, it is a flow chart for adjusting the battery life of the terminal device in an embodiment of the present application. This scheme obtains the charging habits of users using terminal devices through big data analysis, takes the starting power of more than 80% of users inserting the charger as the dividing point, uses the lower cut-off voltage in super power saving or power saving mode as the fuel gauge cut-off voltage in the high power interval, and uses the higher cut-off voltage in non-super power saving mode as the fuel gauge cut-off voltage in the low power interval. This targeted setting of different cut-off voltages for terminal devices can improve the discharge battery life of the terminal device. The terminal device can also upload battery-related information to the server for the server to analyze the operating status of the battery. It is also possible to download battery-related information from the server when needed, and the terminal device analyzes the operating status of the battery based on the battery-related information to save storage space of the terminal device.

[0152] like Figure 6 FIG. 1 is a schematic diagram of an embodiment of a device for adjusting the battery cut-off voltage in an embodiment of the present application, which may include:

[0153] The acquisition module 601 is used to acquire the current voltage and the current remaining power of the battery when the terminal device supports the function of modifying the cut-off voltage;

[0154] Processing module 602 is used to determine a comprehensive state of the battery based on the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; determine whether to adjust the first cut-off voltage of the battery based on the comprehensive state of the battery.

[0155] Optionally, in some implementations of the present application, the processing module 602 is specifically configured to adjust a first cutoff voltage of the battery when the comprehensive state of the battery is the first remaining power state.

[0156] Optionally, in some implementations of the present application, the processing module 602 is specifically used to obtain a second cutoff voltage when the comprehensive state of the battery is the first remaining power state; when the second cutoff voltage is not equal to 0, adjust the first cutoff voltage of the battery to the second cutoff voltage, and the second cutoff voltage is less than the first cutoff voltage.

[0157] Optionally, in some implementations of the present application, the device for adjusting the battery cut-off voltage further includes:

[0158] The sending module 603 is used to upload battery-related information to the server when the comprehensive state of the battery is the first remaining power state, and the battery-related information includes at least one of the first cut-off voltage, the second cut-off voltage, the current voltage and the current remaining power.

[0159] Optionally, in some implementations of the present application, the processing module 602 is specifically configured to not adjust the first cut-off voltage of the battery when the comprehensive state of the battery is the second remaining power state.

[0160] Optionally, in some implementations of the present application, the processing module 602 is specifically configured to determine that the comprehensive state of the battery is the state of the first remaining power state when the current voltage is greater than the first voltage threshold and the current remaining power is greater than the first remaining power threshold; or,

[0161] The processing module 602 is specifically configured to determine that the comprehensive state of the battery is the second remaining power state when the current voltage is less than or equal to the first voltage threshold, or when the current remaining power is less than or equal to the first remaining power threshold; or

[0162] The processing module 602 is specifically configured to determine that the comprehensive state of the battery is the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold when the current voltage is less than or equal to the second voltage threshold and the current remaining power is less than or equal to the second remaining power threshold continuously; or,

[0163] The processing module 602 is specifically configured to determine that the comprehensive state of the battery is the first remaining power state when the current voltage is greater than the second voltage threshold, or the current remaining power is greater than the second remaining power threshold.

[0164] Optionally, in some implementations of the present application, the processing module 602 is specifically configured to determine that the comprehensive state of the battery is a first remaining power state to be switched when the current voltage is greater than the first voltage threshold and the duration for which the current remaining power is greater than the first remaining power threshold is less than or equal to a first preset duration; or,

[0165] The processing module 602 is specifically used to determine that the comprehensive state of the battery is the first remaining power state when the current voltage is greater than the first voltage threshold and the duration for which the current remaining power is greater than the first remaining power threshold is greater than the first preset duration.

[0166] Optionally, in some implementations of the present application, the processing module 602 is specifically configured to determine that the comprehensive state of the battery is a second remaining power state to be switched when the current voltage is less than or equal to the second voltage threshold and the duration for which the current remaining power is less than or equal to the second remaining power threshold is less than or equal to a second preset duration; or,

[0167] Processing module 602 is specifically used to determine that the comprehensive state of the battery is a second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold when the current voltage is less than or equal to the second voltage threshold and the duration for which the current remaining power is less than or equal to the second remaining power threshold is greater than the second preset duration, and the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold.

[0168] Optionally, in some implementations of the present application, the processing module 602 is further used to obtain the first voltage threshold according to the first configuration instruction when a first configuration instruction is detected; and to obtain the first remaining power threshold according to the second configuration instruction when a second configuration instruction is detected.

[0169] like Figure 7 As shown, it is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application. Figure 6 The battery cut-off voltage adjustment device is shown.

[0170] like Figure 8 FIG. 1 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present application. Figure 8 A detailed introduction to the various components of the mobile phone in the terminal device:

[0171] The RF circuit 810 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 880 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 810 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 810 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.

[0172] The memory 820 can be used to store software programs and modules. The processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820. The memory 820 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 820 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0173] The input unit 830 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 831 or near the touch panel 831 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 831 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 880, and can receive and execute commands sent by the processor 880. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 831, the input unit 830 may also include other input devices 832. Specifically, the other input devices 832 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0174] The display unit 840 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 840 may include a display panel 841. Optionally, the display panel 841 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 831 may cover the display panel 841. When the touch panel 831 detects a touch operation on or near it, it is transmitted to the processor 880 to determine the type of touch event. Subsequently, the processor 880 provides a corresponding visual output on the display panel 841 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 831 and the display panel 841 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 831 and the display panel 841 can be integrated to realize the input and output functions of the mobile phone.

[0175] The mobile phone may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 841 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0176] The audio circuit 860, the speaker 861, and the microphone 862 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can transmit the received audio data to the speaker 861 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 860 and converted into audio data, and then the audio data is output to the processor 880 for processing, and then sent to another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.

[0177] Wi-Fi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the Wi-Fi module 870. It provides users with wireless broadband Internet access. Figure 8 A Wi-Fi module 870 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0178] The processor 880 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 820, and calling data stored in the memory 820, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 880.

[0179] The mobile phone also includes a power supply 890 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 880 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0180] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0181] In an embodiment of the present application, the processor 880 is used to obtain the current voltage and the current remaining power of the battery when the terminal device supports the function of modifying the cut-off voltage; determine the comprehensive state of the battery based on the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; determine whether to adjust the first cut-off voltage of the battery based on the comprehensive state of the battery.

[0182] Optionally, in some implementations of the present application, the processor 880 is specifically configured to adjust a first cutoff voltage of the battery when the comprehensive state of the battery is the first remaining power state.

[0183] Optionally, in some implementations of the present application, the processor 880 is specifically used to obtain a second cutoff voltage when the comprehensive state of the battery is the first remaining power state; when the second cutoff voltage is not equal to 0, adjust the first cutoff voltage of the battery to the second cutoff voltage, and the second cutoff voltage is less than the first cutoff voltage.

[0184] Optionally, in some implementations of the present application, the RF circuit 810 is used to upload battery-related information to a server when the comprehensive state of the battery is the first remaining power state, and the battery-related information includes at least one of the first cut-off voltage, the second cut-off voltage, the current voltage and the current remaining power.

[0185] Optionally, in some implementations of the present application, the processor 880 is specifically configured to, when the comprehensive state of the battery is the second remaining power state, not adjust the first cut-off voltage of the battery.

[0186] Optionally, in some implementations of the present application, the processor 880 is specifically configured to determine that the comprehensive state of the battery is the state of the first remaining power state when the current voltage is greater than a first voltage threshold and the current remaining power is greater than the first remaining power threshold; or,

[0187] The processor 880 is specifically configured to determine that the comprehensive state of the battery is the second remaining power state when the current voltage is less than or equal to the first voltage threshold, or when the current remaining power is less than or equal to the first remaining power threshold; or

[0188] Processor 880 is specifically configured to determine that the comprehensive state of the battery is the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold when the current voltage is less than or equal to the second voltage threshold and the current remaining power is less than or equal to the second remaining power threshold continuously; or,

[0189] Processor 880 is specifically configured to determine that the comprehensive state of the battery is the first remaining power state when the current voltage is greater than the second voltage threshold, or when the current remaining power is greater than the second remaining power threshold.

[0190] Optionally, in some implementations of the present application, the processor 880 is specifically configured to determine that the comprehensive state of the battery is a first remaining power state to be switched when the current voltage is greater than the first voltage threshold and the duration for which the current remaining power is greater than the first remaining power threshold is less than or equal to a first preset duration; or,

[0191] Processor 880 is specifically used to determine that the comprehensive state of the battery is the first remaining power state when the current voltage is greater than the first voltage threshold and the duration for which the current remaining power is greater than the first remaining power threshold is greater than the first preset duration.

[0192] Optionally, in some implementations of the present application, the processor 880 is specifically configured to determine that the comprehensive state of the battery is a second remaining power state to be switched when the current voltage is less than or equal to the second voltage threshold and the duration for which the current remaining power is less than or equal to the second remaining power threshold is less than or equal to a second preset duration; or,

[0193] Processor 880 is specifically used to determine that the comprehensive state of the battery is a second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold when the current voltage is less than or equal to the second voltage threshold and the duration for which the current remaining power is less than or equal to the second remaining power threshold is greater than the second preset duration, and the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold.

[0194] Optionally, in some implementations of the present application, the processor 880 is further used to, when a first configuration instruction is detected, obtain the first voltage threshold according to the first configuration instruction; and when a second configuration instruction is detected, obtain the first remaining power threshold according to the second configuration instruction.

[0195] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0196] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0197] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0198] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0199] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0200] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0201] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for adjusting a battery cut-off voltage, characterized in that: include: If the terminal device supports the function of modifying the cut-off voltage, obtain the current voltage and current remaining power of the battery; Determine a comprehensive state of the battery according to the current voltage and the current remaining power, the comprehensive state of the battery comprising a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; According to the comprehensive state of the battery, it is determined whether to adjust the first cut-off voltage of the battery.

2. The method according to claim 1, characterized in that The step of determining whether to adjust the first cut-off voltage of the battery according to the comprehensive state of the battery comprises: When the comprehensive state of the battery is the first remaining power state, a first cutoff voltage of the battery is adjusted.

3. The method according to claim 2, characterized in that When the comprehensive state of the battery is the first remaining power state, adjusting the first cut-off voltage of the battery includes: When the comprehensive state of the battery is the first remaining power state, obtaining a second cut-off voltage; When the second cut-off voltage is not equal to 0, the first cut-off voltage of the battery is adjusted to the second cut-off voltage, and the second cut-off voltage is less than the first cut-off voltage.

4. The method according to claim 3, characterized in that The method further comprises: When the comprehensive state of the battery is the first remaining power state, battery-related information is uploaded to the server, and the battery-related information includes at least one of the first cut-off voltage, the second cut-off voltage, the current voltage and the current remaining power.

5. The method according to any one of claims 1 to 4, characterized in that The step of determining whether to adjust the first cut-off voltage of the terminal device according to the comprehensive state of the battery includes: When the comprehensive state of the battery is the second remaining power state, the first cutoff voltage of the battery is not adjusted.

6. The method according to any one of claims 1 to 4, characterized in that The determining the comprehensive state of the battery according to the current voltage and the current remaining power includes: When the current voltage is greater than a first voltage threshold and the current remaining power is greater than the first remaining power threshold, determining that the comprehensive state of the battery is the state of the first remaining power state; or, When the current voltage is less than or equal to the first voltage threshold, or the current remaining power is less than or equal to the first remaining power threshold, determining that the comprehensive state of the battery is the second remaining power state; or, When the current voltage is less than or equal to the second voltage threshold, and the current remaining power is less than or equal to the second remaining power threshold, the comprehensive state of the battery is determined to be the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold; or, When the current voltage is greater than the second voltage threshold, or the current remaining power is greater than the second remaining power threshold, the comprehensive state of the battery is determined to be the first remaining power state.

7. The method according to claim 6, characterized in that The step of determining that the comprehensive state of the battery is the first remaining power state when the current voltage is greater than the first voltage threshold and the current remaining power is greater than the first remaining power threshold includes: When the current voltage is greater than the first voltage threshold, and the duration for which the current remaining power is greater than the first remaining power threshold is less than or equal to a first preset duration, determining that the comprehensive state of the battery is the first remaining power state to be switched; or, When the current voltage is greater than the first voltage threshold, and the duration for which the current remaining power is greater than the first remaining power threshold is greater than the first preset duration, the comprehensive state of the battery is determined to be the first remaining power state.

8. The method according to claim 6, characterized in that The step of determining that the comprehensive state of the battery is the second remaining power state when the current voltage is less than or equal to the second voltage threshold and the current remaining power is less than or equal to the second remaining power threshold includes: When the current voltage is less than or equal to the second voltage threshold, and the duration for which the current remaining power is less than or equal to the second remaining power threshold is less than or equal to the second preset duration, determining that the comprehensive state of the battery is the second remaining power state to be switched; or, When the current voltage is less than or equal to the second voltage threshold, and the duration for which the current remaining power is less than or equal to the second remaining power threshold is greater than the second preset duration, the comprehensive state of the battery is determined to be the second remaining power state, the second voltage threshold is less than the first voltage threshold, and the second remaining power threshold is less than the first remaining power threshold.

9. The method according to claim 6, characterized in that The method further comprises: In case of detecting a first configuration instruction, obtaining the first voltage threshold according to the first configuration instruction; When the second configuration instruction is detected, the first remaining power threshold is obtained according to the second configuration instruction.

10. A device for adjusting a battery cut-off voltage, characterized in that: include: An acquisition module, used to acquire the current voltage and current remaining power of the battery when the terminal device supports the function of modifying the cut-off voltage; A processing module is used to determine a comprehensive state of a battery based on the current voltage and the current remaining power, the comprehensive state of the battery including a first remaining power state, or a second remaining power state, the remaining power corresponding to the first remaining power state is greater than a first remaining power threshold, and the remaining power corresponding to the second remaining power state is less than or equal to the first remaining power threshold; and determine whether to adjust the first cut-off voltage of the battery based on the comprehensive state of the battery.

11. A terminal device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the terminal device executes the program, the method according to any one of claims 1 to 9 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.