# powermgr_powermgr_lite **Repository Path**: openharmony_wagner/powermgr_powermgr_lite ## Basic Information - **Project Name**: powermgr_powermgr_lite - **Description**: Power manager for LiteOS | 轻鸿蒙电源管理服务 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: wagner - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 97 - **Created**: 2021-10-11 - **Last Updated**: 2023-09-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Lite Power Manager - [Introduction](#section11660541593) - [Directory Structure](#section19472752217) - [Usage](#section146636391856) - [Available APIs](#section481251394) - [Usage Guidelines](#section12620311012) - [Repositories Involved](#section63151229062) ## Introduction The lite power manager provides the following capabilities: 1. Managing sleep and wakeup locks. 2. Keeping the device screen always on using a lock **Figure 1** Lite power manager architecture  ## Directory Structure ``` base/powermgr/powermgr_lite ├── frameworks # Frameworks │ ├── include # Header files │ └── src # Source files ├── interfaces # APIs │ ├── innerkits # Internal APIs │ └── kits # External APIs ├── services # Services │ ├── include # Header files │ └── src # Source files └── utils # Utilities ├── include # Header files └── src # Source files ``` ## Usage ### Available APIs The following table lists the JavaScript APIs provided by the lite power manager.
RunningLock *CreateRunningLock(const char *name, RunningLockType type, RunningLockFlag flag) |
|