Change Type Old Version New Version d.ts File
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_SOC = 'soc'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CHARGE_STATE = 'chargeState'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_HEALTH_STATE = 'healthState'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PLUGGED_TYPE = 'pluggedType'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_VOLTAGE = 'voltage'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TECHNOLOGY = 'technology'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TEMPERATURE = 'temperature'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PRESENT = 'present'
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CAPACITY_LEVEL = 'capacityLevel'
@ohos.batteryInfo.d.ts
Added NA Module name: ohos.charger
Class name: charger
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: NONE
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_NORMAL
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_SUPER_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_NORMAL
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_SUPER_QUICK
@ohos.charger.d.ts
Deprecated version changed Class name: RunningLockType
Method or attribute name: BACKGROUND = 1
Deprecated version: N/A
Class name: RunningLockType
Method or attribute name: BACKGROUND = 1
Deprecated version: 10
Substitute API: N/A
@ohos.runningLock.d.ts
Error code added NA Class name: batteryStats
Method or attribute name: function getBatteryStats(): Promise<Array<BatteryStatsInfo>>;
Error code: 202, 4600101
@ohos.batteryStatistics.d.ts