Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
figures/ | 12-May-2024 | - | ||||
frameworks/ | 12-May-2024 | - | 2,289 | 1,808 | ||
interfaces/ | 12-May-2024 | - | 1,050 | 509 | ||
sa_profile/ | 12-May-2024 | - | 46 | 29 | ||
services/ | 12-May-2024 | - | 15,337 | 11,499 | ||
test/ | 12-May-2024 | - | 4,726 | 3,343 | ||
utils/ | 12-May-2024 | - | 924 | 634 | ||
.gitattributes | D | 12-May-2024 | 631 | 16 | 15 | |
LICENSE | D | 12-May-2024 | 9.9 KiB | 177 | 150 | |
OAT.xml | D | 12-May-2024 | 982 | 26 | 10 | |
README.md | D | 12-May-2024 | 2.1 KiB | 56 | 39 | |
README_zh.md | D | 12-May-2024 | 2.1 KiB | 58 | 39 | |
bundle.json | D | 12-May-2024 | 3 KiB | 82 | 82 | |
powermgr.gni | D | 12-May-2024 | 1.1 KiB | 33 | 22 |
README.md
1# power\_manager<a name="EN-US_TOPIC_0000001115047353"></a> 2 3- [Introduction](#section11660541593) 4- [Directory Structure](#section19472752217) 5- [Repositories Involved](#section63151229062) 6 7## Introduction<a name="section11660541593"></a> 8 9Power Manager provides the following functionalities: 10 111. Rebooting the device 122. Managing running locks 133. Obtaining the power status 14 15**Figure 1** Power manager service architecture<a name="fig106301571239"></a> 16 17 18## Directory Structure<a name="section19472752217"></a> 19 20``` 21/base/powermgr/power_manager 22├── figures # Architecture figures 23├── frameworks # FrameWork Layer 24│ ├── dialog # Dialog resource 25│ ├── include # Include file 26│ ├── napi # NAPI 27│ └── native # Native code 28├── interfaces # APIs 29│ ├── innerkits # Internal APIs 30│ └── kits # External APIs 31├── sa_profile # SA profile 32├── services # Services 33│ ├── native # Native services 34│ └── zidl # zidl APIs 35├── test # Test code 36└── utils # Utilities and common code 37``` 38 39## Repositories Involved<a name="section63151229062"></a> 40 41[Power management subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md) 42 43**powermgr_power_manager** 44 45[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 46 47[powermgr_battery_manager](https://gitee.com/openharmony/powermgr_battery_manager) 48 49[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 50 51[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 52 53[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 54 55[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 56
README_zh.md
1# 电源管理服务组件<a name="ZH-CN_TOPIC_0000001115047353"></a> 2 3- [简介](#section11660541593) 4- [目录](#section19472752217) 5- [相关仓](#section63151229062) 6 7## 简介<a name="section11660541593"></a> 8 9电源管理服务组件提供如下功能: 10 111. 重启系统。 122. 管理休眠运行锁。 133. 系统电源状态查询。 14 15**图 1** 电源管理服务组件架构图<a name="fig106301571239"></a> 16 17 18## 目录<a name="section19472752217"></a> 19 20``` 21/base/powermgr/power_manager 22├── figures # 架构图 23├── frameworks # FrameWork层 24│ ├── dialog # Dialog 资源文件 25│ ├── include # 头文件 26│ ├── napi # NAPI 27│ └── native # Native层 28├── interfaces # 接口层 29│ ├── innerkits # 内部接口 30│ └── kits # 外置接口 31├── sa_profile # SA 配置文件 32├── services # 服务层 33│ ├── native # Native 层 34│ └── zidl # zidl 接口层 35├── test # 测试用例 36└── utils # 工具和通用层 37``` 38 39 40 41## 相关仓<a name="section63151229062"></a> 42 43[电源管理子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E7%94%B5%E6%BA%90%E7%AE%A1%E7%90%86%E5%AD%90%E7%B3%BB%E7%BB%9F.md) 44 45**powermgr_power_manager** 46 47[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 48 49[powermgr_battery_manager](https://gitee.com/openharmony/powermgr_battery_manager) 50 51[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 52 53[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 54 55[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 56 57[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 58