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

Claim 0:
1. A method for controlling a screen of an electronic device, comprising:
receiving a switching instruction sent by an application layer, wherein the switching instruction is configured to control a display chip to switch between an always on display (AOD) state and a non-AOD state;
in response to the switching instruction, determining whether a first display interface received from the application layer at a current moment matches the switching instruction; and
in response to determining that the first display interface matches the switching instruction, switching between the AOD state and the non-AOD state based on the switching instruction to display the first display interface;
wherein in response to the switching instruction, determining whether the first display interface received from the application layer at a current moment matches the switching instruction comprises:
in response to the switching instruction that is configured to control the display chip to switch to the AOD state, determining whether the first display interface received from the application layer at the current moment is an AOD interface;
in response to determining that the first display interface is the AOD interface, determining that the first display interface matches the switching instruction; and
in response to determining that the first display interface is a non-AOD interface, determining that the first display interface does not match the switching instruction.