Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
figures/ | 12-May-2024 | - | ||||
frameworks/ | 12-May-2024 | - | 1,942 | 1,454 | ||
interfaces/ | 12-May-2024 | - | 1,021 | 436 | ||
sa_profile/ | 12-May-2024 | - | 45 | 28 | ||
services/ | 12-May-2024 | - | 6,568 | 4,605 | ||
test/ | 12-May-2024 | - | 2,304 | 1,560 | ||
utils/ | 12-May-2024 | - | 463 | 305 | ||
.clang-format | D | 12-May-2024 | 1.3 KiB | 38 | 36 | |
.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.2 KiB | 57 | 40 | |
README_zh.md | D | 12-May-2024 | 2.1 KiB | 59 | 40 | |
batterymgr.gni | D | 12-May-2024 | 1.4 KiB | 30 | 27 | |
batterymgr.yaml | D | 12-May-2024 | 1.3 KiB | 31 | 16 | |
bundle.json | D | 12-May-2024 | 3.2 KiB | 93 | 92 |
README.md
1# battery\_manager<a name="EN-US_TOPIC_0000001124094823"></a> 2 3- [Introduction](#section11660541593) 4- [Directory Structure](#section19472752217) 5- [Repositories Involved](#section63151229062) 6 7## Introduction<a name="section11660541593"></a> 8 9Battery Manager provides the following functionalities: 10 111. Obtaining battery information 122. Obtaining the battery charging status and the remaining battery power 133. Power off charging 14 15**Figure 1** Battery manager subsystem architecture<a name="fig106301571239"></a> 16 17 18## Directory Structure<a name="section19472752217"></a> 19 20``` 21base/powermgr/battery_manager 22├── figures # Architecture figures 23├── frameworks # FrameWork Layer 24│ ├── dialog # Dialog 25│ ├── js # NAPI code 26│ └── native # Native code 27├── interfaces # APIs 28│ ├── innerkits # Internal APIs 29│ └── kits # External APIs 30├── sa_profile # SA profile 31├── services # Services 32│ ├── native # Native services 33│ └── zidl # Zidl APIs 34├── test # Test code 35│ ├── fuzztest # Fuzz test 36│ └── systemtest # System test 37└── utils # Utilities and common code 38``` 39 40## Repositories Involved<a name="section63151229062"></a> 41 42[Power management subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md) 43 44[powermgr_power_manager](https://gitee.com/openharmony/powermgr_power_manager) 45 46[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 47 48**powermgr_battery_manager** 49 50[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 51 52[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 53 54[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 55 56[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 57
README_zh.md
1# 电池服务组件<a name="ZH-CN_TOPIC_0000001124094823"></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``` 21base/powermgr/battery_manager 22├── figures # 架构图 23├── frameworks # Framework层 24│ ├── dialog # 对话框 25│ ├── js # NAPI 26│ └── native # Native层 27├── interfaces # 接口层 28│ ├── innerkits # 内部接口 29│ └── kits # 外部接口 30├── sa_profile # SA配置文件 31├── services # 服务层 32│ ├── native # Native层 33│ └── zidl # Zidl接口层 34├── test # 测试用例 35│ ├── fuzztest # Fuzz 测试 36│ └── systemtest # 系统测试 37└── utils # 工具和通用层 38``` 39 40 41 42## 相关仓<a name="section63151229062"></a> 43 44[电源管理子系统](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) 45 46[powermgr_power_manager](https://gitee.com/openharmony/powermgr_power_manager) 47 48[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 49 50**powermgr_battery_manager** 51 52[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 53 54[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 55 56[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 57 58[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 59