CPC G06F 1/28 (2013.01) [G06F 9/5094 (2013.01)] | 8 Claims |
1. An electronic device, comprising:
a processing unit, comprising a core and configured to execute an application program, when the application program is executed, the processing unit being configured to function as:
a determining unit, configured to determine a maximum frame count per second of a scene corresponding to the application program;
a functional device, operating with the application program;
a power consumption and temperature monitoring device, configured to monitor power consumption of the processing unit and a temperature of the functional device, and tune a frequency setting value of the core according to a power management method; and
a memory unit configured to store frame count data of a plurality of preset application programs,
wherein the determining unit compares the application program with the plurality of preset application programs to determine the maximum frame count per second, and
wherein the power management method comprises the following steps:
down-tuning the frequency setting value of the core;
detecting an actual frame count per second of the scene after the frequency setting value is tuned down;
determining a change in the power consumption of the processing unit and the temperature of the functional device after the frequency setting value is tuned down and when the actual frame count per second is equal to the maximum frame count per second; and
down-tuning the frequency setting value when the power consumption does not increase and the temperature is lower than a preset temperature value, and restoring the frequency setting value when the power consumption increases or the temperature is higher than or equal to the preset temperature value.
|