| 操作 | 新版本 | 旧版本 | d.ts文件 | | ---- | ------ | ------ | -------- | |新增||模块名:ohos.power
类名:power
方法名 or 属性名:shutdown|@ohos.power.d.ts| |新增||模块名:ohos.power
类名:power
方法名 or 属性名:reboot|@ohos.power.d.ts| |新增||模块名:ohos.power
类名:power
方法名 or 属性名:isActive|@ohos.power.d.ts| |新增||模块名:ohos.power
类名:power
方法名 or 属性名:wakeup|@ohos.power.d.ts| |新增||模块名:ohos.power
类名:power
方法名 or 属性名:suspend|@ohos.power.d.ts| |新增||方法名 or 属性名:getPowerMode
函数:function getPowerMode(): DevicePowerMode;|@ohos.power.d.ts| |新增||模块名:ohos.runningLock
类名:RunningLock
方法名 or 属性名:hold|@ohos.runningLock.d.ts| |新增||模块名:ohos.runningLock
类名:RunningLock
方法名 or 属性名:isHolding|@ohos.runningLock.d.ts| |新增||模块名:ohos.runningLock
类名:RunningLock
方法名 or 属性名:unhold|@ohos.runningLock.d.ts| |新增||模块名:ohos.runningLock
类名:runningLock
方法名 or 属性名:isSupported|@ohos.runningLock.d.ts| |新增||模块名:ohos.runningLock
类名:runningLock
方法名 or 属性名:create|@ohos.runningLock.d.ts| |新增||模块名:ohos.runningLock
类名:runningLock
方法名 or 属性名:create|@ohos.runningLock.d.ts| |新增||模块名:ohos.thermal
类名:thermal
方法名 or 属性名:registerThermalLevelCallback|@ohos.thermal.d.ts| |新增||模块名:ohos.thermal
类名:thermal
方法名 or 属性名:unregisterThermalLevelCallback|@ohos.thermal.d.ts| |新增||模块名:ohos.thermal
类名:thermal
方法名 or 属性名:getLevel|@ohos.thermal.d.ts| |删除|模块名:ohos.power
类名:power
方法名 or 属性名:shutdownDevice||@ohos.power.d.ts| |删除|模块名:ohos.power
类名:power
方法名 or 属性名:wakeupDevice||@ohos.power.d.ts| |删除|模块名:ohos.power
类名:power
方法名 or 属性名:suspendDevice||@ohos.power.d.ts| |废弃版本有变化|方法名 or 属性名:rebootDevice
废弃版本:N/A|方法名 or 属性名:rebootDevice
废弃版本:9
代替接口:{@link power|@ohos.power.d.ts| |废弃版本有变化|方法名 or 属性名:isScreenOn
废弃版本:N/A|方法名 or 属性名:isScreenOn
废弃版本:9
代替接口:{@link power|@ohos.power.d.ts| |废弃版本有变化|方法名 or 属性名:isScreenOn
废弃版本:N/A|方法名 or 属性名:isScreenOn
废弃版本:9|@ohos.power.d.ts| |废弃版本有变化|方法名 or 属性名:lock
废弃版本:N/A|方法名 or 属性名:lock
废弃版本:9
代替接口:{@link RunningLock|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:isUsed
废弃版本:N/A|方法名 or 属性名:isUsed
废弃版本:9
代替接口:{@link RunningLock|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:unlock
废弃版本:N/A|方法名 or 属性名:unlock
废弃版本:9
代替接口:{@link RunningLock|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:isRunningLockTypeSupported
废弃版本:N/A|方法名 or 属性名:isRunningLockTypeSupported
废弃版本:9
代替接口:{@link RunningLock|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:isRunningLockTypeSupported
废弃版本:N/A|方法名 or 属性名:isRunningLockTypeSupported
废弃版本:9|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:createRunningLock
废弃版本:N/A|方法名 or 属性名:createRunningLock
废弃版本:9
代替接口:{@link RunningLock|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:createRunningLock
废弃版本:N/A|方法名 or 属性名:createRunningLock
废弃版本:9|@ohos.runningLock.d.ts| |废弃版本有变化|方法名 or 属性名:subscribeThermalLevel
废弃版本:N/A|方法名 or 属性名:subscribeThermalLevel
废弃版本:9
代替接口:{@link thermal|@ohos.thermal.d.ts| |废弃版本有变化|方法名 or 属性名:unsubscribeThermalLevel
废弃版本:N/A|方法名 or 属性名:unsubscribeThermalLevel
废弃版本:9
代替接口:{@link thermal|@ohos.thermal.d.ts| |废弃版本有变化|方法名 or 属性名:getThermalLevel
废弃版本:N/A|方法名 or 属性名:getThermalLevel
废弃版本:9
代替接口:{@link thermal|@ohos.thermal.d.ts| |废弃版本有变化|类名:BatteryResponse
废弃版本:9|类名:BatteryResponse
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:charging
废弃版本:9|方法名 or 属性名:charging
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:level
废弃版本:9|方法名 or 属性名:level
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|类名:GetStatusOptions
废弃版本:9|类名:GetStatusOptions
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|类名:Battery
废弃版本:9|类名:Battery
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|方法名 or 属性名:getStatus
废弃版本:9|方法名 or 属性名:getStatus
废弃版本:6|@system.battery.d.ts| |废弃版本有变化|类名:BrightnessResponse
废弃版本:9|类名:BrightnessResponse
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:value
废弃版本:9|方法名 or 属性名:value
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:GetBrightnessOptions
废弃版本:9|类名:GetBrightnessOptions
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:SetBrightnessOptions
废弃版本:9|类名:SetBrightnessOptions
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:value
废弃版本:9|方法名 or 属性名:value
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:BrightnessModeResponse
废弃版本:9|类名:BrightnessModeResponse
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:mode
废弃版本:9|方法名 or 属性名:mode
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:GetBrightnessModeOptions
废弃版本:9|类名:GetBrightnessModeOptions
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:SetBrightnessModeOptions
废弃版本:9|类名:SetBrightnessModeOptions
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:mode
废弃版本:9|方法名 or 属性名:mode
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:SetKeepScreenOnOptions
废弃版本:9|类名:SetKeepScreenOnOptions
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:keepScreenOn
废弃版本:9|方法名 or 属性名:keepScreenOn
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:success
废弃版本:9|方法名 or 属性名:success
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:fail
废弃版本:9|方法名 or 属性名:fail
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:complete
废弃版本:9|方法名 or 属性名:complete
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|类名:Brightness
废弃版本:9|类名:Brightness
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:getValue
废弃版本:9|方法名 or 属性名:getValue
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:setValue
废弃版本:9|方法名 or 属性名:setValue
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:getMode
废弃版本:9|方法名 or 属性名:getMode
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:setMode
废弃版本:9|方法名 or 属性名:setMode
废弃版本:7|@system.brightness.d.ts| |废弃版本有变化|方法名 or 属性名:setKeepScreenOn
废弃版本:9|方法名 or 属性名:setKeepScreenOn
废弃版本:7|@system.brightness.d.ts|