mirror of
https://gitee.com/openharmony/powermgr_power_manager
synced 2024-11-27 09:13:03 +00:00
205e12234d
Signed-off-by: zhengpengyue <zhengpengyue1@huawei.com> Change-Id: Ia882c8bc1005d208d5d5186cc98c7720345f56c3
2.2 KiB
2.2 KiB
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