CN114779919A - Method for adjusting dormancy power consumption of equipment and electronic equipment - Google Patents
Method for adjusting dormancy power consumption of equipment and electronic equipment Download PDFInfo
- Publication number
- CN114779919A CN114779919A CN202210316096.7A CN202210316096A CN114779919A CN 114779919 A CN114779919 A CN 114779919A CN 202210316096 A CN202210316096 A CN 202210316096A CN 114779919 A CN114779919 A CN 114779919A
- Authority
- CN
- China
- Prior art keywords
- sleep
- power consumption
- wake
- equipment
- time
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000005059 dormancy Effects 0.000 title claims description 9
- 230000007958 sleep Effects 0.000 claims abstract description 105
- 238000005457 optimization Methods 0.000 abstract description 4
- 230000002618 waking effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000014509 gene expression Effects 0.000 description 6
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
Abstract
The present application relates to the field of electronic devices, and in particular, to a method for adjusting sleep power consumption of a device and an electronic device. The method comprises the following steps: setting different wake-up times for a plurality of sleep modes of the device respectively; and waking up the equipment according to the wake-up time corresponding to the current sleep mode of the equipment. By the method, unnecessary awakening actions can be reduced, power consumption optimization is further achieved, and unnecessary power consumption loss is reduced.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method for adjusting sleep power consumption of a device and an electronic device.
Background
With the popularization of electronic equipment, almost one electronic equipment is used, and with the frequent use of the electronic equipment by people, the electric quantity of the electronic equipment is also required to be high, and the electric quantity of the electronic equipment is consumed more slowly and better.
Under the condition of low power consumption of the equipment, because no actual task runs, the equipment needs to update the electric quantity of the battery regularly, if the electric quantity is not updated timely, the condition that the equipment is directly powered off in a low-power mode can occur under extreme conditions, or the electric quantity instantly seen by a user in the process of awakening is inaccurate. At present, a common mobile terminal is idle and a timer is set to wake up a system regularly to update power, which has a disadvantage that extra power consumption is required for each wake-up of the device.
In a general device, the sleep mode of the device is one, so that the loss of the battery is not greatly different in each sleep. It is only necessary to update regularly, for example, once every 1 hour. However, there are multiple sleep modes on an electronic ink screen device, and the different sleep modes are awakened according to the fastest timing cycle, so that the endurance is poor.
Disclosure of Invention
In view of the foregoing, the present application provides a method for adjusting sleep power consumption of a device, which can adopt different wake-up times for different sleep modes of the device to optimize power consumption, reduce unnecessary wake-up actions, reduce unnecessary power consumption loss, and prolong a endurance time.
In a first aspect, a method of adjusting sleep power consumption of a device is provided. The method comprises the following steps: setting different wake-up times for a plurality of sleep modes of the device respectively; and waking up the equipment according to the wake-up time corresponding to the current sleep mode of the equipment.
In some embodiments, the method further comprises: and updating the residual battery power of the equipment.
In some embodiments, the wake-up time is set to a time required for the power of the device to step by a preset value in the corresponding sleep mode.
In some embodiments, the method further comprises: calculating corresponding wake-up times of the device in the plurality of sleep modes, wherein calculating the corresponding wake-up times of the device in the plurality of sleep modes comprises: and respectively calculating the time required by the electric quantity stepping preset value of the equipment aiming at the sleep modes according to the battery capacity of the equipment and the power consumption of the sleep modes.
In some embodiments, calculating the corresponding wake-up times of the device in the plurality of sleep modes comprises: the wake-up time, which is (battery capacity x step preset value)/power consumption, is calculated by the following equation.
In some embodiments, the method further comprises: and responding to a sleep instruction of the equipment, and calculating the time required by the electric quantity stepping preset value in the current sleep mode.
In some embodiments, the method further comprises: setting the plurality of sleep modes for the device.
In some embodiments, the plurality of sleep modes includes one or more of: bright screen sleep, low power sleep, ultra-low power sleep.
In a second aspect, an electronic device is provided. The electronic device includes: a memory configured to store a set of instructions; and a processor configured to execute the set of instructions to perform the above-mentioned method of adjusting sleep power consumption of a device.
In some embodiments, the electronic device comprises an electronic ink screen.
According to the embodiment of the disclosure, different wake-up times are respectively set for a plurality of sleep modes of the device; and waking up the equipment according to the wake-up time corresponding to the current sleep mode of the equipment. In this way, unnecessary wake-up actions are reduced, power consumption optimization is achieved, unnecessary power consumption loss is reduced, and longer endurance is provided.
The above description of the present invention is only an outline of the present invention, and in order to make the technical solution of the present invention more clearly understood by those skilled in the art, the present invention may be implemented based on the content described in the text and drawings of the present specification, and in order to make the above object, other objects, features, and advantages of the present invention more easily understood, the following description will be made in conjunction with the embodiments of the present application and the drawings.
Drawings
The drawings are only for purposes of illustrating the principles, implementations, applications, features, and effects of particular embodiments of the application, as well as others related thereto, and are not to be construed as limiting the application.
FIG. 1 shows a first flowchart of a method of adjusting sleep power consumption of a device according to an embodiment of the present disclosure;
FIG. 2 illustrates a second flowchart of a method of adjusting sleep power consumption of a device according to an embodiment of the disclosure;
FIG. 3 shows a flow diagram three of a method of adjusting sleep power consumption of a device according to an embodiment of the disclosure;
FIG. 4 illustrates a fourth flowchart of a method of adjusting sleep power consumption of a device according to an embodiment of the disclosure;
fig. 5 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to explain in detail possible application scenarios, technical principles, practical embodiments, and the like of the present application, the following detailed description is given with reference to the accompanying drawings in conjunction with the listed embodiments. The embodiments described herein are only used for clearly illustrating the technical solutions of the present application, and therefore are only used as examples, and the scope of the present application is not limited thereby.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or related to other embodiments specifically defined. In principle, in the present application, the technical features mentioned in the embodiments can be combined in any manner to form a corresponding implementable technical solution as long as there is no technical contradiction or conflict.
Unless defined otherwise, technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the use of relational terms herein is intended only to describe particular embodiments and is not intended to limit the present application.
In the description of the present application, the term "and/or" is a expression for describing a logical relationship between objects, indicating that three relationships may exist, for example, a and/or B, indicating that: there are three cases of A, B, and both A and B. In addition, the character "/" herein generally indicates that the former and latter associated objects are in a logical relationship of "or".
In this application, terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Without further limitation, in this application, the use of "including," "comprising," "having," or other similar expressions in phrases and expressions of "including," "comprising," or "having," is intended to cover a non-exclusive inclusion, and such expressions do not exclude the presence of additional elements in a process, method, or article that includes the recited elements, such that a process, method, or article that includes a list of elements may include not only those elements but also other elements not expressly listed or inherent to such process, method, or article.
In this application, the terms "greater than", "less than", "more than", and the like are to be understood as excluding the number; the expressions "above", "below", "within" and the like are understood to include the present numbers. In addition, in the description of the embodiments of the present application, "a plurality" means two or more (including two), and expressions related to "a plurality" similar thereto are also understood, for example, "a plurality of groups", "a plurality of times", and the like, unless specifically defined otherwise.
As mentioned in the background, for devices with multiple sleep modes, the existing timing to update the battery power may result in unnecessary power loss. Therefore, the present application provides a method for adjusting the sleep power consumption of a device, so as to solve the problem. The core technical idea of the application is that different awakening time is set according to different sleep modes of equipment to optimize power consumption and reduce redundant power consumption loss caused by necessary awakening action.
Specific implementations of embodiments according to the present disclosure will be described in detail below with reference to exemplary embodiments and with reference to the accompanying drawings.
Fig. 1 is a flow diagram illustrating a method 100 of adjusting device sleep power consumption in accordance with an embodiment of the disclosure. As shown in fig. 1, a method 100 of adjusting sleep power consumption of a device includes the following steps S101 and S102.
In step S101, different wake-up times are set for a plurality of sleep modes of the device, respectively. In this embodiment, a method 100 for adjusting sleep power consumption of a device can be applied to a device having multiple sleep modes.
In some embodiments, the electronic ink screen is taken as an example, and the electronic ink screen includes the following different sleep modes: bright screen dormancy, low-power consumption dormancy and ultra-low power consumption dormancy, wherein bright screen dormancy mode is the bright screen user state of user, still keeps some other applications under the low-power consumption dormancy mode, like WIFI BIT work. Different sleep modes correspond to different wake-up times, and the calculation of specific wake-up times will be described later. The awakening time is the time required by the electric quantity stepping preset value in different sleep modes. In the present embodiment, the time required for the electric energy to step by 1% is described as the wake-up time. In other embodiments, the setting can be different according to the actual application requirement.
In step S102, the device is woken up according to a wake-up time corresponding to a sleep mode in which the device is currently located. In this way, many unnecessary wake-up actions can be reduced, thereby reducing the power consumption and providing longer endurance time.
Fig. 2 is a flow diagram illustrating a method 200 of adjusting device sleep power consumption in accordance with an embodiment of the present disclosure. As shown in fig. 2, the method 200 includes the following steps S201 to S203. Steps S201 to S202 are the same as steps S101 to S102, and therefore, a repeated description thereof is omitted.
In step S203, the remaining battery power is updated for the device. If the target device enters a low-power-consumption sleep mode at 8:00, and the wake-up time corresponding to the low-power-consumption sleep mode is 1h, the target device is waken up at 9:00 so as to update the residual battery power. In the embodiment, the power is updated by 1%, and if the power of the target device is 59% when the target device enters the low power sleep mode, the power is updated to 58% after one hour.
Fig. 3 is a flow diagram illustrating a method 300 of adjusting device sleep power consumption in accordance with an embodiment of the present disclosure. As shown in fig. 3, the method 300 includes the following steps S301 to S303. Steps S302 to S303 are the same as steps S101 to S102, and therefore, a repeated description thereof will not be provided.
As described above, before step S101, step S301 needs to be executed, and in step S301, the corresponding wake-up times of the device in the sleep modes are calculated. The method specifically comprises the following steps: and respectively calculating the time required by the electric quantity stepping preset value of the equipment aiming at the sleep modes according to the battery capacity of the equipment and the power consumption of the sleep modes. The calculation formula adopted in this embodiment is: wake-up time ═ (battery capacity x step preset value)/power consumption.
For example, if the battery capacity of a device is 3800mAh, the power consumption in the a sleep mode is 10ma, and the wake-up time is (3800 × 1%)/10 is 3.8 h. I.e. the device is in the a sleep mode, its wake-up time is set to 3.8 h. In addition, the power consumption in the B sleep mode is 20ma, and the wake-up time is (3800 × 1%)/20 is 1.9 h. I.e., the device is in the B sleep mode, the wake-up time is set to 1.9 h.
Since the power consumption in different sleep modes is different, the wake-up time calculated by the above method is also different. The conventional electronic ink-and-water screen device as mentioned above comprises three sleep modes: the method comprises the steps of bright screen sleep, low power consumption sleep and ultra-low power consumption sleep, and the results of the calculation of the awakening time of the three different sleep modes are different.
Compared with any sleep mode in the prior art, the sleep mode is awakened according to the fastest timing cycle, the technical scheme of the application can be used for carrying out individualized time awakening on different sleep modes, power consumption optimization is achieved, and then cruising ability is improved.
Fig. 4 is a flow diagram illustrating a method 400 of adjusting device sleep power consumption in accordance with an embodiment of the disclosure. As shown in fig. 4, the method 400 includes the following steps S401 to S403. Steps S401 to S402 are the same as steps S101 to S102, and therefore, a repeated description thereof will not be provided.
In step S403, in response to the device entering a sleep command, the time required for the power to step by a preset value in the current sleep mode is calculated. After the target device is awakened every time, when the target device enters the sleep mode again, no matter which sleep mode is entered, the time required by the electric quantity stepping preset value under the current sleep mode is restarted, so that the device is awakened in accurate time, and the power consumption of the device is optimized.
Fig. 5 is a block schematic diagram illustrating an electronic device 500 according to an embodiment of the disclosure. The electronic device 500 is a device having a plurality of sleep modes, and an electronic ink screen is described as an example in this embodiment. A common electronic ink screen device includes three sleep modes: bright screen sleep, low power sleep, ultra-low power sleep.
As shown in fig. 5, the electronic device 500 includes a memory 502 and a processor 504. The memory 502 is configured to store a set of instructions. Processor 504 is configured to perform the following actions: setting different wake-up times for different sleep modes of the target equipment; and awakening the target equipment according to the awakening time corresponding to the current sleep mode of the target equipment.
Setting different wake-up times for different sleep modes of the target equipment; and awakening the target equipment according to the awakening time corresponding to the current sleep mode of the target equipment. In this way, unnecessary wake-up actions are reduced, power consumption optimization is achieved, unnecessary power consumption loss is reduced, and longer endurance is provided.
In some embodiments, the set of instructions may include various acts in the above-described method of adjusting device sleep power consumption. The processor 504 is configured to perform various acts in the above-described method of adjusting device sleep power consumption.
The three different sleep modes of the electronic ink-water screen perform wake-up time calculation by adjusting the sleep power consumption of the device, and the results are different.
For example, if the battery capacity of the electronic ink screen is 3800mAh and the power consumption in the bright screen sleep mode is 50ma, the wake-up time is (3800 x 1%)/50 is 0.76 h. I.e. the device is in bright screen sleep mode, the wake-up time is set to 0.76 h.
For example, if the power consumption is 20ma in the low power sleep mode, the wake-up time is (3800 × 1%)/20 is 1.9 h. I.e. the device is in a low power sleep mode, the wake-up time is set to 1.9 h.
For example, if the power consumption in the ultra low power sleep mode is 10ma, the wake-up time is (3800 × 1%)/10 is 3.8 h. I.e. the device is in the ultra low power sleep mode, the wake-up time is set to 3.8 h.
Finally, it should be noted that, although the above embodiments have been described in the text and drawings of the present application, the scope of the patent protection of the present application is not limited thereby. All technical solutions generated by replacing or modifying the equivalent structure or the equivalent flow described in the text and the drawings of the present application and directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields and the like based on the substantial idea of the present application are included in the scope of the patent protection of the present application.
Claims (10)
1. A method of adjusting sleep power consumption of a device, comprising:
setting different wake-up times for a plurality of sleep modes of the device respectively; and
and awakening the equipment according to the awakening time corresponding to the current sleep mode of the equipment.
2. The method of claim 1, further comprising: and updating the residual battery power of the equipment.
3. The method according to claim 1 or 2, wherein the wake-up time is set as a time required for the power of the device to step by a preset value in the corresponding sleep mode.
4. The method of claim 3, further comprising: calculating corresponding wake-up times of the device in the plurality of sleep modes,
wherein calculating the corresponding wake-up times of the device in the plurality of sleep modes comprises: and respectively calculating the time required by the electric quantity stepping preset value of the equipment aiming at the sleep modes according to the battery capacity of the equipment and the power consumption of the sleep modes.
5. The method of claim 4, wherein calculating the corresponding wake-up times of the device in the plurality of sleep modes comprises: the wake-up time is calculated by the following equation,
wake-up time ═ (battery capacity × step preset value)/power consumption.
6. The method of any one of claims 1 to 5, further comprising: and responding to the sleep instruction of the equipment, and calculating the time required by the electric quantity stepping preset value in the current sleep mode.
7. The method of any one of claims 1 to 6, further comprising: setting the plurality of sleep modes for the device.
8. The method of claim 7, wherein the plurality of sleep modes comprises one or more of: bright screen dormancy, low power consumption dormancy, ultra-low power consumption dormancy.
9. An electronic device, comprising:
a memory configured to store a set of instructions; and
a processor configured to execute the set of instructions to perform the method of any of claims 1 to 8.
10. The electronic device of claim 9, wherein the electronic device comprises an electronic ink screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210316096.7A CN114779919A (en) | 2022-03-28 | 2022-03-28 | Method for adjusting dormancy power consumption of equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210316096.7A CN114779919A (en) | 2022-03-28 | 2022-03-28 | Method for adjusting dormancy power consumption of equipment and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114779919A true CN114779919A (en) | 2022-07-22 |
Family
ID=82425182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210316096.7A Pending CN114779919A (en) | 2022-03-28 | 2022-03-28 | Method for adjusting dormancy power consumption of equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114779919A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300298A (en) * | 2011-09-16 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Mobile phone and power saving method for mobile phone in sleep mode |
US20140157026A1 (en) * | 2012-12-05 | 2014-06-05 | Advanced Micro Devices, Inc. | Methods and apparatus for dynamically adjusting a power level of an electronic device |
CN105573460A (en) * | 2014-10-10 | 2016-05-11 | 中兴通讯股份有限公司 | Application program wakeup time adjusting method and device |
CN111352796A (en) * | 2018-12-20 | 2020-06-30 | 青岛海信移动通信技术股份有限公司 | Method and device for acquiring electric quantity by intelligent wearable equipment |
-
2022
- 2022-03-28 CN CN202210316096.7A patent/CN114779919A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300298A (en) * | 2011-09-16 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Mobile phone and power saving method for mobile phone in sleep mode |
US20140157026A1 (en) * | 2012-12-05 | 2014-06-05 | Advanced Micro Devices, Inc. | Methods and apparatus for dynamically adjusting a power level of an electronic device |
CN105573460A (en) * | 2014-10-10 | 2016-05-11 | 中兴通讯股份有限公司 | Application program wakeup time adjusting method and device |
CN111352796A (en) * | 2018-12-20 | 2020-06-30 | 青岛海信移动通信技术股份有限公司 | Method and device for acquiring electric quantity by intelligent wearable equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102117114B (en) | Electricity-saving method for embedded equipment | |
TWI603184B (en) | A method, apparatus, and system for energy efficiency and energy conservation including optimizing c-state selection under variable wakeup rates | |
US20150189594A1 (en) | Method And System For Managing Power Usage Of A Mobile Terminal | |
CN108900313B (en) | Network management method and system based on CAN bus | |
CN105676997A (en) | Mobile terminal management method and system and mobile terminal | |
CN110058889A (en) | A kind of application awakening method and device | |
CN106168902A (en) | Awakening control method, device and equipment | |
CN105487634A (en) | Heterogeneous many-core chip oriented quantized power consumption control method | |
CN105388991A (en) | Timing wake-up processing system and method | |
CN105867577A (en) | Terminal awakening method and terminal | |
CN102495576B (en) | Ultra-low power circuit control system and method thereof | |
JP2019527822A (en) | Time display method and smart watch | |
KR20160121876A (en) | Changing method from sleep mode to awake mode in wifi system | |
CN110572868A (en) | Method and device for reducing power consumption of electronic device | |
CN114779919A (en) | Method for adjusting dormancy power consumption of equipment and electronic equipment | |
CN102193616A (en) | Method for controlling power supply of electronic device for improving battery life | |
CN105101371A (en) | Mobile phone power-saving management method | |
CN111246549B (en) | Method and device for providing node dormancy and wakeup time | |
CN106095412A (en) | The method for closing of a kind of application program and device | |
CN115639897A (en) | Real-time voltage control module | |
CN111077976B (en) | Method for realizing idle state low power consumption mode of multi-core processor and processor | |
CN111026346B (en) | Low-power consumption updating method, equipment and storage medium for dial display content | |
CN111338459B (en) | NB-IoT system PSM mode control method and system | |
CN110536019B (en) | High-stability timing awakening method and device | |
CN116610204B (en) | Power management method, system, electronic equipment and medium for electric equipment |
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 |