• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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![](figures/power-management-subsystem-architecture.png "power-management-subsystem-architecture")
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│   └── test                    # Kits test
32├── sa_profile                  # SA profile
33├── services                    # Services
34│   ├── native                  # Native services
35│   └── zidl                    # Zidl APIs
36├── test                        # Test code
37│   ├── fuzztest                # Fuzz testSS
38│   └── systemtest              # System test
39└── utils                       # Utilities and common code
40```
41
42## Repositories Involved<a name="section63151229062"></a>
43
44[Power management subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md)
45
46**powermgr_power_manager**
47
48[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager)
49
50[powermgr_battery_manager](https://gitee.com/openharmony/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