OH_BatteryInfo

Overview

Provides APIs for obtaining battery information.

System capability: SystemCapability.PowerManager.BatteryManager.Core

Since: 13

Files

Name Description
ohbattery_info.h Declares the battery APIs that are used to obtain the current battery capacity and power supply type and define common battery events.