Patent ID: 11948525
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 6:
7. An electronic device, comprising:
a memory, storing a computer program;
a processor configured to execute the computer program in the memory to:
obtain a sliding speed of a page element in a display page of an electronic device;
determine a candidate refresh rate corresponding to the page element according to the sliding speed of the page element, the sliding speed being directly proportional to the candidate refresh rate; and
adjust a current refresh rate of the electronic device according to the candidate refresh rate;
wherein an operating system of the electronic device comprises a software development layer, a system development layer and a hardware development layer, the software development layer communicates with the system development layer through a first interface, and the system development layer communicates with the hardware development layer through a second interface; and
the processor further configured to execute the computer program in the memory to:
perform the obtaining the sliding speed of the page element in the display page of the electronic device through the software development layer;
perform the determining the candidate refresh rate corresponding to the page element according to the sliding speed of the page element through the system development layer that obtains the sliding speed of the page element through the first interface; and
perform the adjusting the current refresh rate of the electronic device according to the candidate refresh rate through the hardware development layer that obtains the candidate refresh rate through the second interface.