| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:BatteryCapacityLevel
方法or属性:LEVEL_WARNING|@ohos.batteryInfo.d.ts|
|新增|NA|类名:BatteryCapacityLevel
方法or属性:LEVEL_SHUTDOWN|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_SOC = "soc"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_SOC = "soc"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_CHARGE_STATE = "chargeState"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_CHARGE_STATE = "chargeState"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_HEALTH_STATE = "healthState"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_HEALTH_STATE = "healthState"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_PLUGGED_TYPE = "pluggedType"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_PLUGGED_TYPE = "pluggedType"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_VOLTAGE = "voltage"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_VOLTAGE = "voltage"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_TECHNOLOGY = "technology"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_TECHNOLOGY = "technology"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_TEMPERATURE = "temperature"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_TEMPERATURE = "temperature"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_PRESENT = "present"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_PRESENT = "present"|@ohos.batteryInfo.d.ts|
|新增|NA|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedKey
方法 or 属性:EXTRA_CAPACITY_LEVEL = "capacityLevel"|@ohos.batteryInfo.d.ts|
|新增|NA|类名:CommonEventBatteryChangedKey
方法or属性:EXTRA_CAPACITY_LEVEL = "capacityLevel"|@ohos.batteryInfo.d.ts|
|删除|模块名:ohos.batteryInfo
类名:BatteryCapacityLevel
方法 or 属性:LEVEL_NONE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_SOC = 0|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_VOLTAGE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_TEMPERATURE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_HEALTH_STATE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_PLUGGED_TYPE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_MAX_CURRENT|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_MAX_VOLTAGE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_CHARGE_STATE|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_CHARGE_COUNTER|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_PRESENT|NA|@ohos.batteryInfo.d.ts|
|删除|模块名: ohos.batteryInfo
类名: CommonEventBatteryChangedCode
方法 or 属性:EXTRA_TECHNOLOGY|NA|@ohos.batteryInfo.d.ts|
|访问级别有变化|类名:batteryInfo
方法 or 属性:const estimatedRemainingChargeTime: number;
访问级别:公开API|类名:batteryInfo
方法 or 属性:const estimatedRemainingChargeTime: number;
访问级别:系统API|@ohos.batteryInfo.d.ts|