Title:
WAKELOCK MANAGEMENT METHOD AND ELECTRONIC DEVICE
Document Type and Number:
WIPO Patent Application WO/2021/017935
Kind Code:
A1
Abstract:
Provided are a wakelock management method and an electronic device, wherein same relate to the field of electronic devices. The problems of a system failing to sleep for a long time and of the high power consumption of a device due to abnormal lock holding of an application are solved, and the service life of the device is prolonged. The method comprises: a process creating a wakelock, wherein the process comprises a target process, and the target process comprises one or more of the following processes: a process of creating a wakelock by using a file node writing mode, and a process of creating a wakelock by using a mode of calling an interface corresponding to a kernel layer; storing an identifier of the target process in association with the wakelock created by the target process; when it is determined that the target process is exited abnormally, acquiring a wakelock corresponding to the identifier of the target process; and when it is determined that the wakelock corresponding to the identifier of the target process is in an activated state, releasing the wakelock.
Inventors:
QIAN HUAJUN (CN)
ZHANG GUIWEN (CN)
ZHAO FANFAN (CN)
ZHANG GUIWEN (CN)
ZHAO FANFAN (CN)
Application Number:
PCT/CN2020/103128
Publication Date:
February 04, 2021
Filing Date:
July 20, 2020
Export Citation:
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
H04W52/02; H04M1/72454
Foreign References:
CN110572866A | 2019-12-13 | |||
CN106125891A | 2016-11-16 | |||
CN105867581A | 2016-08-17 | |||
CN107608724A | 2018-01-19 | |||
US20130268257A1 | 2013-10-10 | |||
US10244479B1 | 2019-03-26 |
Other References:
WANG, YONGCHAO: "Research on the Energy Efficiency and Power Optimization Strategy for Mobile Devices", ELECTRONIC TECHNOLOGY & INFORMATION SCIENCE, CHINA MASTER’S THESES FULL-TEXT DATABASE, no. 04, 15 April 2017 (2017-04-15), XP55777564, DOI: 20200826132609X
Attorney, Agent or Firm:
BEIJING ZBSD PATENT & TRADEMARK AGENT LTD. (CN)
Download PDF:
Previous Patent: METHOD FOR CONTROLLING DEVICE AND TERMINAL
Next Patent: FOLDING ASSEMBLY AND ELECTRONIC DEVICE
Next Patent: FOLDING ASSEMBLY AND ELECTRONIC DEVICE