mirror of
https://gitee.com/openharmony/powermgr_power_manager
synced 2024-11-27 01:01:11 +00:00
75f62e5f65
Merge pull request !1407 from kongwei/master |
||
---|---|---|
.gitee | ||
etc | ||
figures | ||
frameworks | ||
interfaces/inner_api | ||
power_dialog | ||
sa_profile | ||
services | ||
test | ||
utils | ||
.clang-format | ||
.gitattributes | ||
bundle.json | ||
LICENSE | ||
OAT.xml | ||
powermanager_POWER_UE.yaml | ||
powermanager.yaml | ||
powermgr.gni | ||
publicity.xml | ||
README_zh.md | ||
README.md |
Power Manager
Introduction
The Power Manager module provides the following functions:
- Rebooting the device
- Managing running locks
- Obtaining the power status
Figure 1 Architecture of the Power Manager module
Directory Structure
/base/powermgr/power_manager
├── figures # Architecture
├── frameworks # Framework layer
│ ├── napi # NAPI layer
│ └── native # Native layer
├── interfaces # API layer
│ └── inner_api # Internal APIs
├── power_dialog # Power dialog
├── sa_profile # SA profile
└── services # Service layer
│ ├── native # Native layer
│ └── zidl # Zidl API layer
├── test # Test cases
│ ├── fuzztest # Fuzz test
│ ├── unittest # Unit test
│ ├── systemtest # System test
│ └── utils # Test tools
└── utils # Utilities
Repositories Involved
powermgr_power_manager