15ccb8f90Sopenharmony_ci# Power Manager<a name="EN-US_TOPIC_0000001115047353"></a> 25ccb8f90Sopenharmony_ci 35ccb8f90Sopenharmony_ci- [Introduction](#section11660541593) 45ccb8f90Sopenharmony_ci- [Directory Structure](#section19472752217) 55ccb8f90Sopenharmony_ci- [Repositories Involved](#section63151229062) 65ccb8f90Sopenharmony_ci 75ccb8f90Sopenharmony_ci## Introduction<a name="section11660541593"></a> 85ccb8f90Sopenharmony_ci 95ccb8f90Sopenharmony_ciThe Power Manager module provides the following functions: 105ccb8f90Sopenharmony_ci 115ccb8f90Sopenharmony_ci1. Rebooting the device 125ccb8f90Sopenharmony_ci2. Managing running locks 135ccb8f90Sopenharmony_ci3. Obtaining the power status 145ccb8f90Sopenharmony_ci 155ccb8f90Sopenharmony_ci**Figure 1** Architecture of the Power Manager module<a name="fig106301571239"></a> 165ccb8f90Sopenharmony_ci 175ccb8f90Sopenharmony_ci 185ccb8f90Sopenharmony_ci 195ccb8f90Sopenharmony_ci## Directory Structure<a name="section19472752217"></a> 205ccb8f90Sopenharmony_ci 215ccb8f90Sopenharmony_ci``` 225ccb8f90Sopenharmony_ci/base/powermgr/power_manager 235ccb8f90Sopenharmony_ci├── figures # Architecture 245ccb8f90Sopenharmony_ci├── frameworks # Framework layer 255ccb8f90Sopenharmony_ci│ ├── napi # NAPI layer 265ccb8f90Sopenharmony_ci│ └── native # Native layer 275ccb8f90Sopenharmony_ci├── interfaces # API layer 285ccb8f90Sopenharmony_ci│ └── inner_api # Internal APIs 295ccb8f90Sopenharmony_ci├── power_dialog # Power dialog 305ccb8f90Sopenharmony_ci├── sa_profile # SA profile 315ccb8f90Sopenharmony_ci└── services # Service layer 325ccb8f90Sopenharmony_ci│ ├── native # Native layer 335ccb8f90Sopenharmony_ci│ └── zidl # Zidl API layer 345ccb8f90Sopenharmony_ci├── test # Test cases 355ccb8f90Sopenharmony_ci│ ├── fuzztest # Fuzz test 365ccb8f90Sopenharmony_ci│ ├── unittest # Unit test 375ccb8f90Sopenharmony_ci│ ├── systemtest # System test 385ccb8f90Sopenharmony_ci│ └── utils # Test tools 395ccb8f90Sopenharmony_ci└── utils # Utilities 405ccb8f90Sopenharmony_ci``` 415ccb8f90Sopenharmony_ci 425ccb8f90Sopenharmony_ci 435ccb8f90Sopenharmony_ci 445ccb8f90Sopenharmony_ci## Repositories Involved<a name="section63151229062"></a> 455ccb8f90Sopenharmony_ci 465ccb8f90Sopenharmony_ci[Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md) 475ccb8f90Sopenharmony_ci 485ccb8f90Sopenharmony_ci**powermgr_power_manager** 495ccb8f90Sopenharmony_ci 505ccb8f90Sopenharmony_ci[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 515ccb8f90Sopenharmony_ci 525ccb8f90Sopenharmony_ci[powermgr_battery_manager](https://gitee.com/openharmony/powermgr_battery_manager) 535ccb8f90Sopenharmony_ci 545ccb8f90Sopenharmony_ci[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 555ccb8f90Sopenharmony_ci 565ccb8f90Sopenharmony_ci[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 575ccb8f90Sopenharmony_ci 585ccb8f90Sopenharmony_ci[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 595ccb8f90Sopenharmony_ci 605ccb8f90Sopenharmony_ci[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 61