Go to file
hxf233333 3317316703
fix: update services/native/src/power_mgr_service.cpp.
Signed-off-by: hxf233333 <huxiaofei11@huawei.com>
2024-11-15 07:38:03 +00:00
.gitee build: add code owner 2023-07-21 15:15:33 +08:00
etc fix: add bootevent 2024-09-07 15:16:10 +08:00
figures Update readme 2022-01-11 18:58:32 -08:00
frameworks fix: add interface IsCollaborationScreenOn 2024-08-29 18:27:07 +08:00
interfaces/inner_api fix: add interface IsCollaborationScreenOn 2024-08-29 18:27:07 +08:00
power_dialog !1242 fix: prebuild_hap部件删除整改 2024-08-28 02:43:33 +00:00
sa_profile fix: add powermgr 2024-04-19 13:06:43 +08:00
services fix: update services/native/src/power_mgr_service.cpp. 2024-11-15 07:38:03 +00:00
test !1223 fix: use deviceId for MMI-event in multiscreen-collaboration 2024-09-03 14:24:26 +00:00
utils !1236 [新需求]: 自动灭屏时间设置和合盖后动作设置 支持 多用户切换 和 电源连接切换 的功能 2024-09-02 06:15:56 +00:00
.clang-format style: add .clang-format 2022-08-30 14:19:25 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 02:19:11 +08:00
bundle.json feat: add user switch and ac/dc switch feature in screen off time and suspend sources 2024-08-30 09:47:17 +08:00
LICENSE update OpenHarmony 2.0 Canary 2021-06-02 02:19:11 +08:00
OAT.xml style: Add OAT configuration to signature file 2022-11-14 14:47:25 +08:00
powermanager.yaml fix: the difference between blue and yellow 2024-07-19 13:14:07 +00:00
powermgr.gni feat: add user switch and ac/dc switch feature in screen off time and suspend sources 2024-08-30 09:47:17 +08:00
publicity.xml fix: xml document add 2024-07-02 17:00:35 +08:00
README_zh.md 回退 'Pull Request !923 : 测试用,请勿合入' 2024-03-19 08:57:49 +00:00
README.md fix: updata the directory structure of power subsystem 2023-04-12 15:10:39 +08:00

Power Manager

Introduction

The Power Manager module provides the following functions:

  1. Rebooting the device
  2. Managing running locks
  3. 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

Power Management Subsystem

powermgr_power_manager

powermgr_display_manager

powermgr_battery_manager

powermgr_thermal_manager

powermgr_battery_statistics

powermgr_battery_lite

powermgr_powermgr_lite