1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Module name: ohos.batteryInfo<br>Class name: batteryInfo<br>Method or attribute name: const batteryCapacityLevel: BatteryCapacityLevel;|@ohos.batteryInfo.d.ts| 4|Added|NA|Module name: ohos.batteryInfo<br>Class name: batteryInfo<br>Method or attribute name: const estimatedRemainingChargeTime: number;|@ohos.batteryInfo.d.ts| 5|Added|NA|Module name: ohos.batteryInfo<br>Class name: batteryInfo<br>Method or attribute name: const totalEnergy: number;|@ohos.batteryInfo.d.ts| 6|Added|NA|Module name: ohos.batteryInfo<br>Class name: batteryInfo<br>Method or attribute name: const nowCurrent: number;|@ohos.batteryInfo.d.ts| 7|Added|NA|Module name: ohos.batteryInfo<br>Class name: batteryInfo<br>Method or attribute name: const remainingEnergy: number;|@ohos.batteryInfo.d.ts| 8|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel|@ohos.batteryInfo.d.ts| 9|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_FULL|@ohos.batteryInfo.d.ts| 10|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_HIGH|@ohos.batteryInfo.d.ts| 11|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_NORMAL|@ohos.batteryInfo.d.ts| 12|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_LOW|@ohos.batteryInfo.d.ts| 13|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_WARNING|@ohos.batteryInfo.d.ts| 14|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_CRITICAL|@ohos.batteryInfo.d.ts| 15|Added|NA|Module name: ohos.batteryInfo<br>Class name: BatteryCapacityLevel<br>Method or attribute name: LEVEL_SHUTDOWN|@ohos.batteryInfo.d.ts| 16|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey|@ohos.batteryInfo.d.ts| 17|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_SOC = "soc"|@ohos.batteryInfo.d.ts| 18|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_CHARGE_STATE = "chargeState"|@ohos.batteryInfo.d.ts| 19|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_HEALTH_STATE = "healthState"|@ohos.batteryInfo.d.ts| 20|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_PLUGGED_TYPE = "pluggedType"|@ohos.batteryInfo.d.ts| 21|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_VOLTAGE = "voltage"|@ohos.batteryInfo.d.ts| 22|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_TECHNOLOGY = "technology"|@ohos.batteryInfo.d.ts| 23|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_TEMPERATURE = "temperature"|@ohos.batteryInfo.d.ts| 24|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_PRESENT = "present"|@ohos.batteryInfo.d.ts| 25|Added|NA|Module name: ohos.batteryInfo<br>Class name: CommonEventBatteryChangedKey<br>Method or attribute name: EXTRA_CAPACITY_LEVEL = "capacityLevel"|@ohos.batteryInfo.d.ts| 26|Added|NA|Class name: power<br>Method or attribute name: function shutdown(reason: string): void;|@ohos.power.d.ts| 27|Added|NA|Class name: power<br>Method or attribute name: function reboot(reason: string): void;|@ohos.power.d.ts| 28|Added|NA|Class name: power<br>Method or attribute name: function isActive(): boolean;|@ohos.power.d.ts| 29|Added|NA|Class name: power<br>Method or attribute name: function wakeup(detail: string): void;|@ohos.power.d.ts| 30|Added|NA|Class name: power<br>Method or attribute name: function suspend(): void;|@ohos.power.d.ts| 31|Added|NA|Class name: power<br>Method or attribute name: function getPowerMode(): DevicePowerMode;|@ohos.power.d.ts| 32|Added|NA|Class name: power<br>Method or attribute name: function setPowerMode(mode: DevicePowerMode, callback: AsyncCallback\<void>): void;|@ohos.power.d.ts| 33|Added|NA|Class name: power<br>Method or attribute name: function setPowerMode(mode: DevicePowerMode): Promise\<void>;|@ohos.power.d.ts| 34|Added|NA|Module name: ohos.power<br>Class name: DevicePowerMode|@ohos.power.d.ts| 35|Added|NA|Class name: DevicePowerMode<br>Method or attribute name: |@ohos.power.d.ts| 36|Added|NA|Module name: ohos.power<br>Class name: DevicePowerMode<br>Method or attribute name: MODE_NORMAL = 600|@ohos.power.d.ts| 37|Added|NA|Class name: DevicePowerMode<br>Method or attribute name: MODE_NORMAL = 600|@ohos.power.d.ts| 38|Added|NA|Module name: ohos.power<br>Class name: DevicePowerMode<br>Method or attribute name: MODE_POWER_SAVE|@ohos.power.d.ts| 39|Added|NA|Class name: DevicePowerMode<br>Method or attribute name: MODE_POWER_SAVE|@ohos.power.d.ts| 40|Added|NA|Module name: ohos.power<br>Class name: DevicePowerMode<br>Method or attribute name: MODE_PERFORMANCE|@ohos.power.d.ts| 41|Added|NA|Class name: DevicePowerMode<br>Method or attribute name: MODE_PERFORMANCE|@ohos.power.d.ts| 42|Added|NA|Module name: ohos.power<br>Class name: DevicePowerMode<br>Method or attribute name: MODE_EXTREME_POWER_SAVE|@ohos.power.d.ts| 43|Added|NA|Class name: DevicePowerMode<br>Method or attribute name: MODE_EXTREME_POWER_SAVE|@ohos.power.d.ts| 44|Added|NA|Class name: RunningLock<br>Method or attribute name: hold(timeout: number): void;|@ohos.runningLock.d.ts| 45|Added|NA|Class name: RunningLock<br>Method or attribute name: isHolding(): boolean;|@ohos.runningLock.d.ts| 46|Added|NA|Class name: RunningLock<br>Method or attribute name: unhold(): void;|@ohos.runningLock.d.ts| 47|Added|NA|Class name: runningLock<br>Method or attribute name: function isSupported(type: RunningLockType): boolean;|@ohos.runningLock.d.ts| 48|Added|NA|Class name: runningLock<br>Method or attribute name: function create(name: string, type: RunningLockType, callback: AsyncCallback\<RunningLock>): void;|@ohos.runningLock.d.ts| 49|Added|NA|Class name: runningLock<br>Method or attribute name: function create(name: string, type: RunningLockType): Promise\<RunningLock>;|@ohos.runningLock.d.ts| 50|Added|NA|Class name: thermal<br>Method or attribute name: function registerThermalLevelCallback(callback: Callback\<ThermalLevel>): void;|@ohos.thermal.d.ts| 51|Added|NA|Class name: thermal<br>Method or attribute name: function unregisterThermalLevelCallback(callback?: Callback\<void>): void;|@ohos.thermal.d.ts| 52|Added|NA|Class name: thermal<br>Method or attribute name: function getLevel(): ThermalLevel;|@ohos.thermal.d.ts| 53|Deleted|Module name: ohos.power<br>Class name: power<br>Method or attribute name: function shutdownDevice(reason: string): void;|NA|@ohos.power.d.ts| 54|Access level changed|Class name: brightness<br>Access level: public API|Class name: brightness<br>Access level: system API|@ohos.brightness.d.ts| 55|Deprecated version changed|Class name: power<br>Method or attribute name: function rebootDevice(reason: string): void;<br>Deprecated version: N/A|Class name: power<br>Method or attribute name: function rebootDevice(reason: string): void;<br>Deprecated version: 9<br>Substitute API: {@link power|@ohos.power.d.ts| 56|Deprecated version changed|Class name: power<br>Method or attribute name: function isScreenOn(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: N/A|Class name: power<br>Method or attribute name: function isScreenOn(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: 9<br>Substitute API: {@link power|@ohos.power.d.ts| 57|Deprecated version changed|Class name: power<br>Method or attribute name: function isScreenOn(): Promise\<boolean>;<br>Deprecated version: N/A|Class name: power<br>Method or attribute name: function isScreenOn(): Promise\<boolean>;<br>Deprecated version: 9<br>Substitute API: {@link power|@ohos.power.d.ts| 58|Deprecated version changed|Class name: RunningLock<br>Method or attribute name: lock(timeout: number): void;<br>Deprecated version: N/A|Class name: RunningLock<br>Method or attribute name: lock(timeout: number): void;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 59|Deprecated version changed|Class name: RunningLock<br>Method or attribute name: isUsed(): boolean;<br>Deprecated version: N/A|Class name: RunningLock<br>Method or attribute name: isUsed(): boolean;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 60|Deprecated version changed|Class name: RunningLock<br>Method or attribute name: unlock(): void;<br>Deprecated version: N/A|Class name: RunningLock<br>Method or attribute name: unlock(): void;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 61|Deprecated version changed|Class name: runningLock<br>Method or attribute name: function isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback\<boolean>): void;<br>Deprecated version: N/A|Class name: runningLock<br>Method or attribute name: function isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback\<boolean>): void;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 62|Deprecated version changed|Class name: runningLock<br>Method or attribute name: function isRunningLockTypeSupported(type: RunningLockType): Promise\<boolean>;<br>Deprecated version: N/A|Class name: runningLock<br>Method or attribute name: function isRunningLockTypeSupported(type: RunningLockType): Promise\<boolean>;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 63|Deprecated version changed|Class name: runningLock<br>Method or attribute name: function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback\<RunningLock>): void;<br>Deprecated version: N/A|Class name: runningLock<br>Method or attribute name: function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback\<RunningLock>): void;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 64|Deprecated version changed|Class name: runningLock<br>Method or attribute name: function createRunningLock(name: string, type: RunningLockType): Promise\<RunningLock>;<br>Deprecated version: N/A|Class name: runningLock<br>Method or attribute name: function createRunningLock(name: string, type: RunningLockType): Promise\<RunningLock>;<br>Deprecated version: 9<br>Substitute API: {@link RunningLock|@ohos.runningLock.d.ts| 65|Deprecated version changed|Class name: thermal<br>Method or attribute name: function subscribeThermalLevel(callback: AsyncCallback\<ThermalLevel>): void;<br>Deprecated version: N/A|Class name: thermal<br>Method or attribute name: function subscribeThermalLevel(callback: AsyncCallback\<ThermalLevel>): void;<br>Deprecated version: 9<br>Substitute API: {@link thermal|@ohos.thermal.d.ts| 66|Deprecated version changed|Class name: thermal<br>Method or attribute name: function unsubscribeThermalLevel(callback?: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: thermal<br>Method or attribute name: function unsubscribeThermalLevel(callback?: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: {@link thermal|@ohos.thermal.d.ts| 67|Deprecated version changed|Class name: thermal<br>Method or attribute name: function getThermalLevel(): ThermalLevel;<br>Deprecated version: N/A|Class name: thermal<br>Method or attribute name: function getThermalLevel(): ThermalLevel;<br>Deprecated version: 9<br>Substitute API: {@link thermal|@ohos.thermal.d.ts| 68|Deprecated version changed|Class name: BatteryResponse<br>Deprecated version: N/A|Class name: BatteryResponse<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 69|Deprecated version changed|Class name: BatteryResponse<br>Method or attribute name: charging: boolean;<br>Deprecated version: N/A|Class name: BatteryResponse<br>Method or attribute name: charging: boolean;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 70|Deprecated version changed|Class name: BatteryResponse<br>Method or attribute name: level: number;<br>Deprecated version: N/A|Class name: BatteryResponse<br>Method or attribute name: level: number;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 71|Deprecated version changed|Class name: GetStatusOptions<br>Deprecated version: N/A|Class name: GetStatusOptions<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 72|Deprecated version changed|Class name: GetStatusOptions<br>Method or attribute name: success?: (data: BatteryResponse) => void;<br>Deprecated version: N/A|Class name: GetStatusOptions<br>Method or attribute name: success?: (data: BatteryResponse) => void;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 73|Deprecated version changed|Class name: GetStatusOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: GetStatusOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 74|Deprecated version changed|Class name: GetStatusOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: N/A|Class name: GetStatusOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 75|Deprecated version changed|Class name: Battery<br>Deprecated version: N/A|Class name: Battery<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 76|Deprecated version changed|Class name: Battery<br>Method or attribute name: static getStatus(options?: GetStatusOptions): void;<br>Deprecated version: N/A|Class name: Battery<br>Method or attribute name: static getStatus(options?: GetStatusOptions): void;<br>Deprecated version: 6<br>Substitute API: N/A|@system.battery.d.ts| 77|Deprecated version changed|Class name: BrightnessResponse<br>Deprecated version: N/A|Class name: BrightnessResponse<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 78|Deprecated version changed|Class name: BrightnessResponse<br>Method or attribute name: value: number;<br>Deprecated version: N/A|Class name: BrightnessResponse<br>Method or attribute name: value: number;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 79|Deprecated version changed|Class name: GetBrightnessOptions<br>Deprecated version: N/A|Class name: GetBrightnessOptions<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 80|Deprecated version changed|Class name: GetBrightnessOptions<br>Method or attribute name: success?: (data: BrightnessResponse) => void;<br>Deprecated version: N/A|Class name: GetBrightnessOptions<br>Method or attribute name: success?: (data: BrightnessResponse) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 81|Deprecated version changed|Class name: GetBrightnessOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: GetBrightnessOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 82|Deprecated version changed|Class name: GetBrightnessOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: N/A|Class name: GetBrightnessOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 83|Deprecated version changed|Class name: SetBrightnessOptions<br>Deprecated version: N/A|Class name: SetBrightnessOptions<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 84|Deprecated version changed|Class name: SetBrightnessOptions<br>Method or attribute name: value: number;<br>Deprecated version: N/A|Class name: SetBrightnessOptions<br>Method or attribute name: value: number;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 85|Deprecated version changed|Class name: SetBrightnessOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: N/A|Class name: SetBrightnessOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 86|Deprecated version changed|Class name: SetBrightnessOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: SetBrightnessOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 87|Deprecated version changed|Class name: SetBrightnessOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: N/A|Class name: SetBrightnessOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 88|Deprecated version changed|Class name: BrightnessModeResponse<br>Deprecated version: N/A|Class name: BrightnessModeResponse<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 89|Deprecated version changed|Class name: BrightnessModeResponse<br>Method or attribute name: mode: number;<br>Deprecated version: N/A|Class name: BrightnessModeResponse<br>Method or attribute name: mode: number;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 90|Deprecated version changed|Class name: GetBrightnessModeOptions<br>Deprecated version: N/A|Class name: GetBrightnessModeOptions<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 91|Deprecated version changed|Class name: GetBrightnessModeOptions<br>Method or attribute name: success?: (data: BrightnessModeResponse) => void;<br>Deprecated version: N/A|Class name: GetBrightnessModeOptions<br>Method or attribute name: success?: (data: BrightnessModeResponse) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 92|Deprecated version changed|Class name: GetBrightnessModeOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: GetBrightnessModeOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 93|Deprecated version changed|Class name: GetBrightnessModeOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: N/A|Class name: GetBrightnessModeOptions<br>Method or attribute name: complete?: () => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 94|Deprecated version changed|Class name: SetBrightnessModeOptions<br>Deprecated version: N/A|Class name: SetBrightnessModeOptions<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 95|Deprecated version changed|Class name: SetBrightnessModeOptions<br>Method or attribute name: mode: number;<br>Deprecated version: N/A|Class name: SetBrightnessModeOptions<br>Method or attribute name: mode: number;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 96|Deprecated version changed|Class name: SetBrightnessModeOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: N/A|Class name: SetBrightnessModeOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 97|Deprecated version changed|Class name: SetBrightnessModeOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: SetBrightnessModeOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 98|Deprecated version changed|Class name: SetBrightnessModeOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: N/A|Class name: SetBrightnessModeOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 99|Deprecated version changed|Class name: SetKeepScreenOnOptions<br>Deprecated version: N/A|Class name: SetKeepScreenOnOptions<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 100|Deprecated version changed|Class name: SetKeepScreenOnOptions<br>Method or attribute name: keepScreenOn: boolean;<br>Deprecated version: N/A|Class name: SetKeepScreenOnOptions<br>Method or attribute name: keepScreenOn: boolean;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 101|Deprecated version changed|Class name: SetKeepScreenOnOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: N/A|Class name: SetKeepScreenOnOptions<br>Method or attribute name: success?: () => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 102|Deprecated version changed|Class name: SetKeepScreenOnOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: N/A|Class name: SetKeepScreenOnOptions<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 103|Deprecated version changed|Class name: SetKeepScreenOnOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: N/A|Class name: SetKeepScreenOnOptions<br>Method or attribute name: complete?: () => void<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 104|Deprecated version changed|Class name: Brightness<br>Deprecated version: N/A|Class name: Brightness<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 105|Deprecated version changed|Class name: Brightness<br>Method or attribute name: static getValue(options?: GetBrightnessOptions): void;<br>Deprecated version: N/A|Class name: Brightness<br>Method or attribute name: static getValue(options?: GetBrightnessOptions): void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 106|Deprecated version changed|Class name: Brightness<br>Method or attribute name: static setValue(options?: SetBrightnessOptions): void;<br>Deprecated version: N/A|Class name: Brightness<br>Method or attribute name: static setValue(options?: SetBrightnessOptions): void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 107|Deprecated version changed|Class name: Brightness<br>Method or attribute name: static getMode(options?: GetBrightnessModeOptions): void;<br>Deprecated version: N/A|Class name: Brightness<br>Method or attribute name: static getMode(options?: GetBrightnessModeOptions): void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 108|Deprecated version changed|Class name: Brightness<br>Method or attribute name: static setMode(options?: SetBrightnessModeOptions): void;<br>Deprecated version: N/A|Class name: Brightness<br>Method or attribute name: static setMode(options?: SetBrightnessModeOptions): void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 109|Deprecated version changed|Class name: Brightness<br>Method or attribute name: static setKeepScreenOn(options?: SetKeepScreenOnOptions): void;<br>Deprecated version: N/A|Class name: Brightness<br>Method or attribute name: static setKeepScreenOn(options?: SetKeepScreenOnOptions): void;<br>Deprecated version: 7<br>Substitute API: N/A|@system.brightness.d.ts| 110|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getBatteryStats(callback: AsyncCallback\<Array\<BatteryStatsInfo>>): void;<br>Error code: 401|@ohos.batteryStatistics.d.ts| 111|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getAppPowerValue(uid: number): number;<br>Error code: 4600101|@ohos.batteryStatistics.d.ts| 112|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getAppPowerPercent(uid: number): number;<br>Error code: 4600101|@ohos.batteryStatistics.d.ts| 113|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getHardwareUnitPowerValue(type: ConsumptionType): number;<br>Error code: 401, 4600101|@ohos.batteryStatistics.d.ts| 114|Error code added|NA|Class name: batteryStats<br>Method or attribute name: function getHardwareUnitPowerPercent(type: ConsumptionType): number;<br>Error code: 401, 4600101|@ohos.batteryStatistics.d.ts| 115|Error code added|NA|Class name: brightness<br>Method or attribute name: function setValue(value: number): void;<br>Error code: 401, 4700101|@ohos.brightness.d.ts| 116