CN111176418A - Method and terminal for saving electric quantity and device with storage function - Google Patents

Method and terminal for saving electric quantity and device with storage function Download PDF

Info

Publication number
CN111176418A
CN111176418A CN201811341243.6A CN201811341243A CN111176418A CN 111176418 A CN111176418 A CN 111176418A CN 201811341243 A CN201811341243 A CN 201811341243A CN 111176418 A CN111176418 A CN 111176418A
Authority
CN
China
Prior art keywords
terminal
time
electric quantity
power consumption
threshold
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.)
Withdrawn
Application number
CN201811341243.6A
Other languages
Chinese (zh)
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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201811341243.6A priority Critical patent/CN111176418A/en
Publication of CN111176418A publication Critical patent/CN111176418A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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/3234Power saving characterised by the action undertaken
    • 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
    • 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)
  • Telephone Function (AREA)

Abstract

The application discloses a method for saving electric quantity, a terminal and a device with a storage function, wherein the method for saving the electric quantity comprises the following steps: when the time between the current time and the time of the preset item is smaller than a first time threshold, monitoring the residual electric quantity of the terminal; when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal; if the current residual electric quantity is smaller than the first electric quantity threshold value, the working mode of the terminal is switched to a low-power-consumption mode, the electric quantity of the terminal can be saved through the method for saving the electric quantity, and the electric quantity of the terminal can be guaranteed to be maintained for the time of a preset item.

Description

Method and terminal for saving electric quantity and device with storage function
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for saving power, a terminal, and a device having a storage function.
Background
Along with the popularization of terminals such as mobile phones, tablet computers and the like and the strong functions of the terminals, people have stronger and stronger dependence on the terminals, for example, through the alarm clock function of the terminals, users can set reminding items in advance to avoid forgetting, through the payment function of the terminals, the users can purchase tickets on the internet without carrying cash when shopping, and through the internet surfing function of the terminals, the users can purchase tickets on the internet without waiting in line when going to a station.
The inventor of this application discovers in long-term research, along with the terminal is more and more intelligent, the screen is bigger and bigger, image display quality is higher and higher, its power consumption is also along with the increase, most of terminals normal use is about to charge once more under the full power state, when the terminal electric quantity is not enough or the consumption is up and the user forgets when charging, the terminal just can automatic shutdown, if the user has set up the alarm clock time this moment, purchase the ticket in advance through the terminal, the alarm clock will not be sounded again, the ticket also will be unable to be used, this can bring a lot of inconvenience to user's life.
Disclosure of Invention
The technical problem that this application mainly solved is how to guarantee that the electric quantity of terminal can maintain the time to predetermineeing the matter.
In order to solve the technical problem, the application adopts a technical scheme that: a method of saving power is provided, the method comprising:
when the time between the current time and the time of the preset item is smaller than a first time threshold, monitoring the residual electric quantity of the terminal;
when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal;
and if the current residual electric quantity is smaller than a first electric quantity threshold value, switching the working mode of the terminal into a low power consumption mode.
Wherein, if the current remaining power is less than a first power threshold, the step of switching the operating mode of the terminal to a low power consumption mode includes:
if the current residual electric quantity is smaller than the first electric quantity threshold value, popping up a first message to notify a user;
and if the first message is not confirmed by the user within the preset time, switching the working mode of the terminal into the low power consumption mode.
Wherein the step of switching the operation mode of the terminal to the low power consumption mode includes:
closing the terminal;
and when the time between the current time and the time of the preset event is less than a third time threshold, opening the terminal, wherein the third time threshold is less than the first time threshold.
Wherein the step of switching the operation mode of the terminal to the low power consumption mode includes:
reducing the screen brightness of the terminal, and/or reducing the display interface of the terminal, and/or closing the application running in the background of the terminal.
Wherein, after the switching the operation mode of the terminal to the low power consumption mode, the method comprises the following steps:
monitoring the electric quantity consumed by each application in operation in unit time;
notifying the user of the application that the consumed power per unit time exceeds the second power threshold;
and after the user confirms that the application is closed, closing the application.
Wherein, after the switching the operation mode of the terminal to the low power consumption mode, the method comprises the following steps:
monitoring the total electric quantity consumed by the terminal in unit time;
and when the total electric quantity consumed by the terminal in unit time exceeds a third electric quantity threshold value, informing a user.
Wherein, after the switching the operation mode of the terminal to the low power consumption mode, the method comprises the following steps:
monitoring the residual electric quantity of the terminal;
popping up a second message to notify a user when the residual electric quantity of the terminal is less than a fourth electric quantity threshold value;
if the second message is not confirmed by the user within the preset time, closing the terminal;
and when the time between the current time and the time of the preset event is less than a fourth time threshold, opening the terminal, wherein the fourth time threshold is less than the first time threshold.
Wherein the first electric quantity threshold value is the product of the time between the current time and the time of the preset event and the total electric quantity consumed by the terminal in unit time during normal operation,
the method further comprises the following steps:
automatically reserving the power consumption condition of the terminal within the latest preset time range;
and analyzing the total electric quantity consumed by the terminal in unit time during normal operation according to the power consumption condition of the terminal in the latest preset time range.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a terminal comprising a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit respectively, and when the processor is in operation, the processor controls itself and the memory and the communication circuit to implement any of the above-mentioned steps in the method for saving power.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided a device having a storage function, storing program data that can be executed to implement the steps of any of the above power saving methods.
The beneficial effect of this application is: different from the situation of the prior art, the method for saving the electric quantity monitors the residual electric quantity of the terminal when the time between the current time and the time of the preset item is less than the first time threshold, acquires the current residual electric quantity of the terminal if the time that the residual electric quantity of the terminal is continuously reduced reaches the second time threshold, judges that abnormal electricity consumption possibly occurs in the terminal when the residual electric quantity is less than the first electric quantity threshold, switches the working mode of the terminal into the low-power-consumption mode with less electricity consumption, saves the electric quantity of the terminal, and ensures that the electric quantity of the terminal can be maintained to the time of the preset item.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic structural diagram of a first embodiment of a method for saving power according to the present application;
FIG. 2 is a schematic structural diagram of a second embodiment of the power saving method of the present application;
FIG. 3 is a schematic structural diagram of a third embodiment of the power saving method of the present application;
FIG. 4 is a schematic structural diagram of a fourth embodiment of the power saving method of the present application;
FIG. 5 is a schematic structural diagram of a fifth embodiment of the power saving method of the present application;
FIG. 6 is a schematic structural diagram of a sixth embodiment of the power saving method of the present application;
FIG. 7 is a schematic structural diagram of a seventh embodiment of the power saving method of the present application;
FIG. 8 is a block diagram of an embodiment of a terminal of the present application;
fig. 9 is a schematic structural diagram of an embodiment of the device with a storage function according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a method for saving power according to the present application, the method including:
s110: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
The terminal in the application can be a mobile phone, a tablet computer, a notebook computer, etc., a preset item exists in the terminal and a time corresponding to the preset item exists, and when the time of the preset item is reached, a user must use the terminal. The preset items can be alarm clock reminding items, ticket items and the like, when the time corresponding to the alarm clock reminding items is reached, the terminal can send out reminding signals to remind a user, and when the time corresponding to the ticket items is reached, the user needs to use the ticket for going out. The preset items can be manually input into the terminal in advance by a user, for example, the user manually inputs an alarm clock reminding item, or can be automatically acquired by the terminal, for example, when the user purchases a ticket by using application software on the terminal, the terminal automatically identifies the ticket item and stores the ticket item.
Whether the time between the current time and the preset items is smaller than the first time threshold value or not can be judged in real time, and whether the time between the current time and the preset items is smaller than the first time threshold value or not can be judged according to a preset time interval such as 5 seconds, 1 minute and the like. The first time threshold may be set by the user himself or by a designer at the time of shipment of the terminal, and may be set to 8 hours, 2 hours, or the like, for example. When the time between the current time and the time of the preset items is smaller than a first time threshold value, the fact that the user needs to use the terminal soon is indicated, and at the moment, the residual electric quantity of the terminal is monitored so as to judge whether the power consumption condition of the terminal is abnormal or not in the following process.
S120: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
When the time that the residual electric quantity continuously decreases reaches the second time threshold, the terminal is indicated to continuously consume electricity, and the situation that electricity consumption is abnormal is likely to occur, and the current residual electric quantity of the terminal is acquired at the moment so as to be convenient for further judgment in the following process. The setting method of the second time threshold is the same as the setting method of the first time threshold, and is not described herein again.
S130: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
If the determination result is yes, it indicates that the terminal may be in an abnormal power consumption state, the step S140 is entered, otherwise, the step S150 is entered.
Optionally, in an application scenario, in order to avoid the occurrence of a misjudgment situation, after determining that the current remaining power is smaller than the first power threshold, step S130 continues to determine whether the terminal is in a charging state, if the terminal is in the charging state, the terminal does not need to be concerned about abnormal power consumption, step S150 is performed, otherwise, step S140 is performed.
S140: and switching the working mode of the terminal into a low power consumption mode.
The low power consumption mode is different from the normal mode of the terminal, and in the low power consumption mode, the power consumption of the terminal is less than that in the normal condition, and the service life of the terminal can be prolonged.
If the current residual electric quantity is smaller than the first electric quantity threshold value, the situation that abnormal power consumption occurs to the terminal is determined, and the residual electric quantity of the terminal possibly cannot guarantee the time that the terminal can support preset items, so that the working mode of the terminal is switched into a low-power-consumption mode with less energy consumption, the electric quantity of the terminal is saved, and the service life of the terminal is prolonged.
S150: keeping the working mode of the terminal unchanged.
If the current residual electric quantity is not less than the first electric quantity threshold value, the power consumption condition of the terminal is normal, the current residual electric quantity can guarantee the time that the terminal supports the preset items, and at the moment, the working mode of the terminal is kept unchanged, namely, no change is made.
As can be seen from the above, in the first embodiment of the application, when a preset event is about to be reached, whether the terminal has abnormal power consumption or not is judged through the continuous power consumption and the remaining power of the terminal, and if the abnormal power consumption occurs, the working mode of the terminal is switched to the low power consumption mode in advance, so that the time that the terminal can support the preset event is ensured, and the delay in using the terminal by a user is avoided.
In an application scenario, the first power threshold is a fixed value, for example, 40%, 20%, etc. of the total power of the terminal.
In another application scenario, the first power threshold is a product of a time between the current time and a time of a preset event and a total power consumed by the terminal in a unit time during normal operation.
Specifically, the first electric quantity threshold value is reasonably set in combination with the actual power consumption condition of the terminal, and the remaining electric quantity can be guaranteed to be capable of maintaining the normal use of the terminal.
In this application scenario, the method for saving power further includes:
s160: and automatically keeping the power consumption condition of the terminal within the latest preset time range.
Considering that the power consumption condition of the terminal is related to the old and new of the terminal, the power consumption condition in the latest preset time range is automatically reserved for further analysis. Wherein the last preset time range may be 2 days last, one week last, etc.
S170: and analyzing the total electric quantity consumed by the terminal in unit time during normal operation according to the power consumption condition of the terminal in the latest preset time range.
The total electric quantity consumed by the terminal in unit time in normal operation, which is analyzed through the power consumption condition of the terminal in the latest preset time range, accords with the current actual power consumption condition of the terminal, and the rationality of the first electric quantity threshold value is ensured.
It can be understood that the power consumed by the terminal in the normal operation unit analyzed in step S170 is continuously updated with time, which is in accordance with the actual use of the terminal.
In another application scenario, the first power threshold corresponds to the number of applications currently in the running state, and the greater the number of applications in the running state, the greater the first power threshold. Specifically, a corresponding relationship between the first electric quantity threshold and the number of the applications in the running state is preset, for example, the number of the applications in the running state is 4, the corresponding first electric quantity threshold is 20% of the total electric quantity, the number of the applications in the running state is 6, the corresponding first electric quantity threshold is 30% of the total electric quantity, after the number of the applications in the running state is obtained, the corresponding first electric quantity threshold is obtained, and then whether the current remaining electric quantity is smaller than the first electric quantity threshold is judged, that is, the first electric quantity threshold changes with the number of the applications in the running state, so that the actual power consumption condition of the terminal is better met.
In another application scenario, the first electric quantity threshold may also be related to the current time, and since the situations that the user uses the application in different time periods are different, but there may be a certain regularity, the habit of the user in using the terminal at ordinary times is counted, the power consumption situation of the terminal in different time periods is analyzed, and thus the corresponding relationship between the current time and the first electric quantity threshold is set, and after the current time is obtained, the first electric quantity threshold corresponding to the current time is found according to the preset corresponding relationship.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second embodiment of the method for saving power of the present application, the method including:
s210: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S220: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S230: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
If yes, the process proceeds to step S240, otherwise, the process proceeds to step S70. The steps S210 to S230 correspond to the steps S110 to S130, and refer to the above embodiments.
S240: and popping up a first message to inform the user.
The first message carries information that the residual power of the terminal is insufficient, the user can be informed of the fact that the residual power of the terminal is insufficient at the moment and the time for maintaining the preset items is difficult to achieve through the first message, and whether the user uses the terminal or not can also be judged.
S250: and judging whether the first message is confirmed by the user within the preset time.
If the determination result is negative, the process proceeds to step S260, and if the determination result is positive, the process proceeds to step S270. The preset time may be 10 minutes, 30 minutes, etc., and is not limited herein.
S260: and switching the working mode of the terminal into a low power consumption mode.
When the first message is not confirmed by the user within the preset time, the first message indicates that the terminal is in the self-power consumption condition at the moment, the possibility of abnormal power consumption is high, but the user does not perceive the abnormal power consumption condition, and the working mode of the terminal is switched to the low-power consumption mode at the moment, so that the electric quantity is saved.
S270: keeping the working mode of the terminal unchanged.
After the first message is confirmed by the user, on one hand, the user is indicated to know that the electric quantity is insufficient, the terminal can be charged in time, on the other hand, the terminal is confirmed to be used by the user instead of generating abnormal electricity consumption by the user, and the working mode of the terminal is maintained unchanged.
The first message may pop up in the form of a window, which includes a "confirm" button, and when the "confirm" button is clicked, the first message is confirmed by the user. If the pop-up window does not include the "confirm" button, the first message may also be considered to be confirmed by the user when the display area of the first message is clicked or other display areas of the terminal are clicked, that is, any area of the terminal screen is clicked.
As can be seen from the above, the second embodiment of the present application can reduce the occurrence rate of erroneous determination compared to the first embodiment by popping up the first message and determining that the terminal has abnormal power consumption after the first message is not timely confirmed by the user.
Referring to fig. 3, fig. 3 is a schematic flow chart of a third embodiment of the power saving method of the present application, where the method includes:
s310: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S320: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S330: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
Steps S310 to S330 are the same as steps S110 to S130. If the determination result is yes, the process proceeds to step S340, and if the determination result is no, the process proceeds to step S360.
S340: and closing the terminal.
S350: and when the time between the current time and the time of the preset item is less than a third time threshold value, opening the terminal.
Wherein the third time threshold is less than the first time threshold, e.g., the third time threshold is 20 minutes, 5 minutes, etc. When it is determined in step S330 that the terminal may consume power abnormally, the terminal is turned off, and the terminal is turned on again before the preset event occurs, because the terminal consumes little power in the off state, the method can ensure that the terminal has enough power when the preset event occurs.
S360: keeping the working mode of the terminal unchanged.
Referring to fig. 4, fig. 4 is a schematic flow chart of a fourth embodiment of the method for saving power of the present application, where the method includes:
s410: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S420: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S430: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
Steps S410 to S430 are the same as steps S110 to S130. If the determination result is yes, the process proceeds to step S440, and if the determination result is no, the process proceeds to step S480.
S440: and popping up a first message to inform the user.
S450: and judging whether the first message is confirmed by the user within the preset time.
If the determination result is yes, the process proceeds to step S480, and if the determination result is no, the process proceeds to step S460.
S460: and closing the terminal.
S470: and when the time between the current time and the time of the preset item is less than a third time threshold value, opening the terminal.
S480: keeping the working mode of the terminal unchanged.
Different from the third embodiment of the present application, in the present embodiment, it is determined whether the first message is timely confirmed by popping up the first message, and after the first message is not timely confirmed, it is determined that the terminal has abnormal power consumption, the terminal is turned off, and the terminal is turned on again before a preset event occurs, so as to save power.
Referring to fig. 5, fig. 5 is a schematic flow chart of a fifth embodiment of the method for saving power of the present application, where the method includes:
s510: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S520: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S530: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
If the determination result is yes, the process proceeds to step S540, and if the determination result is no, the process proceeds to step S580.
S540: and switching the working mode of the terminal into a low power consumption mode.
When it is determined in step S530 that the current remaining power is less than the first power threshold, it is determined that abnormal power consumption occurs in the terminal, and the operating mode of the terminal is switched to a low power consumption mode with less power consumption. The switching of the operating mode of the terminal to the low power consumption mode specifically includes: reducing the screen brightness of the terminal, and/or reducing the display interface of the terminal, and/or closing the application running in the background of the terminal. Specifically, under normal conditions, the display interface of the terminal is the displayable area of the whole display screen, and at the moment, the display interface is reduced according to a certain proportion, so that the display interface only occupies a part of the displayable area, and other displayable areas do not display pictures any more, thereby reducing the power consumption of the terminal screen and saving the electric quantity. And closing the application running in the background of the terminal, namely only keeping the application running in the foreground, so that the electric quantity is saved. Of course, in other embodiments, the applications running in the background may not be completely closed, but only the applications with less frequent use are closed, for example, the use frequency of each application is counted, when the applications running in the background are closed, only the applications with the use frequency not exceeding the frequency threshold are closed, or the applications running in the background are sorted according to the use frequency, and a plurality of applications with less frequent use are closed according to the sorting order.
Optionally, in other embodiments, step S540 may also be: the display quality of the image is reduced, for example, the display mode of the image is reduced from high definition to standard definition, or the use of some functions of the terminal is limited, for example, the flash function is disabled, and when the user needs to use the flash function of the terminal, the user is prompted that the user cannot use the terminal.
S550: the amount of power consumed per unit time by each application in operation is monitored.
Running applications include both applications running in the background and applications running in the foreground.
S560: and notifying the user of the application that the consumed power per unit time exceeds the second power threshold.
S570: and after the user confirms to close the application, closing the application.
The fact that the electric quantity consumed by the application in unit time exceeds the second electric quantity threshold indicates that the application consumes more electricity, the total electric quantity of the terminal can be exhausted more quickly, at the moment, a prompt message is generated to inform a user, the prompt message carries the application with the electric quantity consumed in unit time exceeding the second electric quantity threshold, and after the user selects to close some applications, the application is closed.
S580: keeping the working mode of the terminal unchanged.
Different from the third and fourth embodiments, in this embodiment, after abnormal power consumption may occur to the terminal, the terminal is not directly turned off, but the power of the terminal is saved by weakening a part of functions of the terminal, and the user is notified after power consumption of a certain application is abnormal, so that the user can select whether to turn off the application, thereby overcoming the defect that inconvenience is easily brought to the user when the terminal is directly turned off in the third and fourth embodiments.
Referring to fig. 6, fig. 6 is a schematic flow chart of a sixth embodiment of the power saving method of the present application, where the method includes:
s610: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S620: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S630: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
If the determination result is yes, the process proceeds to step S640, and if the determination result is no, the process proceeds to step S670.
S640: and switching the working mode of the terminal into a low power consumption mode.
In the present embodiment, as in the fifth embodiment, the switching to the low power consumption mode specifically includes: for details, see the above embodiment, the screen brightness of the terminal is reduced, and/or the display interface of the terminal is reduced, and/or the application running in the background of the terminal is closed.
S650: and monitoring the total electric quantity consumed by the terminal in unit time.
S660: and when the total power consumed by the terminal in the unit time exceeds a third power threshold value, notifying the user.
Different from the fifth embodiment, in the present embodiment, the power consumption of each application is not monitored, but the total power consumed by the terminal is monitored, when the total power consumed by the terminal exceeds the third power threshold, it is determined that the power consumption of the terminal is abnormal, and the remaining power may be difficult to maintain for the time of the preset event, at this time, a prompt message is generated to notify the user, and the user may perform charging or close some functions of the terminal according to the prompt message to save the power.
S670: keeping the working mode of the terminal unchanged.
Referring to fig. 7, fig. 7 is a schematic flow chart of a seventh embodiment of the power saving method of the present application, where the method includes:
s710: and when the time between the current time and the time of the preset item is less than a first time threshold value, monitoring the residual electric quantity of the terminal.
S720: and when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal.
S730: and judging whether the current residual electric quantity is smaller than a first electric quantity threshold value.
If the determination result is yes, the process proceeds to step S740, and if the determination result is no, the process proceeds to step S790.
S740: and switching the working mode of the terminal into a low power consumption mode.
In this embodiment, as in the fifth and sixth embodiments, the switching to the low power consumption mode specifically includes: for details, see the above embodiment, the screen brightness of the terminal is reduced, and/or the display interface of the terminal is reduced, and/or the application running in the background of the terminal is closed.
S750: and monitoring the residual electric quantity of the terminal.
S760: and popping up a second message to notify the user when the residual electric quantity of the terminal is less than a fourth electric quantity threshold value.
When the remaining power of the terminal is less than the fourth power threshold, the remaining power of the terminal may be difficult to maintain normal operation of the terminal, and a second message is popped up to notify the user. Wherein the second message, similar to the first message, may be popped up in the form of a pop-up window.
S770: judging whether the second message is confirmed by the user within the preset time
If the determination result is yes, the process proceeds to step S790, and if the determination result is no, the process proceeds to step S780.
S780: and closing the terminal, and opening the terminal when the time between the current time and the time of the preset item is less than a fourth time threshold.
Wherein the fourth time threshold is less than the first time threshold, which may be the same as the third time threshold. And when the second message is not confirmed by the user in time, judging that the terminal has abnormal power consumption, closing the terminal at the moment, and opening the terminal before the time of a preset item so as to save the electric quantity.
S790: keeping the working mode of the terminal unchanged.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of the terminal 80 of the present application, and the terminal 80 includes a processor 801, a memory 802, and a communication circuit 803.
The processor 801 is coupled to the memory 802 and the communication circuit 803, respectively, and the processor 801 controls itself and the memory 802 and the communication circuit 803 to implement the steps of the method for saving power in any of the above embodiments when operating.
The terminal 80 may be a mobile phone, a tablet computer, a notebook computer, a vehicle-mounted computer, an electronic watch, or the like.
Specifically, the memory 802 stores a preset event and a time corresponding to the preset event, when the time between the current time and the time of the preset event is less than a first time threshold, the processor 801 monitors the remaining power of the terminal 80 through the communication circuit 803, and when the time during which the remaining power continuously decreases reaches a second time threshold, the processor 801 obtains the current remaining power through the communication circuit 803, and if the current remaining power is less than the first power threshold, the processor 801 switches the operating mode of the terminal 80 to the low power consumption mode.
In an application scenario, if the current remaining power is less than the first power threshold, the processor 801 switches the operating mode of the terminal 80 to the low power consumption mode, which specifically includes: if the current remaining power is less than the first power threshold, the processor 801 controls the terminal 80 to pop up a first message to notify the user, and if the first message is not confirmed by the user within the preset time, the processor 801 switches the operating mode of the terminal to the low power mode.
In an application scenario, the processor 801 switches the operating mode of the terminal 80 to the low power consumption mode, which specifically includes: the processor 801 shuts down the terminal 80; the processor 801 turns on the terminal 80 again when the time between the current time and the time of the preset event is less than a third time threshold, wherein the third time threshold is less than the first time threshold.
In an application scenario, the processor 801 switches the operating mode of the terminal 80 to the low power consumption mode, which specifically includes: processor 801 controls terminal 80 to reduce its screen brightness and/or processor 801 controls terminal 80 to zoom out of its display interface and/or processor 801 closes applications running in the background of terminal 80.
Optionally, in this application scenario, after the processor 801 switches the operation mode of the terminal 80 to the low power consumption mode, the method includes: the processor 801 monitors the amount of power consumed by each running application per unit time; and notifying the user of the application that the consumed electric quantity exceeds the second electric quantity threshold value in the unit time; after the user confirms to close the application, the processor 801 closes the application.
Optionally, in this application scenario, after the processor 801 switches the operation mode of the terminal 80 to the low power consumption mode, the method includes: the processor 801 monitors the total amount of power consumed by the terminal 80 per unit time; when the total power consumed by the terminal 80 per unit time exceeds the third power threshold, the processor 801 controls the terminal 80 to notify the user.
Optionally, in this application scenario, after the processor 801 switches the operation mode of the terminal 80 to the low power consumption mode, the method includes: the processor 801 monitors the remaining capacity of the terminal 80; when the remaining power of the terminal 80 is less than the fourth power threshold, the processor 801 controls the terminal 80 to pop up a second message to notify the user; if the second message is not confirmed by the user within the preset time, the processor 801 turns off the terminal 80; the processor 801 turns on the terminal 80 when the time between the current time and the time of the preset event is less than a fourth time threshold, wherein the fourth time threshold is less than the first time threshold.
In an application scenario, the first electric quantity threshold is a product of time between current time and time of a preset event and total electric quantity consumed by the terminal in unit time during normal operation.
Further, in the application scenario, the processor 801 automatically reserves the power consumption condition of the terminal 80 within the latest preset time range; and analyzing the total electric quantity consumed by the terminal 80 in unit time during normal operation according to the power consumption condition of the terminal 80 in the latest preset time range.
In this application, the terminal 80 executes the steps in any one of the above methods for saving power when operating, and for a detailed method for saving power, reference may be made to the above embodiments, which are not described herein again.
In summary, in the present application, when the time between the current time and the time of the preset event is less than the first time threshold, the terminal 80 monitors the remaining power, if the time that the remaining power continuously decreases is found to reach the second time threshold, the current remaining power is obtained, and when the current remaining power is less than the first time threshold, it is determined that an abnormal power consumption situation may occur, and the operating mode is switched to the low power consumption mode with less power consumption, so as to achieve the purpose of saving power, and ensure that the power can be maintained to the time of the preset event.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of the apparatus with storage function of the present application, the apparatus with storage function 90 stores program data 901, and the program data 901 can be executed to implement the steps in the method for saving power in any of the above embodiments.
The device 90 with storage function may be a portable storage medium, such as a usb disk and an optical disk, or may be a terminal, a server, or the like.
In summary, the program data stored in the apparatus 90 with storage function in the present application can be executed, when the time between the current time of the terminal and the time of the preset item is less than the first time threshold, the remaining power of the terminal is monitored, if the time that the remaining power continuously decreases reaches the second time threshold, the current remaining power is obtained, when the current remaining power is less than the first power threshold, it is determined that an abnormal power consumption situation may occur, and the operating mode of the terminal is switched to the low power consumption mode with less power consumption, so as to achieve the purpose of saving power, and ensure that the power of the terminal can be maintained to the time of the preset item.
In the several embodiments provided in the present application, it should be understood that the disclosed method, terminal and apparatus can be implemented in other manners. For example, the above-described terminal structure implementation is merely illustrative, and for example, a module or a unit may be divided into only one logic function, and another division may be implemented in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for conserving power, the method comprising:
when the time between the current time and the time of the preset item is smaller than a first time threshold, monitoring the residual electric quantity of the terminal;
when the time that the residual electric quantity continuously decreases reaches a second time threshold, acquiring the current residual electric quantity of the terminal;
and if the current residual electric quantity is smaller than a first electric quantity threshold value, switching the working mode of the terminal into a low power consumption mode.
2. The method according to claim 1, wherein the step of switching the operation mode of the terminal to the low power consumption mode if the current remaining power is less than the first power threshold value comprises:
if the current residual electric quantity is smaller than the first electric quantity threshold value, popping up a first message to notify a user;
and if the first message is not confirmed by the user within the preset time, switching the working mode of the terminal into the low power consumption mode.
3. The method according to claim 1, wherein the step of switching the operation mode of the terminal to the low power consumption mode comprises:
closing the terminal;
and when the time between the current time and the time of the preset event is less than a third time threshold, opening the terminal, wherein the third time threshold is less than the first time threshold.
4. The method according to claim 1, wherein the step of switching the operation mode of the terminal to the low power consumption mode comprises:
reducing the screen brightness of the terminal, and/or reducing the display interface of the terminal, and/or closing the application running in the background of the terminal.
5. The method according to claim 4, wherein after the switching the operation mode of the terminal to the low power consumption mode, the method comprises:
monitoring the electric quantity consumed by each application in operation in unit time;
notifying the user of the application that the consumed power per unit time exceeds the second power threshold;
and after the user confirms that the application is closed, closing the application.
6. The method according to claim 4, wherein after the switching the operation mode of the terminal to the low power consumption mode, the method comprises:
monitoring the total electric quantity consumed by the terminal in unit time;
and when the total electric quantity consumed by the terminal in unit time exceeds a third electric quantity threshold value, informing a user.
7. The method according to claim 4, wherein after the switching the operation mode of the terminal to the low power consumption mode, the method comprises:
monitoring the residual electric quantity of the terminal;
popping up a second message to notify a user when the residual electric quantity of the terminal is less than a fourth electric quantity threshold value;
if the second message is not confirmed by the user within the preset time, closing the terminal;
and when the time between the current time and the time of the preset event is less than a fourth time threshold, opening the terminal, wherein the fourth time threshold is less than the first time threshold.
8. The method of claim 1,
the first electric quantity threshold value is the product of the time between the current time and the time of the preset item and the total electric quantity consumed by the terminal in unit time during normal operation,
the method further comprises the following steps:
automatically reserving the power consumption condition of the terminal within the latest preset time range;
and analyzing the total electric quantity consumed by the terminal in unit time during normal operation according to the power consumption condition of the terminal in the latest preset time range.
9. A terminal, comprising a processor, a memory, and a communication circuit, the processor being coupled to the memory and the communication circuit, respectively, the processor controlling itself and the memory and the communication circuit to implement the steps of the method according to any one of claims 1-8 when in operation.
10. An apparatus having a storage function, characterized in that program data are stored, which program data can be executed to implement the steps in the method according to any of claims 1-8.
CN201811341243.6A 2018-11-12 2018-11-12 Method and terminal for saving electric quantity and device with storage function Withdrawn CN111176418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341243.6A CN111176418A (en) 2018-11-12 2018-11-12 Method and terminal for saving electric quantity and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341243.6A CN111176418A (en) 2018-11-12 2018-11-12 Method and terminal for saving electric quantity and device with storage function

Publications (1)

Publication Number Publication Date
CN111176418A true CN111176418A (en) 2020-05-19

Family

ID=70648110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341243.6A Withdrawn CN111176418A (en) 2018-11-12 2018-11-12 Method and terminal for saving electric quantity and device with storage function

Country Status (1)

Country Link
CN (1) CN111176418A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315872A (en) * 2021-05-20 2021-08-27 中国联合网络通信集团有限公司 Mobile terminal control method and device and mobile terminal
CN116367283A (en) * 2023-03-31 2023-06-30 深圳市每开创新科技有限公司 Method for reducing power consumption, passive NFC chip and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645962A (en) * 2008-08-07 2010-02-10 深圳富泰宏精密工业有限公司 Mobilephone and alarm clock management method thereof
CN101783824A (en) * 2010-01-19 2010-07-21 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for detecting alarm clock setting effectiveness
CN104811557A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Turning-off control method and turning-off control device
CN107465801A (en) * 2016-06-02 2017-12-12 西安中兴新软件有限责任公司 The method and device of management equipment alarm clock

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645962A (en) * 2008-08-07 2010-02-10 深圳富泰宏精密工业有限公司 Mobilephone and alarm clock management method thereof
CN101783824A (en) * 2010-01-19 2010-07-21 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for detecting alarm clock setting effectiveness
CN104811557A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Turning-off control method and turning-off control device
CN107465801A (en) * 2016-06-02 2017-12-12 西安中兴新软件有限责任公司 The method and device of management equipment alarm clock

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315872A (en) * 2021-05-20 2021-08-27 中国联合网络通信集团有限公司 Mobile terminal control method and device and mobile terminal
CN116367283A (en) * 2023-03-31 2023-06-30 深圳市每开创新科技有限公司 Method for reducing power consumption, passive NFC chip and storage medium

Similar Documents

Publication Publication Date Title
US10891142B2 (en) Method and device for preloading application, storage medium, and terminal device
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
EP3502880A1 (en) Method for preloading application, storage medium, and terminal device
CN107340014B (en) Multi-sensor detection method and device and computer readable storage medium
CN109361818A (en) Charging reminding method, device, storage medium and terminal
CN106528028B (en) Information processing method, system, device and terminal
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
CN106502371A (en) A kind of electricity-saving control method and device
CN109151961B (en) Operation method of mobile terminal, terminal and computer readable storage medium
CN105511985A (en) Data backup method and terminal
CN111176418A (en) Method and terminal for saving electric quantity and device with storage function
CN105005387A (en) Application event prompting method for smart watch and smart watch
CN106304292A (en) A kind of application message based reminding method and terminal
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
CN112172713B (en) Storage battery management method, storage battery management device, vehicle and storage medium
CN106383684A (en) Display method, display device and terminal
CN110602318A (en) Processing method and electronic equipment
CN107277906B (en) Mode selecting method, device, terminal and computer readable storage medium
WO2019148421A1 (en) Terminal device and electric leakage detection method and detection apparatus therefor
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
US20100097970A1 (en) Method and device for displaying information of mobile terminal
CN110149444B (en) Message reminding method and device, storage medium and electronic equipment
CN112764512B (en) Power saving control method, device, electronic equipment and readable storage medium
CN106843440B (en) A kind of mobile terminal restarts control method, device and mobile terminal
WO2018137383A1 (en) Screen display method and device, and terminal

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200519