Terminal endurance control method and apparatus, storage medium, and terminal

By monitoring battery voltage and screen touch behavior switching modes, and adjusting terminal operating parameters, the problem of poor battery life control in existing technologies has been solved, achieving more effective power consumption reduction and extended battery life, thus improving the user experience.

WO2026138142A1PCT designated stage Publication Date: 2026-07-02HUIZHOU TCL MOBILE COMM CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUIZHOU TCL MOBILE COMM CO LTD
Filing Date
2025-10-29
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Existing terminal battery life control methods fail to effectively consider terminal conditions, resulting in limited power consumption reduction, weak battery life extension, and a poor user experience.

Method used

By monitoring the battery voltage range and combining it with screen touch behavior, the system switches between touch-only mode and non-touch-only mode, and determines the terminal's battery life operating parameters based on the battery life strategy of different modes, including adjusting parameters such as screen refresh rate, touch scanning frequency, touch reporting rate, duty cycle, and switching capacitor operating frequency.

Benefits of technology

It effectively reduces terminal power consumption, extends battery life, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025130857_02072026_PF_FP_ABST
    Figure CN2025130857_02072026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and discloses a terminal endurance control method and apparatus, a storage medium, and a terminal. The method comprises: if an endurance control mode is a touch-activated doze mode, determining a terminal endurance operating parameter on the basis of a voltage range and a first endurance strategy; and if the endurance control mode is a non-touch doze mode, determining the terminal endurance operating parameter on the basis of the voltage range and a second endurance strategy. The present application improves the terminal endurance effect.
Need to check novelty before this filing date? Find Prior Art

Description

Terminal battery life control method, device, storage medium and terminal

[0001] This application claims priority to Chinese Patent Application No. 202411913483.4, filed on December 23, 2024, entitled “Terminal Battery Life Control Method, Apparatus, Storage Medium and Terminal”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, specifically to a terminal battery life control method, device, storage medium, and terminal. Background Technology

[0003] With the continuous development of technology, many terminals, such as mobile phones, have become important tools. These terminals usually operate based on battery power. If the battery is insufficient and the terminal has a short battery life, it will seriously affect the user's work or life. Therefore, good battery life control is of great significance. Technical issues

[0004] Currently, the methods for controlling terminal battery life are usually simple: reducing the terminal's operating power consumption based on battery level or discharge time. This fails to effectively consider the terminal's specific situation, resulting in limited effectiveness in reducing terminal power consumption, weak battery life extension, and a poor user experience. Technical solutions

[0005] This application provides a terminal battery life control scheme that can more effectively reduce terminal power consumption, improve terminal battery life extension, and enhance user experience.

[0006] The embodiments of this application provide the following technical solutions:

[0007] According to one embodiment of this application, a terminal battery life control method includes: monitoring the battery voltage of a battery and determining the voltage range of the battery voltage; switching a battery life control mode to a touch-based sleep mode or a non-touch-based sleep mode based on screen touch behavior; if the battery life control mode is the touch-based sleep mode, determining terminal battery life operating parameters based on the voltage range and a first battery life strategy; and if the battery life control mode is the non-touch-based sleep mode, determining terminal battery life operating parameters based on the voltage range and a second battery life strategy; and controlling the terminal operation based on the terminal battery life operating parameters.

[0008] In some embodiments of this application, the step of determining terminal battery life operating parameters based on the voltage range and a first battery life strategy if the battery life control mode is the touch-screen nap mode, and determining terminal battery life operating parameters based on the voltage range and a second battery life strategy if the battery life control mode is the non-touch-screen nap mode, includes: detecting the terminal usage scenario; if the battery life control mode is the touch-screen nap mode, determining at least one type of first parameter matching the voltage range based on the first battery life strategy, and determining the first sub-parameter matching the terminal usage scenario in each type of first parameter as the terminal battery life operating parameter; if the battery life control mode is the non-touch-screen nap mode, determining at least one type of second parameter matching the voltage range based on the second battery life strategy, and determining the second sub-parameter matching the terminal usage scenario in each type of second parameter as the terminal battery life operating parameter; wherein, the lower the voltage range, the smaller the matched terminal battery life operating parameter, and the smaller the matched terminal battery life operating parameter when the terminal usage scenario is a predetermined scenario.

[0009] In some embodiments of this application, the detection terminal is used in one or more of the following scenarios: the detection terminal screen is on or off; the application displayed on the detection terminal; the business being performed on the detection terminal.

[0010] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch reporting rate; controlling the terminal operation according to the terminal battery life operating parameters includes: if the battery life control mode is a touch-based sleep mode, controlling the screen to report touch information according to the first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, controlling the screen to report touch information according to the second touch reporting rate, wherein the first touch reporting rate is less than the second touch reporting rate.

[0011] In some embodiments of this application, if the battery life control mode is a touch-screen dozing mode, the terminal battery life operation parameters include a first switch operating frequency; if the battery life control mode is a non-touch-screen dozing mode, the terminal battery life operation parameters include a second switch operating frequency; controlling the terminal operation according to the terminal battery life operation parameters further includes: if the battery life control mode is a touch-screen dozing mode, controlling a switched capacitor device to convert the sensing capacitance from the screen into current according to the first switch operating frequency; if the battery life control mode is a non-touch-screen dozing mode, controlling a switched capacitor device to convert the sensing capacitance from the screen into current according to the second switch operating frequency, wherein the first switch operating frequency is less than the second switch operating frequency.

[0012] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operation parameters include a first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operation parameters include a second touch scanning frequency; controlling the terminal operation according to the terminal battery life operation parameters further includes: if the battery life control mode is a touch-based sleep mode, controlling the screen to perform touch scanning according to the first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, controlling the screen to report touch point information according to the second touch scanning frequency, wherein the first touch reporting rate is less than the second touch scanning frequency.

[0013] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first duty cycle; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second duty cycle; controlling the terminal operation according to the terminal battery life operating parameters further includes: if the battery life control mode is a touch-based sleep mode, adjusting the screen brightness according to the first duty cycle; if the battery life control mode is a non-touch-based sleep mode, adjusting the screen brightness according to the second duty cycle.

[0014] In some embodiments of this application, if the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first resolution; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second resolution; controlling the terminal operation according to the terminal battery life operating parameters further includes: if the battery life control mode is a touch-screen nap mode, controlling the screen to display content according to the first resolution; if the battery life control mode is a non-touch-screen nap mode, controlling the screen to display content according to the second resolution.

[0015] In some embodiments of this application, the step of switching the battery life control mode to a touch-based nap mode or a non-touch-based nap mode based on screen touch behavior includes: determining the switching time matched by the voltage range, wherein the smaller the voltage range, the shorter the matched switching time; and switching the battery life control mode to a touch-based nap mode or a non-touch-based nap mode based on screen touch behavior during the switching time.

[0016] In some embodiments of this application, the step of switching the battery life control mode to a touch-only mode or a non-touch-only mode based on screen touch behavior includes one of the following methods: if a screen touch is detected to change from non-screen touch, the battery life control mode is switched to a touch-only mode; and if a screen touch is detected to change from non-screen touch to screen touch, the battery life control mode is switched to a non-touch-only mode; if a screen touch is detected to change from non-screen touch, whether to switch the battery life control mode to a touch-only mode is determined based on the predicted duration of non-touch behavior; and if so, the battery life control mode is switched to a touch-only mode.

[0017] In some embodiments of this application, the method further includes: if the battery life control mode is the touch-screen nap mode, then determining a target clock from the clock set; and turning off the target clock.

[0018] In some embodiments of this application, monitoring the battery voltage includes: monitoring the battery charge; according to the formula y = -a*x 3 +b*x 2 The battery voltage is obtained by fitting the data using -c*x+d, where y refers to the battery voltage, and a, b, c, and d are predetermined positive fitting coefficients.

[0019] According to one embodiment of this application, a terminal battery life control device includes: a voltage monitoring module, configured to: monitor the battery voltage of a battery and determine the voltage range of the battery voltage; a mode switching module, configured to: switch the battery life control mode to a touch-based sleep mode or a non-touch-based sleep mode based on screen touch behavior; a parameter analysis module, configured to: if the battery life control mode is the touch-based sleep mode, determine terminal battery life operating parameters based on the voltage range and a first battery life strategy; and if the battery life control mode is the non-touch-based sleep mode, determine terminal battery life operating parameters based on the voltage range and a second battery life strategy; and a battery life control module, configured to: control the terminal operation based on the terminal battery life operating parameters.

[0020] According to another embodiment of this application, a storage medium stores a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the methods described in the embodiments of this application.

[0021] According to another embodiment of this application, a terminal may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the methods described in the embodiments of this application.

[0022] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in the embodiments of this application. Beneficial effects

[0023] In this embodiment, the battery voltage is monitored, and the voltage range of the battery voltage is determined; the battery life control mode is switched to touch doze mode or non-touch doze mode according to the screen touch behavior; if the battery life control mode is touch doze mode, the terminal battery life operation parameters are determined according to the voltage range and a first battery life strategy; and if the battery life control mode is non-touch doze mode, the terminal battery life operation parameters are determined according to the voltage range and a second battery life strategy; the terminal operation is controlled according to the terminal battery life operation parameters.

[0024] In the embodiments of this application, the battery voltage range is monitored as a control factor, and the touch dorm mode or non-touch dorm mode is switched according to the screen touch behavior. The terminal's battery life operation parameters are determined according to the first battery life strategy and the second battery life strategy combined with the voltage range for different modes. The terminal operation is controlled according to the terminal's battery life operation parameters. This can more effectively control the battery life based on the terminal's battery and touch status, more effectively reduce terminal power consumption, improve the terminal's battery life extension effect, and improve the user experience. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 shows a flowchart of a terminal battery life control method according to an embodiment of this application.

[0027] Figure 2 shows a mode switching flowchart according to an embodiment of this application.

[0028] Figure 3 shows a flowchart of parameter determination according to an embodiment of this application.

[0029] Figure 4 shows a schematic diagram of a capacitor switching device according to an embodiment of this application.

[0030] Figure 5 shows a block diagram of a terminal battery life control device according to an embodiment of this application.

[0031] Figure 6 shows a block diagram of a terminal according to an embodiment of this application.

[0032] Implementation methods of this application

[0033] The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. Furthermore, the embodiments provided below are some embodiments for implementing the present disclosure, and not all embodiments for implementing the present disclosure. Unless otherwise specified, the technical solutions described in the embodiments of the present disclosure can be implemented in any combination.

[0034] It should be noted that, in the embodiments of this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus, such as portions of circuitry, processors, programs, or software, etc.) in the method or apparatus that includes that element.

[0035] For example, the terminal battery life control method provided in this disclosure includes a series of steps, but the terminal battery life control method provided in this disclosure is not limited to the steps described. Similarly, the terminal battery life control device provided in this disclosure includes a series of units, but the device provided in this disclosure is not limited to the units explicitly described, and may also include units that need to be set up for obtaining relevant information or processing based on information.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure.

[0037] It is understood that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0038] Figure 1 schematically illustrates a flowchart of a terminal battery life control method according to an embodiment of this application. The device executing this terminal battery life control method can be any terminal with processing capabilities, such as a mobile phone, tablet, television, computer, smartwatch, and home appliance.

[0039] As shown in Figure 1, the terminal battery life control method may include steps S110 to S140.

[0040] Step S110: Monitor the battery voltage and determine the voltage range of the battery voltage;

[0041] Step S120: Switch the battery life control mode to touch nap mode or non-touch nap mode based on the screen touch behavior.

[0042] Step S130: If the battery life control mode is the touch dozing mode, then the terminal battery life operation parameters are determined according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch dozing mode, then the terminal battery life operation parameters are determined according to the voltage range and the second battery life strategy.

[0043] Step S140: Control the terminal operation according to the terminal's battery life operation parameters.

[0044] Multiple different voltage ranges are predefined, for example, greater than or equal to 3.8V, less than 3.8V but greater than or equal to 3.6V, less than 3.6V but greater than or equal to 3.4V, and less than 3.4V. By monitoring the battery voltage in the terminal in real time, the current battery voltage within a certain voltage range can be determined.

[0045] By monitoring the user's screen touch behavior, it's possible to detect whether the user is touching the screen. If so, it switches to a non-touch dozing mode; otherwise, it switches to touch dozing mode. For example, when the user swipes their finger across the screen, it switches to non-touch dozing mode; when the finger leaves the screen, it switches to touch dozing mode; and when the user continues swiping, it switches back to non-touch dozing mode. Therefore, it can switch to non-touch dozing mode when there has been no screen touch for a short or long period of time.

[0046] The touch-screen nap mode and the non-touch-screen nap mode are respectively configured with corresponding first and second battery life strategies. If the battery life control mode is the touch-screen nap mode, the terminal's battery life operating parameters are determined based on the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch-screen nap mode, the terminal's battery life operating parameters are determined based on the voltage range and the second battery life strategy.

[0047] Terminal battery life operating parameters are the terminal operating parameters determined according to the corresponding battery life strategy under battery life control mode. These parameters may include, but are not limited to, one or more of the following: screen refresh rate, touch scan frequency, touch reporting rate, duty cycle, screen resolution, or switched capacitor operating frequency. Controlling terminal operation according to the determined terminal battery life operating parameters in touch-only or non-touch-only mode can effectively reduce terminal power consumption.

[0048] In this way, by monitoring the battery voltage range as a control factor, and switching between touch-only and non-touch-only modes based on screen touch behavior, the terminal's battery life operating parameters are determined according to the first and second battery life strategies combined with the voltage range for different modes. The terminal's operation is then controlled based on these battery life operating parameters. This approach can more effectively control battery life based on the terminal's battery and touch status, thereby reducing terminal power consumption, extending battery life, and improving the user experience.

[0049] The following describes further optional embodiments of the steps performed when controlling the terminal's battery life under the embodiment shown in Figure 1.

[0050] In one embodiment, monitoring the battery voltage may include: monitoring the battery charge; according to the formula y = -a*x 3 +b*x 2 The battery voltage is obtained by fitting the data using -c*x+d, where y refers to the battery voltage, and a, b, c, and d are predetermined positive fitting coefficients.

[0051] According to the formula y = -a*x 3 +b*x 2 By fitting the formula -c*x+d, the accurate battery voltage can be obtained. The battery voltage calculated according to this formula can be used for reliable terminal range control.

[0052] For example, for a 5000mAh battery, the fitting polynomial could be y = -2*10-8*x. 3 +0.0001*x 2 -0.4533x+4368.5, where x is the battery charge, y is the battery voltage (in mV), and a, b, c and d are 2*10-8, 0.0001, 0.4533x and 4368.5 respectively.

[0053] Optionally, in other embodiments, monitoring the battery voltage may include: monitoring the battery charge; and using the battery charge to perform fitting calculations based on other preset quadratic polynomials to obtain the battery voltage.

[0054] In one embodiment, referring to FIG2, the step of switching the battery life control mode to touch doze mode or non-touch doze mode according to screen touch behavior includes: step S210, determining the switching time matched by the voltage range, wherein the smaller the voltage range, the shorter the matching switching time; step S220, during the switching time, switching the battery life control mode to touch doze mode or non-touch doze mode according to screen touch behavior.

[0055] The switching time corresponding to different voltage ranges can be pre-specified. The smaller the voltage range, the shorter the corresponding switching time. For example, the switching time is 150ms when the voltage is less than 3.8V and greater than or equal to 3.6V, and 100ms when the voltage is less than 3.6V and greater than or equal to 3.4V.

[0056] Within the switching time matched by the voltage range, switching the battery life control mode to touch drowsiness mode or non-touch drowsiness mode according to the screen touch behavior can further improve the reliability of terminal battery life control and the effect of extending battery life.

[0057] Furthermore, in one embodiment, switching the battery life control mode to a touch-based sleep mode or a non-touch-based sleep mode based on screen touch behavior can specifically include one of the following methods:

[0058] The first method is to switch the battery life control mode to touch drowsiness mode if the detected screen touch changes to no screen touch, and to switch the battery life control mode to non-touch drowsiness mode if the detected screen touch changes from no screen touch to screen touch.

[0059] The second method involves detecting a change from screen touch to no screen touch, determining whether to switch the battery life control mode to touch drowsiness mode based on the predicted duration of non-touch behavior, and if so, switching the battery life control mode to touch drowsiness mode.

[0060] In the first method, if a screen touch is detected to change from non-screen touch (e.g., when a finger leaves the screen), the battery life control mode is directly switched to touch drowsiness mode. Conversely, if a screen touch is detected to change from non-screen touch to screen touch (e.g., when a finger touches the screen), the battery life control mode is directly switched to non-touch drowsiness mode.

[0061] In the second method, if a screen touch is detected to change to no screen touch, the system first determines whether to switch the battery life control mode to touch drowsiness mode based on the predicted duration of non-touch behavior. Only if the non-touch behavior duration is detected will the battery life control mode be switched to touch drowsiness mode. This can further avoid unnecessary switching to touch drowsiness mode and further improve the reliability of terminal battery life control.

[0062] The predicted duration of non-touch behavior can be obtained by predicting the screen touch behavior during the user's screen touch actions. When determining whether to switch the battery life control mode to touch nap mode based on the predicted duration of non-touch behavior, the battery life control mode can be switched to touch nap mode if the predicted duration of non-touch behavior is longer than the predetermined duration; otherwise, the battery life control mode will not be switched to touch nap mode (i.e., the non-touch nap mode will be saved).

[0063] For example, when a user performs a swipe operation on the screen, information such as the short video to be viewed, the duration of the short video to be played (5 minutes), and whether the short video to be played is a video type preferred by the user can be obtained. Then, based on this information, the time from when the finger leaves the screen after the swipe operation ends to when the finger touches the screen again can be estimated as the predicted non-touch behavior duration. The predicted non-touch behavior duration can be predicted before the swipe operation ends. When the screen touch is detected to change from non-screen touch at the end of the swipe operation, the battery life control mode can be switched to touch doze mode based on the predicted non-touch behavior duration.

[0064] In one embodiment, referring to FIG3, if the battery life control mode is the touch-screen nap mode, then determining the terminal battery life operating parameters according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch-screen nap mode, then determining the terminal battery life operating parameters according to the voltage range and the second battery life strategy may include:

[0065] Step S310: Detect the terminal usage scenario; if the battery life control mode is the touch-screen nap mode, then determine at least one type of first parameter matching the voltage range according to the first battery life strategy, and determine the first sub-parameter matching the terminal usage scenario in each type of first parameter as the terminal battery life operation parameter; Step S320: If the battery life control mode is the non-touch-screen nap mode, then determine at least one type of second parameter matching the voltage range according to the first battery life strategy, and determine the second sub-parameter matching the terminal usage scenario in each type of second parameter as the terminal battery life operation parameter; wherein, the lower the voltage range, the smaller the matched terminal battery life operation parameter, and the smaller the matched terminal battery life operation parameter when the terminal usage scenario is a predetermined scenario.

[0066] Specifically, the first battery life strategy specifies different voltage ranges, different terminal usage scenarios, at least one type of first parameter, and a first correspondence between multiple first sub-parameters in each type of first parameter. In touch-screen nap mode, at least one type of first parameter matching the voltage range can be determined based on the first correspondence in the first battery life strategy, and the first sub-parameter matching the terminal usage scenario in each type of first parameter is determined as the terminal battery life operation parameter.

[0067] For example, at least one type of first parameter matching the voltage range may include five categories: first screen refresh rate, first touch scan frequency, first touch reporting rate, first duty cycle, first screen resolution, and first switched capacitor operating frequency. The first screen refresh rate may further include multiple first sub-screen refresh rates, the first touch scan frequency may further include multiple first sub-scanning frequencies, the first touch reporting rate may further include multiple first sub-touch reporting rates, the first duty cycle may further include multiple first sub-duty cycles, the first screen resolution may further include multiple first sub-screen resolutions, and the first switched capacitor operating frequency may further include multiple first sub-switched capacitor operating frequencies. Then, a first sub-parameter matching the terminal usage scenario can be further determined from each type of first parameter as the terminal's battery life operating parameter.

[0068] Similarly, the second battery life strategy specifies different voltage ranges, different terminal usage scenarios, at least two different types of second parameters, and a second correspondence between multiple second sub-parameters in each type of second parameter. In the non-touchscreen nap mode, based on the second correspondence in the second battery life strategy, at least one type of second parameter matching the voltage range is determined, and the second sub-parameter matching the terminal usage scenario in each type of second parameter is determined as the terminal battery life operation parameter.

[0069] For example, at least one type of second parameter matching the voltage range may include five categories: second screen refresh rate, second touch scan frequency, second touch reporting rate, second duty cycle, second screen resolution, and second switched capacitor operating frequency. The second screen refresh rate may further include multiple second sub-screen refresh rates, the second touch scan frequency may further include multiple second sub-scanning frequencies, the second touch reporting rate may further include multiple second sub-touch reporting rates, the second duty cycle may further include multiple second sub-duty cycles, the second screen resolution may further include multiple second sub-screen resolutions, and the second switched capacitor operating frequency may further include multiple second sub-switched capacitor operating frequencies. Then, a second sub-parameter matching the terminal usage scenario can be further determined from each type of second parameter as the terminal's battery life operating parameter.

[0070] Furthermore, the lower the voltage range, the smaller the matching terminal battery life operating parameters; and the smaller the matching terminal battery life operating parameters are when the terminal usage scenario is a predetermined scenario. For example, when the voltage range is less than 3.8V and greater than or equal to 3.6V and the terminal usage scenario is gaming, the terminal battery life operating parameter matched by both the voltage range and the terminal usage scenario is the first sub-scan frequency 1; when the voltage range is less than 3.6V and greater than or equal to 3.4V and the terminal usage scenario is gaming, the terminal battery life operating parameter matched by both the voltage range and the terminal usage scenario is the third sub-scan frequency 3, and the first sub-scan frequency 1 can be greater than the third sub-scan frequency 3. For example, when the voltage range is less than 3.8V and greater than or equal to 3.6V, and the terminal usage scenario is gaming, then the terminal battery life operating parameter that is matched by both the voltage range and the terminal usage scenario is the first sub-scanning frequency 1. When the voltage range is less than 3.8V and greater than or equal to 3.6V, and the terminal usage scenario is video browsing, then the terminal battery life operating parameter that is matched by both the voltage range and the terminal usage scenario is the first sub-scanning frequency 2. The first sub-scanning frequency 1 can be greater than the second sub-scanning frequency 2. In this embodiment, the terminal usage scenario is further detected, and the terminal battery life operating parameter that is matched by both the voltage range and the terminal usage scenario is determined, further improving the reliability of terminal battery life control.

[0071] Specifically, the detection terminal usage scenario can include one or more of the following: detecting whether the terminal screen is on or off; detecting the application displayed on the terminal; detecting the service being performed on the terminal. Here, a predetermined usage scenario specifically means that the terminal screen is off, the application displayed on the terminal is a predetermined application, and the service being performed on the terminal (i.e., the specific service performed within a certain application) is a predetermined service. When the terminal usage scenario is a predetermined scenario, the matching terminal battery life operating parameters are smaller. For example, the terminal battery life operating parameters when the screen is off are smaller than those when the screen is on; the terminal battery life operating parameters when the application displayed on the terminal is a predetermined application are smaller than those when the application displayed on the terminal is not a predetermined application; and the terminal battery life operating parameters when the service being performed on the terminal is a predetermined service are smaller than those when the service being performed on the terminal is not a predetermined service.

[0072] Optionally, in another embodiment, referring to FIG3, the step of determining terminal battery life operating parameters based on the voltage range and a first battery life strategy if the battery life control mode is the touch-screen nap mode, and determining terminal battery life operating parameters based on the voltage range and a second battery life strategy if the battery life control mode is the non-touch-screen nap mode, may include: if the battery life control mode is the touch-screen nap mode, determining at least one type of first parameter matching the voltage range based on the first battery life strategy, and determining each type of first parameter as the terminal battery life operating parameter; if the battery life control mode is the non-touch-screen nap mode, determining at least one type of second parameter matching the voltage range based on the first battery life strategy, and determining each type of second parameter as the terminal battery life operating parameter; wherein, the lower the voltage range, the smaller the matched terminal battery life operating parameter.

[0073] Furthermore, in one embodiment, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch reporting rate; controlling the terminal operation according to the terminal battery life operating parameters includes: if the battery life control mode is a touch-based sleep mode, controlling the screen to report touch information according to the first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, controlling the screen to report touch information according to the second touch reporting rate, wherein the first touch reporting rate is less than the second touch reporting rate.

[0074] In this embodiment, one terminal battery life operating parameter is the touch reporting rate. In two different modes, the terminal battery life operating parameter can be determined to include either the first touch reporting rate or the second touch reporting rate.

[0075] Furthermore, if the battery life control mode is the touch doze mode, the screen can be controlled to report touch information according to the first touch reporting rate; if the battery life control mode is the non-touch doze mode, the screen can be controlled to report touch information according to the second touch reporting rate, wherein the first touch reporting rate determined in the touch doze mode is less than the second touch reporting rate determined in the non-touch doze mode.

[0076] In different modes, adjusting the touch reporting rate is more effective in reducing terminal power consumption and improving battery life compared to adjusting the touch sampling rate in some technologies. Furthermore, in some embodiments, a lower voltage range corresponds to a smaller matching terminal battery life operating parameter (i.e., a lower voltage range corresponds to a smaller matching first or second touch reporting rate), and the matching terminal battery life operating parameter is even smaller when the terminal is used in a predetermined scenario (i.e., the matching first or second touch reporting rate is smaller when the terminal is used in a predetermined scenario), which can further enhance the power consumption reduction effect.

[0077] Furthermore, in one embodiment, if the battery life control mode is a touch-screen dozing mode, the terminal battery life operation parameters include a first switch operating frequency; if the battery life control mode is a non-touch-screen dozing mode, the terminal battery life operation parameters include a second switch operating frequency; controlling the terminal operation according to the terminal battery life operation parameters may further include: if the battery life control mode is a touch-screen dozing mode, controlling a switched capacitor device to convert the sensing capacitance from the screen into current according to the first switch operating frequency; if the battery life control mode is a non-touch-screen dozing mode, controlling a switched capacitor device to convert the sensing capacitance from the screen into current according to the second switch operating frequency, wherein the first switch operating frequency is less than the second switch operating frequency.

[0078] In this embodiment, one terminal battery life operating parameter is the switching operating frequency. In two different modes, the terminal battery life operating parameter can be determined to include either the first switching operating frequency or the second switching operating frequency.

[0079] If the battery life control mode is a touch-screen nap mode, the switching capacitor device is controlled to convert the sensing capacitance from the screen into current according to the first switch operating frequency; if the battery life control mode is a non-touch-screen nap mode, the switching capacitor device is controlled to convert the sensing capacitance from the screen into current according to the second switch operating frequency, wherein the first switch operating frequency is less than the second switch operating frequency.

[0080] As shown in Figure 4, for capacitive touchscreens, a switched capacitor device 400, as shown in Figure 4, is typically used to convert the sensing capacitance from the touch panel into a digital signal. Specifically, the switched capacitor, composed of switches 410 and 420 and capacitor (Cs) 430, converts the sensing capacitance from the touchscreen into current. Then, a comparator / converter device 440 converts the current into a digital signal. Switches 410 and 420 will never be turned on at the same time, so the switched capacitor is equivalent to a resistor R. fs is the switching frequency (i.e., the switching operating frequency) of switches 410 and 420, where R = 1 / fsCs. The higher the fs switching frequency (the frequency at which one of switches 410 and 420 turns on and the other turns off), the greater the power consumption of the touch element.

[0081] In different modes, adjusting the switching frequency can further effectively reduce terminal power consumption and improve battery life. Furthermore, in some embodiments, the lower the voltage range, the smaller the matched terminal battery life operating parameters (i.e., the lower the voltage range, the smaller the matched first or second switching frequency; for example, when the battery voltage is less than 3.8V, fs is set from 14MHz in normal mode to 10MHz for scanning; for example, when the battery voltage is less than 3.6V, fs is set from 10MHz to 8MHz for scanning). When the terminal usage scenario is a predetermined scenario, the matched terminal battery life operating parameters are even smaller (i.e., when the terminal usage scenario is a predetermined scenario, the matched first or second switching frequency is even smaller), which can further improve the terminal power consumption reduction effect.

[0082] Furthermore, in one embodiment, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch scanning frequency; controlling the terminal operation according to the terminal battery life operating parameters further includes: if the battery life control mode is a touch-based sleep mode, controlling the screen to perform touch scanning according to the first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, controlling the screen to report touch point information according to the second touch scanning frequency, wherein the first touch scanning frequency is less than the second touch scanning frequency.

[0083] In this embodiment, one of the terminal's battery life operating parameters is the touch scanning frequency. In two different modes, the terminal's battery life operating parameters can be determined to include either the first touch scanning frequency or the second touch scanning frequency.

[0084] Furthermore, if the battery life control mode is a touch-screen nap mode, the screen is controlled to perform touch scanning according to the first touch scanning frequency; if the battery life control mode is a non-touch-screen nap mode, the screen is controlled to report touch point information according to the second touch scanning frequency, wherein the first touch scanning frequency determined in the touch-screen nap mode is less than the second touch scanning frequency determined in the non-touch-screen nap mode.

[0085] In different modes, adjusting the touch scanning frequency can further effectively reduce terminal power consumption and improve terminal battery life. Furthermore, in some embodiments, the lower the voltage range, the smaller the matched terminal battery life operating parameters (i.e., the lower the voltage range, the smaller the matched first or second touch scanning frequency). When the terminal usage scenario is a predetermined scenario, the matched terminal battery life operating parameters are even smaller (i.e., when the terminal usage scenario is a predetermined scenario, the matched first or second touch scanning frequency is even smaller), which can further improve the terminal power consumption reduction effect.

[0086] Furthermore, in one embodiment, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first duty cycle; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second duty cycle; controlling the terminal operation according to the terminal battery life operating parameters may further include: if the battery life control mode is a touch-based sleep mode, adjusting the screen brightness according to the first duty cycle; if the battery life control mode is a non-touch-based sleep mode, adjusting the screen brightness according to the second duty cycle.

[0087] In this embodiment, a terminal battery life operating parameter is the duty cycle. In two different modes, the terminal battery life operating parameter can be determined to include either a first duty cycle or a second duty cycle.

[0088] Furthermore, if the battery life control mode is a touch-based sleep mode, the screen brightness is adjusted according to the first duty cycle; if the battery life control mode is a non-touch-based sleep mode, the screen brightness is adjusted according to the second duty cycle. Adjusting the duty cycle (PWM) in different modes can further effectively reduce terminal power consumption and improve battery life. Furthermore, in some embodiments, the lower the voltage range, the smaller the matched terminal battery life operating parameters (i.e., the lower the voltage range, the smaller the matched first or second duty cycle); when the terminal usage scenario is a predetermined scenario, the matched terminal battery life operating parameters are even smaller (i.e., when the terminal usage scenario is a predetermined scenario, the matched first or second duty cycle is even smaller), which can further improve the terminal power consumption reduction effect.

[0089] For example, when the battery is low, such as when the phone battery voltage is less than 3.8V, the OLED display screen can use a high-frequency PWM (PWM) with a duty cycle greater than 3kHz to adjust the backlight current. LCD screens use constant current to supply the backlight LEDs, which leads to significant power consumption. When the phone detects low battery (e.g., battery voltage 3.8V), the LCD screen can use a medium-frequency PWM (medium brightness), such as 10kHz, to control the LED switching time, achieving a significant reduction in power consumption. When the phone detects low battery (e.g., battery voltage 3.6V), the LCD screen can use a low-frequency PWM, such as 3kHz (lower duty cycle, lower brightness), to control the current switching time, achieving a substantial reduction in power consumption.

[0090] Furthermore, in one embodiment, if the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first resolution; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second resolution; controlling the terminal operation according to the terminal battery life operating parameters may further include: if the battery life control mode is a touch-screen nap mode, controlling the screen to display content according to the first resolution; if the battery life control mode is a non-touch-screen nap mode, controlling the screen to display content according to the second resolution.

[0091] In this embodiment, one terminal battery life operating parameter is the screen resolution. In two different modes, the terminal battery life operating parameter can be determined to include either a first resolution or a second resolution.

[0092] Furthermore, if the battery life control mode is a touch-screen nap mode, the screen is controlled to display content according to the first resolution; if the battery life control mode is a non-touch-screen nap mode, the screen is controlled to display content according to the second resolution. In some embodiments, a lower voltage range corresponds to smaller matching terminal battery life operating parameters (i.e., a lower voltage range corresponds to a smaller matching first or second resolution), and when the terminal usage scenario is a predetermined scenario, the matching terminal battery life operating parameters are also smaller (i.e., when the terminal usage scenario is a predetermined scenario, the matching first or second resolution is smaller), which can further improve the terminal power consumption reduction effect.

[0093] Furthermore, in one embodiment, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first screen refresh rate; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second screen refresh rate; controlling the terminal operation according to the terminal battery life operating parameters may further include: if the battery life control mode is a touch-based sleep mode, controlling the screen to refresh according to the first screen refresh rate; if the battery life control mode is a non-touch-based sleep mode, controlling the screen to refresh according to the second screen refresh rate.

[0094] In a further embodiment, the method further includes: if the battery life control mode is the touch-screen nap mode, then determining a target clock from the clock set; and turning off the target clock.

[0095] The clock set can include multiple clocks, which are used by the user to perform various tasks on the terminal (e.g., waking up applications, collecting data, etc.). When the battery life control mode is a touch-based nap mode, a target clock is determined from the clock set and turned off. This further reduces the terminal's power consumption in touch-based nap mode, thus improving battery life. Specifically, the target clock can be a clock from a pre-defined list.

[0096] To facilitate better implementation of the terminal battery life control method provided in the embodiments of this application, the embodiments of this application also provide a terminal battery life control device based on the above-described terminal battery life control method. The meanings of the terms used are the same as in the above-described terminal battery life control method, and specific implementation details can be found in the descriptions in the method embodiments. Figure 5 shows a block diagram of a terminal battery life control device according to an embodiment of this application.

[0097] As shown in Figure 5, the terminal battery life control device 500 may include: a voltage monitoring module 510 for monitoring the battery voltage and determining the voltage range of the battery voltage; a mode switching module 520 for switching the battery life control mode to a touch-based sleep mode or a non-touch-based sleep mode based on screen touch behavior; a parameter analysis module 530 for determining terminal battery life operating parameters based on the voltage range and a first battery life strategy if the battery life control mode is the touch-based sleep mode, and determining terminal battery life operating parameters based on the voltage range and a second battery life strategy if the battery life control mode is the non-touch-based sleep mode; and a battery life control module 540 for controlling the terminal operation based on the terminal battery life operating parameters.

[0098] In some embodiments of this application, the parameter analysis module is used to: detect the terminal usage scenario; if the battery life control mode is the touch-screen dozing mode, then determine at least one type of first parameter matching the voltage range according to the first battery life strategy, and determine the first sub-parameter matching the terminal usage scenario in each type of first parameter as the terminal battery life operation parameter; if the battery life control mode is the non-touch-screen dozing mode, then determine at least one type of second parameter matching the voltage range according to the second battery life strategy, and determine the second sub-parameter matching the terminal usage scenario in each type of second parameter as the terminal battery life operation parameter; wherein, the lower the voltage range, the smaller the matched terminal battery life operation parameter, and the smaller the matched terminal battery life operation parameter when the terminal usage scenario is a predetermined scenario.

[0099] In some embodiments of this application, the parameter analysis module is used to implement one or more of the following methods: detecting whether the terminal screen is on or off; detecting the applications displayed on the terminal; detecting the services being performed on the terminal.

[0100] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch reporting rate; the battery life control module 540 can be used to: if the battery life control mode is a touch-based sleep mode, control the screen to report touch information according to the first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, control the screen to report touch information according to the second touch reporting rate, wherein the first touch reporting rate is less than the second touch reporting rate.

[0101] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first switch operating frequency; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second switch operating frequency; the battery life control module 540 can be used to: if the battery life control mode is a touch-based sleep mode, control the switching capacitor device to convert the sensing capacitance from the screen into current according to the first switch operating frequency; if the battery life control mode is a non-touch-based sleep mode, control the switching capacitor device to convert the sensing capacitance from the screen into current according to the second switch operating frequency, wherein the first switch operating frequency is less than the second switch operating frequency.

[0102] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch scanning frequency; the battery life control module 540 can be used to: if the battery life control mode is a touch-based sleep mode, control the screen to perform touch scanning according to the first touch scanning frequency; if the battery life control mode is a non-touch-based sleep mode, control the screen to report touch point information according to the second touch scanning frequency, wherein the first touch reporting rate is less than the second touch scanning frequency.

[0103] In some embodiments of this application, if the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first duty cycle; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second duty cycle; the battery life control module 540 can be used to: if the battery life control mode is a touch-based sleep mode, adjust the screen brightness according to the first duty cycle; if the battery life control mode is a non-touch-based sleep mode, adjust the screen brightness according to the second duty cycle.

[0104] In some embodiments of this application, if the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first resolution; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second resolution; the battery life control module 540 can be used to: if the battery life control mode is a touch-screen nap mode, control the screen to display content according to the first resolution; if the battery life control mode is a non-touch-screen nap mode, control the screen to display content according to the second resolution.

[0105] In some embodiments of this application, the mode switching module can be used to: determine the switching time matched by the voltage range, wherein the smaller the voltage range, the shorter the matching switching time; and during the switching time, switch the battery life control mode to touch doze mode or non-touch doze mode according to the screen touch behavior.

[0106] In some embodiments of this application, the mode switching module can be used to implement one of the following: if a screen touch is detected to change from non-screen touch, the battery life control mode is switched to touch dozing mode; and if a screen touch is detected to change from non-screen touch to screen touch, the battery life control mode is switched to non-touch dozing mode; if a screen touch is detected to change from non-screen touch, the battery life control mode is switched to touch dozing mode based on the predicted non-touch behavior duration; and if so, the battery life control mode is switched to touch dozing mode.

[0107] In some embodiments of this application, the device further includes a clock shutdown module, configured to: determine a target clock from a set of clocks if the battery life control mode is the touch-screen nap mode; and shut down the target clock.

[0108] In some embodiments of this application, the voltage monitoring module can be used to: monitor the battery charge; according to the formula y = -a*x 3 +b*x 2 The battery voltage is obtained by fitting the data using -c*x+d, where y refers to the battery voltage, and a, b, c, and d are predetermined positive fitting coefficients.

[0109] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0110] Furthermore, this application also provides a terminal, as shown in FIG6. FIG6 shows a block diagram of a terminal according to an embodiment of this application, specifically:

[0111] The terminal may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that the terminal structure shown in FIG6 does not constitute a limitation on the terminal, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0112] The processor 601 is the control center of the terminal, connecting various parts of the computer device via various interfaces and lines. It performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the terminal. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user page, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.

[0113] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0114] The terminal also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0115] The terminal may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0116] Although not shown, the terminal may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the terminal loads the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 runs the computer programs stored in the memory 602, thereby realizing the various functions in the foregoing embodiments of this application.

[0117] For example, processor 601 may perform the following steps: monitor the battery voltage and determine the voltage range of the battery voltage; switch the battery life control mode to touch doze mode or non-touch doze mode according to the screen touch behavior; if the battery life control mode is touch doze mode, determine the terminal battery life operation parameters according to the voltage range and a first battery life strategy; and if the battery life control mode is non-touch doze mode, determine the terminal battery life operation parameters according to the voltage range and a second battery life strategy; and control the terminal to operate according to the terminal battery life operation parameters.

[0118] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0119] Therefore, embodiments of this application also provide a storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the methods provided in embodiments of this application.

[0120] The storage medium can be a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0121] Since the computer program stored in the storage medium can execute the steps of any of the methods provided in the embodiments of this application, the beneficial effects that the methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0122] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0123] It should be understood that this application is not limited to the embodiments described above and shown in the accompanying drawings, but various modifications and changes can be made without departing from its scope.

Claims

1. A terminal endurance control method, wherein, include: Monitor the battery voltage and determine the voltage range of the battery. The battery life control mode will switch to touch nap mode or non-touch nap mode based on screen touch behavior. If the battery life control mode is the touch-screen nap mode, then the terminal battery life operation parameters are determined according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch-screen nap mode, then the terminal battery life operation parameters are determined according to the voltage range and the second battery life strategy. The terminal operation is controlled according to the terminal's battery life parameters.

2. The method of claim 1, wherein, If the battery life control mode is the touch-screen nap mode, then the terminal battery life operating parameters are determined according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch-screen nap mode, then the terminal battery life operating parameters are determined according to the voltage range and the second battery life strategy, including: Testing terminal usage scenarios; If the battery life control mode is the touch dozing mode, then at least one type of first parameter matching the voltage range is determined according to the first battery life strategy, and the first sub-parameter matching the terminal usage scenario in each type of first parameter is determined as the terminal battery life operation parameter. If the battery life control mode is the non-touch dozing mode, then at least one type of second parameter matching the voltage range is determined according to the second battery life strategy, and the second sub-parameter matching the terminal usage scenario in each type of second parameter is determined as the terminal battery life operation parameter; The lower the voltage range, the smaller the matching terminal battery life operating parameters; and the smaller the matching terminal battery life operating parameters when the terminal is used in a predetermined scenario.

3. The method of claim 2, wherein, The detection terminal is used in one or more of the following scenarios: Detect whether the terminal screen is on or off; The applications displayed in the detection terminal; The services being performed in the detection terminal.

4. The method of claim 1, wherein, If the battery life control mode is a touch-based sleep mode, the terminal battery life operating parameters include a first touch reporting rate; if the battery life control mode is a non-touch-based sleep mode, the terminal battery life operating parameters include a second touch reporting rate. The step of controlling the terminal operation based on the terminal's battery life parameters includes: If the battery life control mode is a touch dozing mode, then control the screen to report touch information according to the first touch reporting rate; If the battery life control mode is a non-touch nap mode, then the screen is controlled to report touch information according to the second touch reporting rate, wherein the first touch reporting rate is less than the second touch reporting rate.

5. The method of claim 4, wherein, If the battery life control mode is a touch-screen nap mode, the terminal battery life operation parameters include the first switch operating frequency; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operation parameters include the second switch operating frequency. The step of controlling the terminal operation based on the terminal's battery life parameters also includes: If the battery life control mode is a touch dozing mode, then the switching capacitor device is controlled to convert the sensing capacitance from the screen into current according to the first switch operating frequency. If the battery life control mode is a non-touchscreen nap mode, then the switching capacitor device is controlled to convert the sensing capacitance from the screen into current according to the operating frequency of the second switch, wherein the operating frequency of the first switch is less than the operating frequency of the second switch.

6. The method of claim 4, wherein, If the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first touch scanning frequency; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second touch scanning frequency. The step of controlling the terminal operation based on the terminal's battery life parameters also includes: If the battery life control mode is the touch nap mode, then the screen is controlled to perform touch scanning according to the first touch scanning frequency; If the battery life control mode is a non-touch nap mode, then the screen is controlled to report touch point information according to the second touch scanning frequency, wherein the first touch reporting rate is less than the second touch scanning frequency.

7. The method of claim 4, wherein, If the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first duty cycle; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second duty cycle. The step of controlling the terminal operation based on the terminal's battery life parameters also includes: If the battery life control mode is the touch nap mode, then the screen brightness is adjusted according to the first duty cycle; If the battery life control mode is a non-touch nap mode, then the screen brightness is adjusted according to the second duty cycle.

8. The method of claim 4, wherein, If the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include a first resolution; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include a second resolution. The step of controlling the terminal operation based on the terminal's battery life parameters also includes: If the battery life control mode is a touch-screen nap mode, then the screen will be controlled to display content according to the first resolution; If the battery life control mode is a non-touchscreen nap mode, the content displayed on the screen is controlled according to the second resolution.

9. The method according to claim 1, wherein, The method of switching the battery life control mode to touch-based nap mode or non-touch-based nap mode based on screen touch behavior includes: Determine the switching time matched to the voltage range, wherein the smaller the voltage range, the shorter the matched switching time; During the switching time, the battery life control mode is switched to touch nap mode or non-touch nap mode based on the screen touch behavior.

10. The method according to claim 9, wherein, The method of switching the battery life control mode to touch-based sleep mode or non-touch-based sleep mode based on screen touch behavior includes one of the following: If a screen touch is detected to change from being present to not being present, the battery life control mode is switched to touch drowsiness mode; and if a screen touch is detected to change from not being present to being present, the battery life control mode is switched to non-touch drowsiness mode. If a screen touch is detected to change to no screen touch, the system determines whether to switch the battery life control mode to touch drowsiness mode based on the predicted duration of non-touch behavior. If so, the system switches the battery life control mode to touch drowsiness mode.

11. The method according to claim 1, wherein, The method further includes: If the battery life control mode is the touch-screen nap mode, then the target clock is determined from the clock set; Turn off the target clock.

12. The method according to claim 1, wherein, The battery voltage of the monitored battery includes: Monitor the battery level of the battery; According to a formula y = -a*x + b*x - c*x + d, where y indicates the battery voltage, a, b, c, and d are predetermined fitting coefficients that are positive numbers. 3 2 The battery voltage of the battery is calculated by fitting calculation according to a formula y = -a*x + b*x - c*x + d, where y indicates the battery voltage, a, b, c, and d are predetermined fitting coefficients that are positive numbers.​ 13. The method according to claim 10, wherein, The step of determining whether to switch the battery life control mode to the touch nap mode based on the predicted non-touch behavior duration includes: when the predicted non-touch behavior duration is greater than a predetermined duration, determining to switch the battery life control mode to the touch nap mode.

14. The method according to claim 1, wherein, If the battery life control mode is the touch-screen nap mode, then the terminal battery life operating parameters are determined according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch-screen nap mode, then the terminal battery life operating parameters are determined according to the voltage range and the second battery life strategy, including: If the battery life control mode is the touch dozing mode, then at least one type of first parameter matching the voltage range is determined according to the first battery life strategy, and each type of first parameter is determined as the terminal battery life operation parameter; If the battery life control mode is the non-touch dozing mode, then at least one type of second parameter matching the voltage range is determined according to the first battery life strategy, and each type of second parameter is determined as the terminal battery life operation parameter; The lower the voltage range, the smaller the matching terminal's battery life operating parameters.

15. The method according to claim 4, wherein, If the battery life control mode is a touch-screen nap mode, the terminal battery life operating parameters include the first screen refresh rate; if the battery life control mode is a non-touch-screen nap mode, the terminal battery life operating parameters include the second screen refresh rate. The step of controlling the terminal operation based on the terminal's battery life parameters also includes: If the battery life control mode is the touch dozing mode, then the screen is refreshed according to the first screen refresh rate; If the battery life control mode is a non-touchscreen nap mode, then the screen is refreshed according to the second screen refresh rate.

16. A terminal battery life control device, wherein, include: A voltage monitoring module is used to: monitor the battery voltage and determine the voltage range of the battery voltage; The mode switching module is used to switch the battery life control mode to touch nap mode or non-touch nap mode based on screen touch behavior. The parameter analysis module is used to: if the battery life control mode is the touch dozing mode, determine the terminal battery life operation parameters according to the voltage range and the first battery life strategy; and if the battery life control mode is the non-touch dozing mode, determine the terminal battery life operation parameters according to the voltage range and the second battery life strategy. The battery life control module is used to control the operation of the terminal based on the terminal's battery life operating parameters.

17. The apparatus according to claim 16, wherein, The parameter analysis module is used to: detect the terminal usage scenario; if the battery life control mode is the touch-screen nap mode, then determine at least one type of first parameter matching the voltage range according to the first battery life strategy, and determine the first sub-parameter matching the terminal usage scenario in each type of first parameter as the terminal battery life operation parameter; if the battery life control mode is the non-touch-screen nap mode, then determine at least one type of second parameter matching the voltage range according to the second battery life strategy, and determine the second sub-parameter matching the terminal usage scenario in each type of second parameter as the terminal battery life operation parameter; wherein, the lower the voltage range, the smaller the matched terminal battery life operation parameter, and the smaller the matched terminal battery life operation parameter when the terminal usage scenario is a predetermined scenario.

18. The apparatus according to claim 17, wherein, The parameter analysis module is used to achieve one or more of the following: detecting whether the terminal screen is on or off; detecting the applications displayed on the terminal; detecting the business being performed on the terminal.

19. A storage medium, wherein, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the method described in any one of claims 1 to 15.

20. A terminal, wherein, include: Memory, which stores computer programs; A processor reads a computer program stored in memory to perform the method according to any one of claims 1 to 15.