/powermgr_battery_manager

Battery manager | 电池服务模块

Primary LanguageC++Apache License 2.0Apache-2.0

battery_manager

Introduction

Battery Manager provides the following functionalities:

  1. Obtaining battery information
  2. Obtaining the battery charging status and the remaining battery power

Figure 1 Power management subsystem architecture

Directory Structure

base/powermgr/battery_manager
├── hdi                         # HDI code
│   ├── api                     # HDI APIs
│   └── client                  # HDI client
│   └── service                 # HDI service
├── 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

Repositories Involved

Power management subsystem

powermgr_battery_manager

powermgr_power_manager

powermgr_display_manager