A computer readable storage medium, storing a computer program, wherein, the computer program is configured to implement, when being executed by a processor, operations of:
- enabling an electronic device to switch from a first operating system to a second operating system in response to a displaying apparatus of the electronic device being in an off-screen state for a first time length;
- and
- enabling the electronic device to maintain the second operating system in response to the displaying apparatus being switched from the off-screen state to the screen-on state;
- wherein, after the electronic device switching from running the first operating system to running the second operating system, the second operating system has authority for controlling external devices of the electronic device, the external devices comprise the displaying apparatus.