# 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 ├── figures # Architecture figures ├── 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) |
|