Change Type Old Version New Version d.ts File
Permission deleted Class name: power
Method or attribute name: function getPowerMode(): DevicePowerMode;
Permission: ohos.permission.POWER_OPTIMIZATION
Class name: power
Method or attribute name: function getPowerMode(): DevicePowerMode;
Permission: N/A
@ohos.power.d.ts