1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_SOC = 'soc'|@ohos.batteryInfo.d.ts|
4|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_CHARGE_STATE = 'chargeState'|@ohos.batteryInfo.d.ts|
5|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_HEALTH_STATE = 'healthState'|@ohos.batteryInfo.d.ts|
6|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_PLUGGED_TYPE = 'pluggedType'|@ohos.batteryInfo.d.ts|
7|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_VOLTAGE = 'voltage'|@ohos.batteryInfo.d.ts|
8|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_TECHNOLOGY = 'technology'|@ohos.batteryInfo.d.ts|
9|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_TEMPERATURE = 'temperature'|@ohos.batteryInfo.d.ts|
10|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_PRESENT = 'present'|@ohos.batteryInfo.d.ts|
11|Added|NA|Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_CAPACITY_LEVEL = 'capacityLevel'|@ohos.batteryInfo.d.ts|
12|Added|NA|Module name: ohos.charger<br>Class name: charger|@ohos.charger.d.ts|
13|Added|NA|Module name: ohos.charger<br>Class name: ChargeType|@ohos.charger.d.ts|
14|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: NONE|@ohos.charger.d.ts|
15|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRED_NORMAL|@ohos.charger.d.ts|
16|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRED_QUICK|@ohos.charger.d.ts|
17|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRED_SUPER_QUICK|@ohos.charger.d.ts|
18|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRELESS_NORMAL|@ohos.charger.d.ts|
19|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRELESS_QUICK|@ohos.charger.d.ts|
20|Added|NA|Module name: ohos.charger<br>Class name: ChargeType<br>Method or attribute name: WIRELESS_SUPER_QUICK|@ohos.charger.d.ts|
21|Deprecated version changed|Class name: RunningLockType<br>Method or attribute name: BACKGROUND = 1<br>Deprecated version: N/A|Class name: RunningLockType<br>Method or attribute name: BACKGROUND = 1<br>Deprecated version: 10<br>Substitute API: N/A|@ohos.runningLock.d.ts|
22|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getBatteryStats(): Promise\<Array\<BatteryStatsInfo>>;<br>Error code: 202, 4600101|@ohos.batteryStatistics.d.ts|
23