-
公开(公告)号:US20230147061A1
公开(公告)日:2023-05-11
申请号:US17918360
申请日:2021-03-04
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xiaofeng Yuan , Zefei Dou , Pengxiang Yi
CPC classification number: G06F9/485 , G06F9/44594 , G06F9/5038
Abstract: An application keepalive method includes, when a foreground application run by the electronic device is switched from a first application to a second application, a callback probability of the second application relative to the first application is obtained, and when the callback probability of the second application relative to the first application is greater than a preset threshold, a keepalive priority of the first application is increased when the first application is used as a background application. When system resources are insufficient, the electronic device ends a process of at least one background application in ascending order of keepalive priorities to release system resources.