Equipment power consumption control method and system and storage medium
By obtaining the battery temperature and residual power of the electronic device, determining the battery discharge capacity and controlling the power consumption, the problem of unstable equipment operation at low temperature and low power is solved, ensuring that the equipment maintains the best state when the battery discharge capacity is high, and Extend use time when the capability is low.
Patent Information
- Application Number
- CN202310721726.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
In low-temperature and low-voltage environments, the battery discharge capacity of electronic devices is limited, resulting in unstable operation of the device and may cause shutdown or failure to start.
By obtaining the battery temperature and residual power of the device, determining the battery discharge capacity, and adjusting the power consumption-related parameters according to the discharge capacity, dividing the working gear for power consumption control, such as adjusting the CPU frequency point, GPU frequency, display brightness and radio frequency Communication parameters are loosely controlled when the battery discharge capacity is high and strictly controlled when the battery is low.
When the battery discharge capacity is high, ensure that the equipment operates in the best state and improves the user experience; when the battery discharge capacity is low, the equipment's normal use time will be extended to avoid shutdown or restarting that does not meet expectations, and ensure basic user experience.
Smart Images

Figure CN119153820A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of temperature control of electronic equipment, and specifically provides a method, system and storage medium for controlling power consumption of equipment. Background Art
[0002] At present, most electronic products need to rely on batteries to provide the energy required for operation. With the development of the electronics industry, the demand for batteries of many electronic products is increasing and the requirements are getting higher and higher.
[0003] Taking lithium batteries as an example, due to the characteristics of lithium battery materials, the discharge capacity of lithium batteries is closely related to battery temperature and remaining battery capacity (usually expressed by the battery state of charge, State of charge, hereinafter referred to as SOC). Generally speaking, when the ambient temperature is too low, the battery discharge capacity of the device will be insufficient; when the remaining battery capacity is low, the battery discharge capacity will also be affected. Therefore, when the device is running in a low temperature and low power environment, the battery discharge capacity will be greatly limited, and even the device will shut down or fail to start, which will greatly affect the user's normal use and experience.
[0004] Accordingly, the art requires a device power consumption control method, system and storage medium to solve the above problems. Summary of the invention
[0005] In order to overcome the above defects, the present invention is proposed to provide a solution or at least partially solve the problem that the battery discharge capacity of the device is limited under low temperature and low power, resulting in unstable operation of the device.
[0006] In a first aspect, the present invention provides a method for controlling power consumption of a device, comprising the following steps:
[0007] Get the device's battery temperature and remaining battery power;
[0008] determining a battery discharge capacity of the device based on the battery temperature and the remaining battery power;
[0009] The power consumption of the device is controlled based on the battery discharge capability.
[0010] In a specific embodiment, obtaining the battery temperature and the remaining battery power of the device includes:
[0011] Acquiring the battery temperature by a temperature sensor; and
[0012] The remaining power of the battery is obtained through a battery management unit.
[0013] In a specific embodiment, controlling the power consumption of the device based on the battery discharge capability includes:
[0014] The power consumption related parameters of the device are directly adjusted based on the determined battery discharge capacity, wherein the power consumption related parameters are adjusted to different degrees for different battery discharge capacities.
[0015] In a specific embodiment, the method further comprises:
[0016] Obtaining the battery discharge capacity of the device corresponding to different battery temperatures and different battery remaining capacities;
[0017] The battery discharge capacity is divided according to a preset standard to obtain a preset working gear of the device.
[0018] In a specific embodiment, dividing the battery discharge capacity according to a preset standard to obtain a preset working gear of the device includes:
[0019] The preset working gear of the device is divided into at least two gears based on the battery discharge capacity.
[0020] In a specific embodiment, controlling the power consumption of the device based on the battery discharge capability includes:
[0021] Obtaining a corresponding working gear based on the determined battery discharge capacity;
[0022] The power consumption related parameters of the device are adjusted based on the corresponding working gear, wherein the adjustment degree of the power consumption related parameters is different for different working gears.
[0023] In a specific embodiment,
[0024] The device is a mobile terminal, and the power consumption related parameters include one or more of a CPU frequency value, a GPU frequency value, a display brightness value, an audio volume value, and a radio frequency communication parameter value of the mobile terminal.
[0025] In a specific embodiment, the power consumption related parameters are adjusted to different degrees for different working gears, including:
[0026] Compared with the working gear corresponding to the larger power generation capacity, the power consumption related parameter value is adjusted to be smaller for the working gear corresponding to the smaller battery discharge capacity.
[0027] In a specific embodiment, the device is a mobile terminal, and the method further includes:
[0028] When the working gear corresponding to the smaller battery discharge capacity is the second lowest gear among the preset working gears, the high bandwidth memory of the mobile terminal is turned off and / or the camera flash of the device is disabled.
[0029] In a specific embodiment, the device is a mobile terminal, and the method further includes:
[0030] When the working gear corresponding to the smaller battery discharge capacity is the lowest gear among the preset working gears, the high power consumption application reminder is enabled.
[0031] In a second aspect, the present invention provides a device power consumption control system, comprising a processor and a memory, wherein a program is stored in the memory, and wherein when the program is executed by the processor, the method described in any one of the first aspects is implemented.
[0032] In a third aspect, the present invention provides a computer-readable storage medium storing a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute any one of the methods described in the first aspect.
[0033] Solution 1. A method for controlling power consumption of a device, comprising:
[0034] Get the device's battery temperature and remaining battery power;
[0035] determining a battery discharge capacity of the device based on the battery temperature and the remaining battery power;
[0036] The power consumption of the device is controlled based on the battery discharge capability.
[0037] Solution 2. The method according to Solution 1, characterized in that the step of obtaining the battery temperature and the remaining battery power of the device comprises:
[0038] Acquiring the battery temperature by a temperature sensor; and
[0039] The remaining power of the battery is obtained through a battery management unit.
[0040] Solution 3. The method according to Solution 1, characterized in that the power consumption of the device is controlled based on the battery discharge capacity, comprising:
[0041] The power consumption related parameters of the device are directly adjusted based on the determined battery discharge capacity, wherein the power consumption related parameters are adjusted to different degrees for different battery discharge capacities.
[0042] Solution 4. The method according to Solution 1, characterized in that the method further comprises:
[0043] Obtaining the battery discharge capacity of the device corresponding to different battery temperatures and different battery remaining capacities;
[0044] The battery discharge capacity is divided according to a preset standard to obtain a preset working gear of the device.
[0045] Solution 5. The method according to Solution 4 is characterized in that the step of dividing the battery discharge capacity according to a preset standard to obtain a preset working gear of the device comprises:
[0046] The preset working gear of the device is divided into at least two gears based on the battery discharge capacity.
[0047] Solution 6. The method according to Solution 5, characterized in that the power consumption of the device is controlled based on the battery discharge capacity, comprising:
[0048] Obtaining a corresponding working gear based on the determined battery discharge capacity;
[0049] The power consumption related parameters of the device are adjusted based on the corresponding working gear, wherein the adjustment degree of the power consumption related parameters is different for different working gears.
[0050] Scheme 7. The method according to Scheme 3 or 6, characterized in that:
[0051] The device is a mobile terminal, and the power consumption related parameters include one or more of a CPU frequency value, a GPU frequency value, a display brightness value, an audio volume value, and a radio frequency communication parameter value of the mobile terminal.
[0052] Solution 8. The method according to solution 6 or 7 is characterized in that the power consumption related parameters are adjusted to different degrees for different working gears, including:
[0053] Compared with the working gear corresponding to the larger power generation capacity, the power consumption related parameter value is adjusted to be smaller for the working gear corresponding to the smaller battery discharge capacity.
[0054] Solution 9. The method according to Solution 8, characterized in that:
[0055] The device is a mobile terminal;
[0056] The method further comprises:
[0057] When the working gear corresponding to the smaller battery discharge capacity is the second lowest gear among the preset working gears, the high bandwidth memory of the mobile terminal is turned off and / or the camera flash of the device is disabled.
[0058] Scheme 10. The method according to Scheme 8, characterized in that:
[0059] The device is a mobile terminal;
[0060] The method further comprises:
[0061] When the working gear corresponding to the smaller battery discharge capacity is the lowest gear among the preset working gears, the high power consumption application reminder is enabled.
[0062] Solution 11. A device power consumption control system, comprising a processor and a memory, wherein a program is stored in the memory, and wherein when the program is executed by the processor, the method described in any one of Solutions 1-10 is implemented.
[0063] Solution 12. A computer-readable storage medium storing a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the method described in any one of Solutions 1-10.
[0064] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
[0065] In the technical solution of the present invention, different power consumption control methods are adopted according to the battery temperature and the remaining battery power of the device. When the device is in a working gear with a higher battery discharge capacity, the power consumption of the device is not limited or the power consumption control is relatively loose, so that the device can operate in the best state and improve the user experience. When the device is in a working gear with a lower battery discharge capacity, it is necessary to strictly limit the power consumption of the device to extend the normal use and operation time of the device as much as possible, avoid unexpected shutdown, restart and other conditions of the device, and ensure basic user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the drawings represent similar components, wherein:
[0067] Figure 1 is a schematic flow chart of main steps of a method for controlling power consumption of a device according to an embodiment of the present invention;
[0068] Figure 2 A schematic structural diagram of a device power consumption control system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0069] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0070] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0071] In order to solve the above technical problems, especially to solve the problem that the battery discharge capacity of the device is limited under low temperature and low power, resulting in unstable operation of the device, a device power consumption control method, system and storage medium of the present invention are proposed.
[0072] In the embodiments of the present invention, see the attached Figure 1 , Figure 1 1 is a schematic flow chart of the main steps of a method for controlling power consumption of a device according to an embodiment of the present invention, as shown in the figure, including the following steps S1 to S3:
[0073] S1. Obtain the battery temperature and remaining battery power of the device.
[0074] In a preferred embodiment, obtaining the battery temperature and remaining battery power of the device includes:
[0075] Acquiring the battery temperature by a temperature sensor; and
[0076] The remaining power of the battery is obtained through a battery management unit.
[0077] For example, the battery temperature of a device (such as a mobile phone) is acquired in real time through a temperature sensor, and the battery management unit connected to the device's battery panel measures the charge and discharge voltage and current of the battery pack online in real time to predict the remaining charge and discharge capacity of the battery pack.
[0078] S2. Determine the battery discharge capacity of the device based on the battery temperature and the remaining battery power.
[0079] For example, the battery discharge capacity (unit: mA) of a lithium battery at different temperatures (unit: °C) and different battery capacities is calculated and shown in the following table.
[0080]
[0081] S3. Control the power consumption of the device based on the battery discharge capability.
[0082] In one example, directly controlling the power consumption of the device based on the battery discharge capability includes:
[0083] The power consumption related parameters of the device are directly adjusted based on the determined battery discharge capacity, wherein the power consumption related parameters are adjusted to different degrees for different battery discharge capacities.
[0084] For example, the temperature sensor and the battery management unit respectively obtain that the temperature of the mobile phone is 0°C and the remaining power of the lithium battery is 10%, and the battery discharge capacity is calculated to be 300mA, that is, the battery discharge capacity is weak, so the power consumption of the mobile phone is more strictly limited.
[0085] For another example, the temperature sensor and the battery management unit respectively obtain that the temperature of the mobile phone is 25°C and the remaining power of the lithium battery is 10%, and the battery discharge capacity is calculated to be 4300mA, that is, the battery discharge capacity is strong, so the power consumption of the mobile phone is more loosely limited.
[0086] It should be noted that the power consumption control mode is selected by calculating the battery discharge capacity each time to control the power consumption of the device, and the calculation process is relatively complex and time-consuming. Therefore, in another embodiment of the present invention, different working gears can be divided in advance according to the battery discharge capacity and corresponding power consumption control schemes can be established. Later, the corresponding working gear can be directly obtained through the temperature value and the remaining power value, and then the corresponding power consumption control scheme can be adopted, saving the process of calculating the battery discharge capacity.
[0087] Specifically, the method further includes:
[0088] Obtaining the battery discharge capacity of the device corresponding to different battery temperatures and different battery remaining capacities;
[0089] The battery discharge capacity is divided according to a preset standard to obtain a preset working gear of the device.
[0090] Furthermore, dividing the battery discharge capacity according to a preset standard to obtain a preset working gear of the device includes:
[0091] The preset working gear of the device is divided into at least two gears based on the battery discharge capacity.
[0092] For example, the current device uses a lithium battery to run, but the accuracy requirement for power consumption control is not high, so only two working gears are divided. For example, when the battery discharge capacity is less than or equal to 600mA, the device's working gear is defined as the first working gear. When the battery discharge capacity is greater than 600mA, the device's working gear is defined as the second working gear.
[0093] For another example, current devices also use lithium batteries to operate, but require a higher degree of precision in power consumption control, such as mobile phones and other devices. Therefore, four working gears are divided to more accurately adjust the power consumption control scheme of the device according to different battery discharge capabilities. For example, when the battery discharge capacity is within 300mA, the working gear of the device is defined as the first working gear; when the battery discharge capacity is 300-600mA, the working gear of the device is defined as the second working gear; when the battery discharge capacity is 600-1000mA, the working gear of the device is defined as the third working gear; when the battery discharge capacity is above 1000mA, the working gear of the device is defined as the fourth working gear.
[0094] The controlling the power consumption of the device based on the battery discharge capability includes:
[0095] Obtaining a corresponding working gear based on the determined battery discharge capacity;
[0096] The power consumption related parameters of the device are adjusted based on the corresponding working gear, wherein the adjustment degree of the power consumption related parameters is different for different working gears.
[0097] In an example, taking a mobile phone using a lithium battery as an example, different working gears are divided according to the battery discharge capacity, and the relationship between different temperatures (unit: °C), different battery capacities and working gears of the corresponding power consumption control scheme is established as shown in the following table:
[0098]
[0099]
[0100] Furthermore, after obtaining the temperature and remaining battery power of the mobile phone through the temperature sensor and the battery management unit respectively, the corresponding working gear can be directly determined, and the mobile phone can be adjusted according to the power consumption related parameters corresponding to the gear, saving the process of calculating the battery discharge capacity.
[0101] For example, the temperature of the mobile phone is 5°C and the remaining power of the lithium battery is 25% obtained respectively through the temperature sensor and the battery management unit. Referring to the working gear table of the mobile phone using a lithium battery at different temperatures (unit: °C) and different battery capacities, it can be seen that when the battery temperature is -10°C to 0°C and the remaining battery power is 20% to 30%, the corresponding working gear is the second working gear.
[0102] For another example, the temperature sensor and the battery management unit respectively obtain that the temperature of the mobile phone is 20°C and the remaining power of the lithium battery is 5%. Referring to the working gear table of the mobile phone using a lithium battery at different temperatures (unit: °C) and different battery capacities, it can be seen that when the battery temperature is 15°C~25°C and the remaining battery power is 0~10%, the corresponding working gear is the fourth working gear.
[0103] It should be noted that due to the different types of equipment, the models of the same type of equipment may also be different, and the standards for dividing different working gears may also be different. For the same discharge capacity (such as 600mA), for a mobile phone, the corresponding working gear is the second working gear, but for a computer or PAD, the corresponding working gear may be the first working gear, and corresponding adjustments need to be made according to actual conditions.
[0104] In one example, the device is a mobile terminal, and the power consumption related parameters include one or more of a CPU frequency value, a GPU frequency value, a display brightness value, an audio volume value, and a radio frequency communication parameter value of the mobile terminal.
[0105] Furthermore, for different working gears, the power consumption related parameters are adjusted to different degrees, including:
[0106] Compared with the working gear corresponding to the larger power generation capacity, the power consumption related parameter value is adjusted to be smaller for the working gear corresponding to the smaller battery discharge capacity.
[0107] For example, when it is determined through the battery temperature and the remaining battery power that the device is in the second working gear (such as the corresponding battery discharge capacity is 300-600mA), the CPU maximum frequency is adjusted to A2, the GPU frequency is adjusted to B2, the display brightness is adjusted to C2, and the audio volume is adjusted to D2.
[0108] For example, when the device is determined to be in the first working gear (e.g., the corresponding battery discharge capacity is within 300mA) through the battery temperature and the remaining battery power, the CPU maximum frequency is adjusted to A1, the GPU frequency is adjusted to B1, the display brightness is adjusted to C1, and the audio volume is adjusted to D1. Among them, A1≤A2, B1≤B2, C1≤C2, D1≤D2.
[0109] Those skilled in the art can understand that, since the battery discharge capacity of the first working gear is smaller than that of the second working gear, correspondingly, the power consumption control scheme corresponding to the first working gear should be stricter than the power consumption control scheme corresponding to the second working gear, that is, the power consumption control scheme of the first working gear and the power consumption control scheme of the second working gear should satisfy the following conditions: the CPU frequency value corresponding to the first working gear ≤ the CPU frequency value corresponding to the second working gear; the GPU frequency value corresponding to the first working gear ≤ the GPU frequency value corresponding to the second working gear; the display brightness corresponding to the first working gear ≤ the display brightness corresponding to the second working gear; the audio volume corresponding to the first working gear ≤ the audio volume corresponding to the second working gear; the RF communication parameter value corresponding to the first working gear ≤ the RF communication parameter value corresponding to the second working gear.
[0110] Similarly, if the current device has high requirements for the accuracy of power consumption control and is divided into multiple working gears accordingly, the power consumption control scheme corresponding to the working gear with weaker battery discharge capability should be stricter than the power consumption control scheme corresponding to the working gear with stronger battery discharge capability.
[0111] It should be further explained that due to the differences in devices, the corresponding power consumption control methods will also be different. In some special scenarios, when the device is in a working position with a stronger battery discharge capacity, in order to make the device work in the best state, no restrictive adjustments are made to its CPU maximum frequency, GPU frequency, display brightness, audio volume and RF communication parameter values, so that they can operate at the maximum power consumption.
[0112] Furthermore, if the central processor of the device is multi-core, such as an octa-core processor mobile phone, specific adjustments can be made to the frequency values of the super-core CPU, large-core CPU, and small-core CPU respectively. Similarly, the frequency value relationship still needs to satisfy the power consumption control scheme corresponding to the working gear with weaker battery discharge capability should be more stringent than the power consumption control scheme corresponding to the working gear with stronger battery discharge capability. For example, the frequency value of the super-large core CPU corresponding to the first working gear ≤ the frequency value of the super-large core CPU corresponding to the second working gear ≤ the frequency value of the super-large core CPU corresponding to the third working gear ≤ the frequency value of the super-large core CPU corresponding to the fourth working gear. Similarly, the frequency values of the large-core CPU and the small-core CPU are deduced by analogy.
[0113] In addition, in one example, the radio frequency communication parameter radio frequency communication parameter value includes one or more of a GSM transmission power value, a TD-SCDMA transmission power value, a WCDMA transmission power value, a LTE transmission power value, and a 5GNR transmission power value.
[0114] For example, when it is determined through the battery temperature and the remaining battery power that the device is in the second working position (such as the corresponding battery discharge capacity is 300-600mA), the GSM transmission power value is adjusted to E2, the TD-SCDMA transmission power value is adjusted to F2, the WCDMA transmission power value is adjusted to G2, the LTE transmission power value is adjusted to H2, and the 5GNR transmission power value is adjusted to I2.
[0115] For example, when it is determined through the battery temperature and the remaining battery power that the device is in the first working gear (such as the corresponding battery discharge capacity is within 300mA), the GSM transmission power value is adjusted to E1, the TD-SCDMA transmission power value is adjusted to F1, the WCDMA transmission power value is adjusted to G1, the LTE transmission power value is adjusted to H1, and the 5GNR transmission power value is adjusted to I1. Among them, E1≤E2, F1≤F2, G1≤G2, H1≤H2, I1≤I2.
[0116] Furthermore, when the device is a mobile terminal, the method further includes:
[0117] When the working gear corresponding to the smaller battery discharge capacity is the second lowest gear among the preset working gears, the high bandwidth memory of the mobile terminal is turned off and / or the camera flash of the device is disabled.
[0118] For example, when the battery discharge capacity of a mobile phone is weak, continuing to use the high-bandwidth memory and camera flash functions of the mobile phone will accelerate power consumption, causing the mobile phone to automatically shut down due to low power soon. Therefore, when the device is in a working position corresponding to a low battery discharge capacity, the high-bandwidth memory and camera flash functions of the device need to be turned off to avoid unexpected shutdown, restart, etc. of the device. For example, by using the battery temperature and the remaining battery power value to determine whether the mobile phone is in the first or second working position, the mobile phone adaptively turns off the high-bandwidth memory and disables the camera flash function, thereby extending the normal use and operation time of the mobile phone as much as possible, avoiding unexpected shutdown and restart conditions, and ensuring basic user experience.
[0119] Furthermore, when the device is a mobile terminal, the method further includes:
[0120] When the working gear corresponding to the smaller battery discharge capacity is the lowest gear among the preset working gears, the high power consumption application reminder is enabled.
[0121] In one example, when the battery discharge capacity of the device is weak, even if the power consumption control method of the mobile phone is adaptively adjusted, the user's continued use of high-power consumption applications will still greatly accelerate the power consumption of the mobile phone, causing the device to shut down and restart unexpectedly, so it is necessary to start the high-power consumption application reminder. For example, through the battery temperature and the remaining battery power value, it is determined that the device is in the first working gear, and the user still turns on the high-power consumption application. At this time, the mobile phone starts the high-power consumption application reminder function and pops up a floating window to remind the current application that it will accelerate power consumption. The user can choose to close the high-power consumption application according to the floating window prompt to extend the normal use and operation time of the mobile phone as much as possible.
[0122] Through the above steps S1-S3, different power consumption control methods are adopted to adjust the operation of the device according to the battery temperature and the remaining battery power of the device. When the device is in a working gear with a higher battery discharge capacity, the power consumption of the device is not limited or the power consumption control is relatively loose, so that the device can operate in the best state and improve the user experience; when the device is in a working gear with a lower battery discharge capacity, the power consumption of the device needs to be strictly limited to extend the normal use and operation time of the device as much as possible, avoid unexpected shutdown, restart and other conditions of the device, and ensure basic user experience.
[0123] The above method steps are described by taking a mobile phone as an example. However, under the guidance of the present invention, those skilled in the art can apply the control method of the present invention to other electronic devices, such as mobile terminals such as PADs.
[0124] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0125] Furthermore, the present invention also provides a device power consumption control system, see the attached Figure 2 , Figure 2 20 is a schematic diagram of the structure of the device power consumption control system 20 provided in the embodiment of the present application, including a processor 200 and a memory 202, the memory 202 can be configured to store a program for executing the device power consumption control method of the above method embodiment, the processor 200 can be configured to execute the program in the memory 202, the program includes but is not limited to executing Figure 1 For the convenience of explanation, only the part related to the embodiment of the present invention is shown. For the specific technical details not disclosed, please refer to the method part of the embodiment of the present invention.
[0126] In a preferred embodiment, the device power consumption control system includes:
[0127] The acquisition module is used to obtain the battery temperature and remaining battery power of the device;
[0128] A processing module, used for determining the working gear of the device based on the battery temperature and the remaining battery power;
[0129] A control module is used to control the power consumption of the device based on the working gear.
[0130] For example, the acquisition module includes at least one temperature sensor and at least one battery management unit, which are used to obtain the battery temperature and the remaining battery power respectively. The processing module determines the appropriate working gear according to the battery temperature and the remaining battery power (such as determining the working gear of the device by referring to the table obtained by the previous experimental calculation), and then the control module adaptively adjusts the device according to the power consumption control scheme corresponding to the working gear. When the device is in a working gear with a higher battery discharge capacity, the power consumption of the device is not restricted or the power consumption control is relatively loose, so that the device can operate in the best state and improve the user experience; when the device is in a working gear with a lower battery discharge capacity, the power consumption of the device needs to be strictly limited to extend the normal use and operation time of the device as much as possible, avoid unexpected shutdown, restart and other conditions of the device, and ensure basic user experience.
[0131] Furthermore, the present invention also provides a computer-readable storage medium storing a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the above Figure 1 The method shown.
[0132] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.
[0133] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for controlling power consumption of a device, characterized in that: include: Get the device's battery temperature and remaining battery power; determining a battery discharge capacity of the device based on the battery temperature and the remaining battery power; The power consumption of the device is controlled based on the battery discharge capability.
2. The method according to claim 1, characterized in that: The obtaining of the battery temperature and the remaining battery power of the device includes: Acquiring the battery temperature by a temperature sensor; and The remaining power of the battery is obtained through a battery management unit.
3. The method according to claim 1, characterized in that The controlling the power consumption of the device based on the battery discharge capability includes: The power consumption related parameters of the device are directly adjusted based on the determined battery discharge capacity, wherein the power consumption related parameters are adjusted to different degrees for different battery discharge capacities.
4. The method according to claim 1, characterized in that: The method further comprises: Obtaining the battery discharge capacity of the device corresponding to different battery temperatures and different battery remaining capacities; The battery discharge capacity is divided according to a preset standard to obtain a preset working gear of the device.
5. The method according to claim 4, characterized in that The step of dividing the battery discharge capacity according to a preset standard to obtain a preset working gear of the device includes: The preset working gear of the device is divided into at least two gears based on the battery discharge capacity.
6. The method according to claim 5, characterized in that The controlling the power consumption of the device based on the battery discharge capability includes: Obtaining a corresponding working gear based on the determined battery discharge capacity; The power consumption related parameters of the device are adjusted based on the corresponding working gear, wherein the adjustment degree of the power consumption related parameters is different for different working gears.
7. The method according to claim 3 or 6, characterized in that: The device is a mobile terminal, and the power consumption related parameters include one or more of a CPU frequency value, a GPU frequency value, a display brightness value, an audio volume value, and a radio frequency communication parameter value of the mobile terminal.
8. The method according to claim 6 or 7, characterized in that: The power consumption related parameters are adjusted to different degrees for different working gears, including: Compared with the working gear corresponding to the larger power generation capacity, the power consumption related parameter value is adjusted to be smaller for the working gear corresponding to the smaller battery discharge capacity.
9. The method according to claim 8, characterized in that The device is a mobile terminal; The method further comprises: When the working gear corresponding to the smaller battery discharge capacity is the second lowest gear among the preset working gears, the high bandwidth memory of the mobile terminal is turned off and / or the camera flash of the device is disabled.
10. The method according to claim 8, characterized in that The device is a mobile terminal; The method further comprises: When the working gear corresponding to the smaller battery discharge capacity is the lowest gear among the preset working gears, the high power consumption application reminder is enabled.
Citation Information
Cited By
Portable device with low-power-consumption management function
CN121680596A
