Go to file
openharmony_ci 75f62e5f65
!1407 fix : 修复PCfuzz失败
Merge pull request !1407 from kongwei/master
2024-10-28 06:51:50 +00:00
.gitee build: add code owner 2023-07-21 15:15:33 +08:00
etc feat: prevent accidental contact during exercise 2024-09-04 10:12:47 +00:00
figures Update readme 2022-01-11 18:58:32 -08:00
frameworks !1392 关机升级确认弹窗问题修复 2024-10-25 09:55:23 +00:00
interfaces/inner_api !1385 fix: fix freeze bug 2024-10-18 09:41:54 +00:00
power_dialog !1010 fix: 电源包优化胶囊弹窗 2024-10-11 10:31:19 +08:00
sa_profile fix: add powermgr 2024-04-19 13:06:43 +08:00
services !1402 fix:修复失败用例&修复缺陷密度 2024-10-26 02:15:48 +00:00
test fix: Repair PCfuzz compilation fails 2024-10-28 10:28:08 +08:00
utils fix: Adaptation changes of upgrade dialog box 2024-10-22 19:41:25 +08: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 !1387 [Bug]: 拆分复合宏POWER_WAKEUPDOUBLE_OR_PICKUP_ENABLE 2024-10-22 11:04:36 +00: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_POWER_UE.yaml fix: Added the on-off screen dimension check dot 2024-08-29 10:58:08 +08:00
powermanager.yaml fix: the difference between blue and yellow 2024-07-19 13:14:07 +00:00
powermgr.gni !1394 build: 解耦或完善解耦hiview、sensor 2024-10-25 02:39:01 +00: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