暂无描述
| Files | Last commit | Last update |
|---|---|---|
| 3 years ago | ||
| 1 year ago | ||
| 4 years ago | ||
| 10 months ago | ||
| 1 year ago | ||
| 11 months ago | ||
| 6 months ago | ||
| 8 months ago | ||
| 8 months ago | ||
| 4 years ago | ||
| 5 years ago | ||
| 4 years ago | ||
| 2 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 8 months ago | ||
| 3 years ago | ||
| 10 months ago |
Battery Manager
Introduction
The Battery Manager module provides the following functions:
- Obtaining battery information
- Obtaining the battery charging status and the battery state of charge (SoC)
- Power off charging
Figure 1 Architecture of the Battery Manager module

Directory Structure
base/powermgr/battery_manager
├── figures # Architecture
├── frameworks # Framework layer
│ ├── napi # NAPI layer
│ └── native # Native layer
├── interfaces # API layer
│ └── inner_api # Internal APIs
├── sa_profile # SA profile
└── services # Service layer
│ └── native # Native layer
│ └── zidl # Zidl API layer
├── test # Test cases
│ ├── fuzztest # Fuzz test
│ ├── unittest # Unit test
│ ├── systemtest # System test
│ └── utils # Test tools
└── utils # Utilities
Repositories Involved
powermgr_battery_manager