Method for adjusting sleep power consumption of device and electronic device
By setting personalized wake-up time for different sleep modes of electronic devices and calculating wake-up time based on battery capacity and power consumption, the problem of poor battery loss and battery life caused by frequent wake-up in the prior art is solved, and power consumption optimization and battery life are achieved Extend time.
Patent Information
- Application Number
- CN202210316096.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-03-28
AI Technical Summary
In the low-power state, existing electronic devices frequently wake up and update their battery power, resulting in poor battery loss and battery life. Especially on electronic ink screen devices, wake-up at the fastest timing cycle in multiple sleep modes leads to unoptimized power consumption.
By setting different wake-up times for different sleep modes of the device, the wake-up time is calculated based on battery capacity and power consumption, unnecessary wake-up actions are reduced, power consumption is optimized, and battery life is extended.
It achieves optimization of power consumption, reduces unnecessary power consumption and provides longer battery life, and is suitable for electronic devices in multiple sleep modes.
Smart Images

Figure CN114779919B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a method for adjusting sleep power consumption of a device and an electronic device. Background Art
[0002] With the popularity of electronic devices, almost everyone has one now. As people use electronic devices more frequently, they have higher requirements for the power of electronic devices. The slower the power of electronic devices is consumed, the better.
[0003] When the device is in low power mode, because there are no actual tasks running, the device needs to update the battery power status regularly. If it is not updated in time, in extreme cases, the device will be powered off directly in low power mode, or the power level seen by the user at the moment of waking up will be inaccurate. At present, common mobile terminals use timers to wake up the system regularly to update the power level when they are idle. The disadvantage is that each time the device wakes up, additional power consumption is required.
[0004] In general devices, there is only one sleep mode, so the battery consumption of each sleep mode is not much different. It only needs to be updated regularly, such as once an hour. However, there are multiple sleep modes on electronic ink screen devices, and different modes wake up according to the fastest timer cycle, resulting in poor battery life. Summary of the invention
[0005] In view of the above problems, the present application provides a method for adjusting the 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, and extend battery life.
[0006] In a first aspect, a method for adjusting sleep power consumption of a device is provided, comprising: setting different wake-up times for multiple sleep modes of the device respectively; and waking up the device according to the wake-up time corresponding to the sleep mode currently in which the device is located.
[0007] In some embodiments, the method further comprises: updating the remaining battery power of the device.
[0008] In some embodiments, the wake-up time is set to the time required for the power of the device to increase by a preset value in the corresponding sleep mode.
[0009] In some embodiments, the method also includes: calculating the wake-up time corresponding to the device in the multiple sleep modes, wherein calculating the wake-up time corresponding to the device in the multiple sleep modes includes: calculating the time required for the device's power stepping preset value for each of the multiple sleep modes based on the battery capacity of the device and the power consumption of the multiple sleep modes.
[0010] In some embodiments, calculating the corresponding wake-up time of the device in the multiple sleep modes includes: calculating the wake-up time by the following equation: wake-up time=(battery capacity×step preset value) / power consumption.
[0011] In some embodiments, the method further includes: in response to an instruction for the device to enter sleep mode, calculating the time required for the power level in the current sleep mode to increase by a preset value.
[0012] In some embodiments, the method further comprises: setting the plurality of sleep modes for the device.
[0013] In some embodiments, the multiple sleep modes include one or more of the following: screen-on sleep, low-power sleep, and ultra-low-power sleep.
[0014] In a second aspect, an electronic device is provided, comprising: a memory configured to store an instruction set; and a processor configured to execute the instruction set to execute the above-mentioned method for adjusting sleep power consumption of a device.
[0015] In some embodiments, the electronic device includes an electronic ink screen.
[0016] According to an embodiment of the present disclosure, different wake-up times are set for the multiple sleep modes of the device, and the device is woken up according to the wake-up time corresponding to the sleep mode the device is currently in. In this way, unnecessary wake-up actions are reduced, thereby achieving power consumption optimization, reducing unnecessary power consumption, and providing longer battery life.
[0017] The above-mentioned records related to the invention content are only an overview of the technical solution of the present application. In order to enable ordinary technicians in the field to more clearly understand the technical solution of the present application, and then implement it according to the text of the specification and the contents recorded in the drawings, and to make the above-mentioned purpose and other purposes, features and advantages of the present application easier to understand, the following is an explanation in combination with the specific implementation mode and drawings of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings are only used to illustrate the principles, implementation methods, applications, characteristics and effects of the specific embodiments of the present application and other related contents, and shall not be considered as limitations of the present application.
[0019] Figure 1 The process of the method for adjusting the sleep power consumption of a device according to an embodiment of the present disclosure is shown. Figure 1 ;
[0020] Figure 2 The process of the method for adjusting the sleep power consumption of a device according to an embodiment of the present disclosure is shown. Figure 2 ;
[0021] Figure 3 The process of the method for adjusting the sleep power consumption of a device according to an embodiment of the present disclosure is shown. Figure 3 ;
[0022] Figure 4 The process of the method for adjusting the sleep power consumption of a device according to an embodiment of the present disclosure is shown. Figure 4 ;
[0023] Figure 5 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects that can be achieved, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0025] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.
[0026] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.
[0027] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.
[0028] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.
[0029] Without further limitations, in this application, the words "include", "comprises", "has" or other similar expressions used in the sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.
[0030] In this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.
[0031] As mentioned in the background technology, for devices with multiple sleep modes, the existing timed update of the battery power status will lead to unnecessary power consumption. Therefore, this application proposes a method for adjusting the sleep power consumption of the device to solve this problem. The core technical idea of this application is to optimize power consumption by setting different wake-up times according to different sleep modes of the device, and reduce the unnecessary power consumption caused by the wake-up action.
[0032] Specific implementations according to embodiments of the present disclosure will be described in detail hereinafter with reference to exemplary embodiments and in conjunction with the accompanying drawings.
[0033] Figure 1 FIG. 1 is a flow chart showing a method 100 for adjusting device sleep power consumption according to an embodiment of the present disclosure. Figure 1 As shown, a method 100 for adjusting device sleep power consumption includes the following steps S101 and S102.
[0034] In step S101, different wake-up times are set for the multiple sleep modes of the device. In this embodiment, a method 100 for adjusting sleep power consumption of a device can be applied to a device with multiple sleep modes.
[0035] In some embodiments, taking the electronic ink screen as an example, the electronic ink screen includes the following different sleep modes: screen-on sleep, low-power sleep and ultra-low-power sleep. The screen-on sleep mode is when the user uses the screen, and in the low-power sleep mode, some other applications are still maintained, such as WIFI BIT work. Different sleep modes will correspond to different wake-up times, and the specific calculation method of the wake-up time will be explained later. The wake-up time is the time required for the power to step to a preset value in different sleep modes. In this embodiment, the time required for the power to step 1% is used as the wake-up time for explanation. In other embodiments, different settings can be made according to actual application needs.
[0036] In step S102, the device is awakened according to the awakening time corresponding to the sleep mode the device is currently in. In this way, many unnecessary awakening actions can be reduced, thereby reducing power consumption and providing a longer battery life.
[0037] Figure 2 FIG. 2 is a flow chart showing a method 200 for adjusting device sleep power consumption according to an embodiment of the present disclosure. Figure 2 As shown, the method 200 includes the following steps S201 to S203. Steps S201 to S202 are the same as steps S101 to S102, so they are not described repeatedly.
[0038] In step S203, the remaining battery power of the device is updated. If the target device enters the low-power sleep mode at 8:00, and the wake-up time corresponding to the low-power sleep mode is 1 hour, the target device will be awakened at 9:00 to update the remaining battery power. In this embodiment, the update is performed in 1% steps. For example, when the target device enters the low-power sleep mode, its power is 59%, and after one hour, its power is updated to 58%.
[0039] Figure 3 FIG. 3 is a flow chart showing a method 300 for adjusting device sleep power consumption according to an embodiment of the present disclosure. Figure 3 As shown, the method 300 includes the following steps S301 to S303. Steps S302 to S303 are the same as steps S101 to S102, so they are not described repeatedly.
[0040] As mentioned above, before step S101, step S301 must be performed first. In step S301, the corresponding wake-up time of the device in the multiple sleep modes is calculated. Specifically, it includes: according to the battery capacity of the device and the power consumption of the multiple sleep modes, the time required for the power of the device to step into the preset value for each of the multiple sleep modes is calculated. The calculation formula adopted in this embodiment is: wake-up time = (battery capacity × step preset value) / power consumption.
[0041] For example, if the battery capacity of a device is 3800mAh and the power consumption in sleep mode A is 10ma, then the wake-up time = (3800*1%) / 10 = 3.8h. That is, when the device is in sleep mode A, its wake-up time is set to 3.8h. In addition, if the power consumption in sleep mode B is 20ma, then the wake-up time = (3800*1%) / 20 = 1.9h. That is, when the device is in sleep mode B, its wake-up time is set to 1.9h.
[0042] Because the power consumption in different sleep modes is different, the wake-up time calculated by the above method is also different. As mentioned above, common electronic ink screen devices include three sleep modes: bright screen sleep, low power sleep, and ultra-low power sleep. The wake-up time of these three different sleep modes is calculated by the above method, and the results will be different.
[0043] Compared with the prior art, no matter which sleep mode is used, the system wakes up according to the fastest timing cycle. The technical solution of the present application can perform personalized wake-up time for different sleep modes, optimize power consumption, and thus improve battery life.
[0044] Figure 4 FIG. 4 is a flow chart showing a method 400 for adjusting device sleep power consumption according to an embodiment of the present disclosure. Figure 4 As shown, the method 400 includes the following steps S401 to S403. Steps S401 to S402 are the same as steps S101 to S102, so they are not described repeatedly.
[0045] In step S403, in response to the device entering sleep mode instruction, the time required for the power to step to the preset value in the current sleep mode is calculated. Each time the target device is awakened, when it enters sleep mode again, no matter which sleep mode it enters, it will restart the calculation of the time required for the power to step to the preset value in the current sleep mode, so as to wake up the device at an accurate time later and optimize the power consumption of the device.
[0046] Figure 51 is a schematic diagram of a module of an electronic device 500 according to an embodiment of the present disclosure. The electronic device 500 is a device with multiple sleep modes. In this embodiment, an electronic ink screen is used as an example for explanation. Common electronic ink screen devices include three sleep modes: bright screen sleep, low power sleep, and ultra-low power sleep.
[0047] like Figure 5 As shown, the electronic device 500 includes a memory 502 and a processor 504. The memory 502 is configured to store an instruction set. The processor 504 is configured to perform the following actions: setting different wake-up times for different sleep modes of the target device; waking up the target device according to the wake-up time corresponding to the sleep mode currently in which the target device is located.
[0048] By setting different wake-up times for different sleep modes of the target device, the target device is woken up according to the wake-up time corresponding to the sleep mode the target device is currently in. In this way, unnecessary wake-up actions are reduced, thereby achieving power consumption optimization, reducing unnecessary power consumption, and providing longer battery life.
[0049] In some embodiments, the instruction set may include various actions in the method for adjusting device sleep power consumption described above. The processor 504 is configured to execute various actions in the method for adjusting device sleep power consumption described above.
[0050] As described above, the three different sleep modes of the electronic ink screen calculate the wake-up time by adjusting the sleep power consumption of the device, and the results are different.
[0051] 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, then the wake-up time = (3800*1%) / 50 = 0.76h. That is, when the device is in the bright screen sleep mode, its wake-up time is set to 0.76h.
[0052] For example, if the power consumption in low-power sleep mode is 20ma, the wake-up time = (3800*1%) / 20 = 1.9h. That is, when the device is in low-power sleep mode, its wake-up time is set to 1.9h.
[0053] For example, if the power consumption in the ultra-low power sleep mode is 10 mA, the wake-up time = (3800*1%) / 10 = 3.8 hours. That is, when the device is in the ultra-low power sleep mode, its wake-up time is set to 3.8 hours.
[0054] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of this application, this does not limit the scope of patent protection of this application. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of this application using the contents recorded in the specification and drawings of this application, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the scope of patent protection of this application.
Claims
1. A method for adjusting the sleep power consumption of a device, characterized in that: include: Calculating the wake-up time corresponding to the device in the multiple sleep modes includes: calculating the time required for the power of the device to step into a preset value for each of the multiple sleep modes according to the battery capacity of the device and the power consumption of the multiple sleep modes; Setting different wake-up times for the multiple sleep modes of the device, respectively, the wake-up time being set to the time required for the power of the device to increase by a preset value in the corresponding sleep mode; Waking up the device according to a wake-up time corresponding to a current sleep mode of the device; updating the remaining battery capacity of the device; and In response to the device entering sleep mode instruction, recalculate the time required for the power level in the current sleep mode to increase by a preset value, Calculating the corresponding wake-up time of the device in multiple sleep modes includes: calculating the wake-up time by the following equation: wake-up time=(battery capacity×step preset value) / power consumption.
2. The method according to claim 1, characterized in that Also includes: The plurality of sleep modes are set for the device.
3. The method according to claim 2, characterized in that The multiple sleep modes include one or more of the following: screen-on sleep, low-power sleep, and ultra-low-power sleep.
4. An electronic device, characterized in that: include: a memory configured to store an instruction set; as well as A processor configured to execute the instruction set to perform the method according to any one of claims 1 to 3.
5. The electronic device according to claim 4, characterized in that: The electronic device includes an electronic ink screen.
Citation Information
Patent Citations
Application program wakeup time adjusting method and device
CN105573460A
Method and device for acquiring electric quantity by intelligent wearable equipment
CN111352796A