-
公开(公告)号:US20230023461A1
公开(公告)日:2023-01-26
申请号:US17955695
申请日:2022-09-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Liang SHI , Xiaolong SHEN , Weilan WANG , Junfeng ZHAO , Fangmin LU , Xin YAN
IPC: G06F1/3296 , G06F9/4401
Abstract: A device suspension method and a computing device are provided. In the method, before a device enters a suspended state, memory space occupied by a background process that is unrelated to a foreground process is released. In this way, the background process unrelated to the foreground process is not saved in a memory of the device. In other words, it reduces data stored in the memory when the device is suspended. Therefore, when the device needs to be woken up, only a relatively small amount of data needs to be read from the memory, and a working state can be rapidly restored. This can reduce a delay of reading data from the memory when the device is woken up, thereby accelerating a wakeup speed of the device. In addition, the data is stored in the memory when the device is suspended.