| CPC G09G 3/3208 (2013.01) [G09G 2320/0626 (2013.01); G09G 2330/022 (2013.01); G09G 2340/0435 (2013.01); G09G 2354/00 (2013.01); G09G 2360/144 (2013.01); G09G 2360/16 (2013.01)] | 20 Claims |

|
1. A screen refresh rate switching method, performed by an electronic device, the method comprising:
identifying a current application scenario of the electronic device;
obtaining a correspondence between a preset application scenario and a threshold weight;
determining, according to the correspondence, a target threshold weight corresponding to the current application scenario of the electronic device;
determining a threshold increment according to the target threshold weight;
summing a preset basic threshold and the threshold increment to obtain a preset proportion; and
setting the screen refresh rate of a screen by:
when the screen is in an idle state, setting, when a plurality of preset conditions are met, the screen refresh rate of the screen to a first refresh rate, wherein the plurality of preset conditions comprises that a screen luminance is less than a preset screen luminance threshold, an ambient light luminance is less than a preset ambient light luminance threshold, and a proportion of low grayscale pixels of an image that is currently displayed on the screen is greater than the preset proportion, and wherein the proportion of low grayscale pixels is a proportion of pixels in the image whose grayscale values are less than a preset grayscale threshold; and
setting, when none of the plurality of preset conditions is met, the screen refresh rate of the screen to a second refresh rate, wherein the second refresh rate is less than the first refresh rate.
|