Power Manager provides the following functionalities:
- Rebooting the device
- Managing running locks
- Obtaining the power status
Figure 1 Power management subsystem architecture
/base/powermgr/power_manager
├── interfaces # APIs
│ ├── innerkits # Internal APIs
│ └── kits # External APIs
├── sa_profile # SA profile
└── services # Services
│ ├── native # Native services
│ └── zidl # zidl APIs
└── utils # Utilities and common code
Power management subsystem
powermgr_battery_manager
powermgr_power_manager
powermgr_display_manager