CN112888053A - Battery setting method, system, mobile terminal and computer readable storage medium - Google Patents

Battery setting method, system, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN112888053A
CN112888053A CN202110062793.XA CN202110062793A CN112888053A CN 112888053 A CN112888053 A CN 112888053A CN 202110062793 A CN202110062793 A CN 202110062793A CN 112888053 A CN112888053 A CN 112888053A
Authority
CN
China
Prior art keywords
electric quantity
mobile terminal
battery
quantity value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110062793.XA
Other languages
Chinese (zh)
Other versions
CN112888053B (en
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110062793.XA priority Critical patent/CN112888053B/en
Publication of CN112888053A publication Critical patent/CN112888053A/en
Application granted granted Critical
Publication of CN112888053B publication Critical patent/CN112888053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a battery setting method, a battery setting system, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps that a currently displayed electric quantity value of the mobile terminal is obtained, and backlight brightness and communication data volume of a display screen when the current electric quantity value is obtained by the mobile terminal; the mobile terminal records the service life of the current electric quantity value; the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value; and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value. According to the invention, when the mobile terminal continues to operate through the rechargeable battery, the rechargeable battery can be adjusted according to the use habit of the user, and the battery setting which meets the requirements of the user better is set, so that the problem of reduction of the battery efficiency caused by the use habit of the user is avoided.

Description

Battery setting method, system, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a battery setting method and system, a mobile terminal, and a computer-readable storage medium.
Background
The mobile terminal or called mobile communication terminal refers to a computer device which can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most often refer to cell phones or smart phones and tablets with multiple application functions. With the development of networks and technologies towards increasingly broader bands, the mobile communications industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing capability of the mobile terminal has already possessed strong processing capability, and the mobile terminal is changing from a simple conversation tool to an integrated information processing platform. This also adds more development space to mobile terminals.
Mobile terminals have been developed as simple communication devices with mobile communications for decades. From 2007, the gene mutation of the mobile terminal is intelligently triggered, and the traditional positioning of the terminal as a mobile network terminal is fundamentally changed. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important hub of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become the strategic high points of the whole ICT industry at present. The subversive change caused by the mobile intelligent terminal opens the sequence of mobile internet industry development and opens a new technical industry period. With the continuous development of the mobile intelligent terminal, the influence of the mobile intelligent terminal is more extensive than that of a shoulder radio, a television and the internet (PC), and the mobile intelligent terminal becomes a 4 th terminal product which has wide penetration, rapid popularization and great influence and can reach the aspects of human social life historically.
The mobile terminal adopts a rechargeable battery, and the mobile terminal can be set to enter different power consumption modes along with the reduction of the battery power in the use process of the mobile terminal, for example, the mobile terminal is set to be a power saving mode when the battery power of the mobile terminal is below 20 percent, and is set to be a super power saving mode when the battery power of the mobile terminal is below 5 percent.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a battery setting method, a battery setting system, a mobile terminal and a computer readable storage medium, and aims to solve the problem that in the prior art, when the battery power of the mobile terminal is very low, the mobile terminal directly enters a power saving mode and is not suitable for different user habit differences.
In order to achieve the above object, the present invention provides a battery setting method, including the steps of:
the method comprises the steps that a currently displayed electric quantity value of the mobile terminal is obtained, and backlight brightness and communication data volume of a display screen when the current electric quantity value is obtained by the mobile terminal;
the mobile terminal records the service life of the current electric quantity value;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value;
and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value.
Optionally, the battery setting method, where the obtaining of the currently displayed electric quantity value of the mobile terminal, and the obtaining of the backlight brightness and the communication data volume of the display screen by the mobile terminal when the current electric quantity value is obtained, specifically includes:
the method comprises the steps that a first current displayed electric quantity value of the mobile terminal is obtained, and the backlight brightness and the communication data volume of a display screen when the first electric quantity value is obtained by the mobile terminal;
when the electric quantity of the mobile terminal is switched to a second electric quantity value, the mobile terminal acquires the backlight brightness and the communication data quantity of a display screen when the second electric quantity value is obtained;
and the mobile terminal acquires the backlight brightness and the communication data volume of the display screen at different electric quantity values according to different electric quantity values.
Optionally, in the battery setting method, the backlight brightness of the display screen and the communication data amount are different at different electric quantity values.
Optionally, the battery setting method, wherein the recording, by the mobile terminal, the usage duration of the current electric quantity value specifically includes:
when the mobile terminal detects that the electric quantity is switched to the first electric quantity value, recording a first moment when the electric quantity is switched to the first electric quantity value;
when the mobile terminal detects that the electric quantity is switched from the first electric quantity value to the second electric quantity value, recording a second moment when the electric quantity is switched to the second electric quantity value;
the service life of the mobile terminal at the first electric quantity value is the difference value between the second moment and the first moment;
and the mobile terminal records the service life of different electric quantity values according to the different electric quantity values.
Optionally, the battery setting method, wherein the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the usage duration of the electric quantity value in a direction perpendicular to the coordinate plane to obtain the battery usage setting corresponding to the current electric quantity value, specifically including:
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen;
and the mobile terminal calibrates the service life corresponding to each electric quantity value in the vertical direction of the coordinate plane, and selects the backlight brightness and the communication data volume with the longest service life to set the mobile terminal.
Optionally, the battery setting method, wherein the controlling the battery to set the battery usage setting corresponding to the current electric quantity value when the mobile terminal detects that the electric quantity is the current electric quantity value next time specifically includes:
the coordinate plane established by the mobile terminal comprises battery use settings corresponding to all different electric quantity values, wherein the battery use settings comprise backlight brightness and communication data volume of a display screen;
and when the current electric quantity value of the mobile terminal value is detected, acquiring the battery use setting corresponding to the current electric quantity value according to the coordinate plane, and setting the battery as the battery use setting corresponding to the current electric quantity value.
Optionally, the battery setting method further includes:
dividing the battery electric quantity of the mobile terminal into a plurality of ranges in advance, acquiring the current battery electric quantity range of the mobile terminal, and acquiring the backlight brightness and the communication data quantity of a display screen when the current battery electric quantity range is acquired by the mobile terminal;
the mobile terminal records the service life of the current battery electric quantity range;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current battery electric quantity range;
and when the mobile terminal detects that the electric quantity is within the current battery electric quantity range next time, controlling the battery to be set as the battery use setting corresponding to the current battery electric quantity range.
In addition, in order to achieve the above object, the present invention also provides a battery installation system, wherein the battery installation system includes:
the electric quantity obtaining module is used for obtaining a currently displayed electric quantity value of the mobile terminal and obtaining backlight brightness and communication data quantity of a display screen when the current electric quantity value is obtained;
the duration recording module is used for recording the service duration of the current electric quantity value;
the setting generation module is used for establishing a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrating the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value;
and the battery setting module is used for controlling the battery to be set as the battery use setting corresponding to the current electric quantity value when the next time the electric quantity is detected to be the current electric quantity value.
In addition, to achieve the above object, the present invention also provides a mobile terminal, wherein the mobile terminal includes: a memory, a processor and a battery setting program stored on the memory and executable on the processor, the battery setting program when executed by the processor implementing the steps of the battery setting method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing a battery setting program which, when executed by a processor, implements the steps of the battery setting method as described above.
According to the method, the current displayed electric quantity value of the mobile terminal is obtained, and the backlight brightness and the communication data volume of a display screen are obtained when the current electric quantity value is obtained by the mobile terminal; the mobile terminal records the service life of the current electric quantity value; the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value; and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value. According to the invention, when the mobile terminal continues to operate through the rechargeable battery, the rechargeable battery can be adjusted according to the use habit of the user, and the battery setting which meets the requirements of the user better is set, so that the problem of reduction of the battery efficiency caused by the use habit of the user is avoided.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the battery installation method of the present invention;
FIG. 2 is a flowchart of step S10 in the preferred embodiment of the battery setting method of the present invention;
FIG. 3 is a flowchart of step S20 in the preferred embodiment of the battery setting method of the present invention;
FIG. 4 is a flowchart of step S30 in the preferred embodiment of the battery setting method of the present invention;
FIG. 5 is a flowchart of step S40 in the preferred embodiment of the battery setting method of the present invention;
FIG. 6 is a schematic diagram of a preferred embodiment of the battery installation system of the present invention;
FIG. 7 is a diagram illustrating an operating environment of a mobile terminal according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the method for setting a battery according to the preferred embodiment of the present invention includes the following steps:
and step S10, acquiring the current displayed electric quantity value of the mobile terminal, wherein the mobile terminal acquires the backlight brightness and the communication data quantity of the display screen when the current electric quantity value is acquired.
The battery setting method is applied to the mobile terminal, is used for setting different battery settings according to the habits of the user, and can be applied to other intelligent watching devices, such as a tablet personal computer, a smart phone and the like.
Please refer to fig. 2, which is a flowchart of step S10 in the battery setting method according to the present invention.
As shown in fig. 2, the step S10 includes:
s11, acquiring a first electric quantity value currently displayed by the mobile terminal, wherein the backlight brightness (for example, X1) and the communication data quantity (for example, T1) of the display screen when the mobile terminal acquires the first electric quantity value;
s12, when the power of the mobile terminal is switched to a second power value, the mobile terminal acquires the backlight brightness (for example, X2) and the communication data volume (for example, T2) of the display screen at the second power value;
and S13, the mobile terminal obtains the backlight brightness and the communication data volume of the display screen at different electric quantity values according to different electric quantity values.
Specifically, when it is detected that the battery power of the mobile terminal is a first power value, the mobile terminal obtains the backlight brightness and the communication data volume of the display screen at the time of the first power value, and when the battery power of the mobile terminal is switched to a second power value, the mobile terminal obtains the backlight brightness and the communication data volume of the display screen at the time of the second power value, and the like, that is, each different power value corresponds to the backlight brightness and the communication data volume of one display screen, for example, the power values are 60%, 59%, 58%, 57%, and the like.
And step S20, the mobile terminal records the service life of the current electric quantity value.
Please refer to fig. 3, which is a flowchart of step S20 in the battery setting method according to the present invention.
As shown in fig. 3, the step S20 includes:
s21, when the mobile terminal detects that the electric quantity is switched to the first electric quantity value, recording a first moment when the electric quantity is switched to the first electric quantity value;
s22, when the mobile terminal detects that the electric quantity is switched from the first electric quantity value to the second electric quantity value, recording a second moment when the electric quantity is switched to the second electric quantity value;
s23, the service life of the mobile terminal at the first electric quantity value is the difference between the second moment and the first moment;
and S24, recording the service life of different electric quantity values by the mobile terminal according to the different electric quantity values.
Specifically, the mobile terminal detects that the electric quantity is switched to the first electric quantity value, records a first moment (for example, t1) when the electric quantity is switched to the first electric quantity value (for example, 60%), records a second moment (for example, t2) when the mobile terminal detects that the electric quantity is switched from the first electric quantity value (60%) to the second electric quantity value (for example, 59%), records a usage duration of the mobile terminal at the first electric quantity value (60%) as a difference value (for example, t2-t1) between the second moment (t2) and the first moment (t1), and records usage durations of different electric quantity values according to different electric quantity values.
And step S30, the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value.
Please refer to fig. 4, which is a flowchart of step S30 in the battery setting method according to the present invention.
As shown in fig. 4, the step S30 includes:
s31, the mobile terminal establishes a coordinate plane according to the backlight brightness of the display screen and the communication data volume;
s32, the mobile terminal calibrates the service life corresponding to each electric quantity value in the vertical direction of the coordinate plane, and selects the backlight brightness and the communication data volume with the longest service life to set the mobile terminal.
Specifically, the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, that is, establishes a spatial two-dimensional coordinate, and calibrates the use duration corresponding to each electric quantity value in the vertical direction of the coordinate plane, that is, establishes the relationship between each electric quantity value and the corresponding use duration, and selects the backlight brightness and the communication data volume with the longest use duration to set the mobile terminal.
And step S40, when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value.
Please refer to fig. 5, which is a flowchart of step S40 in the battery setting method according to the present invention.
As shown in fig. 5, the step S40 includes:
s41, the coordinate plane established by the mobile terminal comprises battery use settings corresponding to all different electric quantity values, and the battery use settings comprise backlight brightness and communication data quantity of a display screen;
and S42, when the current electric quantity value of the mobile terminal value is detected, acquiring the battery use setting corresponding to the current electric quantity value according to the coordinate plane, and setting the battery as the battery use setting corresponding to the current electric quantity value.
Specifically, the coordinate plane established by the mobile terminal includes battery usage settings corresponding to all different electric quantity values, where the battery usage settings include backlight brightness and communication data volume of the display screen, that is, each electric quantity value corresponds to a set battery usage setting, and then when the current electric quantity value of the mobile terminal is detected, the battery usage setting corresponding to the current electric quantity value is obtained according to the coordinate plane, and the battery is set as the battery usage setting corresponding to the current electric quantity value.
Furthermore, the present invention may also divide the battery power of the mobile terminal into a plurality of ranges (for example, 60% -50%, 50% -40%, 40% -30%, etc.) in advance, obtain the current battery power range of the mobile terminal, and the mobile terminal obtains the backlight brightness and the communication data amount of the display screen when the current battery power range is obtained; the mobile terminal records the service life of the current battery electric quantity range; the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current battery electric quantity range; and when the mobile terminal detects that the electric quantity is within the current battery electric quantity range next time, controlling the battery to be set as the battery use setting corresponding to the current battery electric quantity range.
The invention provides a mobile terminal electric quantity triggering method, which comprises the steps of acquiring backlight brightness and communication data quantity of a display screen of a mobile terminal when each electric quantity value of the mobile terminal is obtained; recording the service life of the electric quantity value; establishing a coordinate plane by the backlight brightness and the communication data volume of the display screen, and calibrating the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the corresponding use setting of the battery under the electric quantity; the battery use setting corresponding to the electric quantity is taken into effect when the electric quantity of the battery is the electric quantity at the next time; the battery life can be adjusted by the use habit of the user when the rechargeable battery is used for cruising in the mobile terminal, so that the problem of reduction of the battery efficiency caused by the use habit of the user is avoided, and the user experience is improved.
Further, as shown in fig. 6, based on the above battery setting method, the present invention also provides a battery setting system, wherein the battery setting system includes:
the electric quantity obtaining module 100 is configured to obtain a currently displayed electric quantity value of the mobile terminal, and obtain backlight brightness and a communication data quantity of the display screen at the current electric quantity value;
the duration recording module 200 is used for recording the service duration of the current electric quantity value;
the setting generation module 300 is configured to establish a coordinate plane according to the backlight brightness and the communication data amount of the display screen, and calibrate the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain a battery use setting corresponding to the current electric quantity value;
the battery setting module 400 is configured to control the battery to be set to the battery usage setting corresponding to the current electric quantity value when the next time the electric quantity is detected to be the current electric quantity value.
Further, as shown in fig. 7, based on the above battery setting method and system, the present invention also provides a mobile terminal, which includes a processor 10, a memory 20 and a display 30. Fig. 7 shows only some of the components of the mobile terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the mobile terminal, such as a hard disk or a memory of the mobile terminal. The memory 20 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the mobile terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the mobile terminal. The memory 20 is used for storing application software installed in the mobile terminal and various data, such as program codes of the installed mobile terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a battery setting program 40, and the battery setting program 40 can be executed by the processor 10 to implement the battery setting method of the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), microprocessor or other data Processing chip for running program codes stored in the memory 20 or Processing data, such as executing the battery setting method.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the mobile terminal and for displaying a visual user interface. The components 10-30 of the mobile terminal communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the battery setup program 40 in the memory 20, the following steps are implemented:
the method comprises the steps that a currently displayed electric quantity value of the mobile terminal is obtained, and backlight brightness and communication data volume of a display screen when the current electric quantity value is obtained by the mobile terminal;
the mobile terminal records the service life of the current electric quantity value;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value;
and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value.
The method for acquiring the current displayed electric quantity value of the mobile terminal and the backlight brightness and the communication data volume of the display screen when the mobile terminal acquires the current electric quantity value specifically comprises the following steps:
the method comprises the steps that a first current displayed electric quantity value of the mobile terminal is obtained, and the backlight brightness and the communication data volume of a display screen when the first electric quantity value is obtained by the mobile terminal;
when the electric quantity of the mobile terminal is switched to a second electric quantity value, the mobile terminal acquires the backlight brightness and the communication data quantity of a display screen when the second electric quantity value is obtained;
and the mobile terminal acquires the backlight brightness and the communication data volume of the display screen at different electric quantity values according to different electric quantity values.
And the backlight brightness and the communication data volume of the display screen are different when the electric quantity values are different.
The mobile terminal records the service life of the current electric quantity value, and the method specifically comprises the following steps:
when the mobile terminal detects that the electric quantity is switched to the first electric quantity value, recording a first moment when the electric quantity is switched to the first electric quantity value;
when the mobile terminal detects that the electric quantity is switched from the first electric quantity value to the second electric quantity value, recording a second moment when the electric quantity is switched to the second electric quantity value;
the service life of the mobile terminal at the first electric quantity value is the difference value between the second moment and the first moment;
and the mobile terminal records the service life of different electric quantity values according to the different electric quantity values.
The mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value, and the method specifically comprises the following steps:
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen;
and the mobile terminal calibrates the service life corresponding to each electric quantity value in the vertical direction of the coordinate plane, and selects the backlight brightness and the communication data volume with the longest service life to set the mobile terminal.
Wherein, when the mobile terminal detects the electric quantity as the current electric quantity value next time, the control battery is set to the battery use setting that the current electric quantity value corresponds, specifically includes:
the coordinate plane established by the mobile terminal comprises battery use settings corresponding to all different electric quantity values, wherein the battery use settings comprise backlight brightness and communication data volume of a display screen;
and when the current electric quantity value of the mobile terminal value is detected, acquiring the battery use setting corresponding to the current electric quantity value according to the coordinate plane, and setting the battery as the battery use setting corresponding to the current electric quantity value.
Wherein the battery setting method further comprises:
dividing the battery electric quantity of the mobile terminal into a plurality of ranges in advance, acquiring the current battery electric quantity range of the mobile terminal, and acquiring the backlight brightness and the communication data quantity of a display screen when the current battery electric quantity range is acquired by the mobile terminal;
the mobile terminal records the service life of the current battery electric quantity range;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current battery electric quantity range;
and when the mobile terminal detects that the electric quantity is within the current battery electric quantity range next time, controlling the battery to be set as the battery use setting corresponding to the current battery electric quantity range.
The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a battery setting program, which when executed by a processor implements the steps of the battery setting method as described above.
In summary, the present invention provides a battery setting method, a battery setting system, a mobile terminal and a computer-readable storage medium, where the method includes: the method comprises the steps that a currently displayed electric quantity value of the mobile terminal is obtained, and backlight brightness and communication data volume of a display screen when the current electric quantity value is obtained by the mobile terminal; the mobile terminal records the service life of the current electric quantity value; the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value; and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value. According to the invention, when the mobile terminal continues to operate through the rechargeable battery, the rechargeable battery can be adjusted according to the use habit of the user, and the battery setting which meets the requirements of the user better is set, so that the problem of reduction of the battery efficiency caused by the use habit of the user is avoided.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A battery setting method, characterized by comprising:
the method comprises the steps that a currently displayed electric quantity value of the mobile terminal is obtained, and backlight brightness and communication data volume of a display screen when the current electric quantity value is obtained by the mobile terminal;
the mobile terminal records the service life of the current electric quantity value;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value;
and when the mobile terminal detects that the electric quantity is the current electric quantity value next time, controlling the battery to be set as the battery use setting corresponding to the current electric quantity value.
2. The battery setting method according to claim 1, wherein the obtaining of the currently displayed power value of the mobile terminal, and the obtaining of the backlight brightness and the communication data volume of the display screen by the mobile terminal when the current power value is obtained specifically include:
the method comprises the steps that a first current displayed electric quantity value of the mobile terminal is obtained, and the backlight brightness and the communication data volume of a display screen when the first electric quantity value is obtained by the mobile terminal;
when the electric quantity of the mobile terminal is switched to a second electric quantity value, the mobile terminal acquires the backlight brightness and the communication data quantity of a display screen when the second electric quantity value is obtained;
and the mobile terminal acquires the backlight brightness and the communication data volume of the display screen at different electric quantity values according to different electric quantity values.
3. The battery setting method according to claim 2, wherein the backlight brightness of the display screen and the communication data amount are different at different electric quantity values.
4. The battery setting method according to claim 2, wherein the recording, by the mobile terminal, the usage duration of the current charge value specifically includes:
when the mobile terminal detects that the electric quantity is switched to the first electric quantity value, recording a first moment when the electric quantity is switched to the first electric quantity value;
when the mobile terminal detects that the electric quantity is switched from the first electric quantity value to the second electric quantity value, recording a second moment when the electric quantity is switched to the second electric quantity value;
the service life of the mobile terminal at the first electric quantity value is the difference value between the second moment and the first moment;
and the mobile terminal records the service life of different electric quantity values according to the different electric quantity values.
5. The battery setting method according to claim 4, wherein the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data amount of the display screen, and calibrates the usage duration of the electric quantity value in a direction perpendicular to the coordinate plane to obtain the battery usage setting corresponding to the current electric quantity value, specifically comprising:
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen;
and the mobile terminal calibrates the service life corresponding to each electric quantity value in the vertical direction of the coordinate plane, and selects the backlight brightness and the communication data volume with the longest service life to set the mobile terminal.
6. The method for setting a battery according to claim 5, wherein the controlling the battery to be set to the battery usage setting corresponding to the current electric quantity value when the mobile terminal detects that the electric quantity is the current electric quantity value next time specifically comprises:
the coordinate plane established by the mobile terminal comprises battery use settings corresponding to all different electric quantity values, wherein the battery use settings comprise backlight brightness and communication data volume of a display screen;
and when the current electric quantity value of the mobile terminal value is detected, acquiring the battery use setting corresponding to the current electric quantity value according to the coordinate plane, and setting the battery as the battery use setting corresponding to the current electric quantity value.
7. The battery arranging method according to claim 1, further comprising:
dividing the battery electric quantity of the mobile terminal into a plurality of ranges in advance, acquiring the current battery electric quantity range of the mobile terminal, and acquiring the backlight brightness and the communication data quantity of a display screen when the current battery electric quantity range is acquired by the mobile terminal;
the mobile terminal records the service life of the current battery electric quantity range;
the mobile terminal establishes a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrates the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current battery electric quantity range;
and when the mobile terminal detects that the electric quantity is within the current battery electric quantity range next time, controlling the battery to be set as the battery use setting corresponding to the current battery electric quantity range.
8. A battery installation system, comprising:
the electric quantity obtaining module is used for obtaining a currently displayed electric quantity value of the mobile terminal and obtaining backlight brightness and communication data quantity of a display screen when the current electric quantity value is obtained;
the duration recording module is used for recording the service duration of the current electric quantity value;
the setting generation module is used for establishing a coordinate plane according to the backlight brightness and the communication data volume of the display screen, and calibrating the use duration of the electric quantity value in the vertical direction of the coordinate plane to obtain the battery use setting corresponding to the current electric quantity value;
and the battery setting module is used for controlling the battery to be set as the battery use setting corresponding to the current electric quantity value when the next time the electric quantity is detected to be the current electric quantity value.
9. A mobile terminal, characterized in that the mobile terminal comprises: memory, a processor and a battery setting program stored on the memory and executable on the processor, the battery setting program when executed by the processor implementing the steps of the battery setting method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a battery setting program which, when executed by a processor, implements the steps of the battery setting method according to any one of claims 1 to 7.
CN202110062793.XA 2021-01-18 2021-01-18 Battery setting method, system, mobile terminal and computer readable storage medium Active CN112888053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110062793.XA CN112888053B (en) 2021-01-18 2021-01-18 Battery setting method, system, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110062793.XA CN112888053B (en) 2021-01-18 2021-01-18 Battery setting method, system, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112888053A true CN112888053A (en) 2021-06-01
CN112888053B CN112888053B (en) 2022-03-25

Family

ID=76049002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110062793.XA Active CN112888053B (en) 2021-01-18 2021-01-18 Battery setting method, system, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112888053B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140139114A1 (en) * 2011-11-21 2014-05-22 Richard Jeff Garcia Method of Adjusting Brightness By Desired Run Time
CN106791089A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The reminding method and device of a kind of battery electric quantity
CN109388220A (en) * 2018-10-09 2019-02-26 维沃移动通信有限公司 A kind of method for managing power supply and mobile terminal
CN109618397A (en) * 2018-11-15 2019-04-12 安徽信果网络科技有限公司 One kind optimizing based on wechat small routine mobile phone electricity and use early warning system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140139114A1 (en) * 2011-11-21 2014-05-22 Richard Jeff Garcia Method of Adjusting Brightness By Desired Run Time
CN106791089A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The reminding method and device of a kind of battery electric quantity
CN109388220A (en) * 2018-10-09 2019-02-26 维沃移动通信有限公司 A kind of method for managing power supply and mobile terminal
CN109618397A (en) * 2018-11-15 2019-04-12 安徽信果网络科技有限公司 One kind optimizing based on wechat small routine mobile phone electricity and use early warning system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋来将等: "面向边缘计算环境的智能手机背光调节机制", 《小型微型计算机系统》 *

Also Published As

Publication number Publication date
CN112888053B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN106791212B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
US10631361B2 (en) Method and apparatus for providing user with information received by electronic device
US9967824B2 (en) Mobile terminal managing method and system, mobile terminal
CN105743158B (en) Apparatus and method for charging an electronic device having a battery
EP3767782A1 (en) Electronic device and battery charge/discharge control method thereof
US10552182B2 (en) Multiple display device and method of operating the same
CN103631359A (en) Information processing method and electronic equipment
CN102369647A (en) Power supply managment method and device of mobile terminal
US10720791B2 (en) Charging method, charging device and terminal
KR20150069504A (en) Apparatus and method for switching application on a mobile terminal
KR20130095968A (en) Apparatus and method for grouping application program in visual display terminal
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN102713820A (en) Operation interface management method, apparatus and mobile terminal
US10211666B2 (en) Electronic device and method of wireless power transfer therefor
KR102144588B1 (en) Sensor module and device therewith
US20150160827A1 (en) Method of interface control and electronic device thereof
CN112083988A (en) Screen refresh rate control method, mobile terminal and computer readable storage medium
US20170047640A1 (en) Electronic device and method of improving antenna performance thereof
WO2019024495A1 (en) Application theme pushing terminal and method, and computer-readable storage medium
US20150130708A1 (en) Method for performing sensor function and electronic device thereof
US20190155499A1 (en) Touch response method for touchscreen, apparatus, and terminal
CN105426192A (en) Information modification method and terminal
US20170359018A1 (en) Photovoltaic cell having polarization characteristic and electronic device having the same
CN112888053B (en) Battery setting method, system, mobile terminal and computer readable storage medium
CN109151797B (en) Mobile terminal Bluetooth device search processing method, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant