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 9The Battery Manager module provides the following functions: 10 111. Obtaining battery information 122. Obtaining the battery charging status and the battery state of charge (SoC) 133. Power off charging 14 15**Figure 1** Architecture of the Battery Manager module<a name="fig106301571239"></a> 16 17 18 19## Directory Structure<a name="section19472752217"></a> 20 21``` 22base/powermgr/battery_manager 23├── figures # Architecture 24├── frameworks # Framework layer 25│ ├── napi # NAPI layer 26│ └── native # Native layer 27├── interfaces # API layer 28│ └── inner_api # Internal APIs 29├── sa_profile # SA profile 30└── services # Service layer 31│ └── native # Native layer 32│ └── zidl # Zidl API layer 33├── test # Test cases 34│ ├── fuzztest # Fuzz test 35│ ├── unittest # Unit test 36│ ├── systemtest # System test 37│ └── utils # Test tools 38└── utils # Utilities 39``` 40 41 42 43## Repositories Involved<a name="section63151229062"></a> 44 45[Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md) 46 47[powermgr_power_manager](https://gitee.com/openharmony/powermgr_power_manager) 48 49[powermgr_display_manager](https://gitee.com/openharmony/powermgr_display_manager) 50 51**powermgr_battery_manager** 52 53[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager) 54 55[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics) 56 57[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite) 58 59[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite) 60