!7537 [新需求]: 热管理新增热逃生档位

Merge pull request !7537 from 覃昶/master
This commit is contained in:
openharmony_ci 2023-11-13 11:41:21 +00:00 committed by Gitee
commit edaea42b8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -80,13 +80,21 @@ declare namespace thermal {
*/
WARNING = 5,
/**
* The device has entered the emergency state. You need to stop all services except those
* for the emergency help purposes.
* The device has entered the emergency state. The supply of equipment resources has been
* minimized, leaving only the basic functions available.
*
* @syscap SystemCapability.PowerManager.ThermalManager
* @since 8
*/
EMERGENCY = 6
EMERGENCY = 6,
/**
* The device is about to enter a thermal escape state. All abilities will be forcibly
* stopped, you need to implement escape measures.
*
* @syscap SystemCapability.PowerManager.ThermalManager
* @since 11
*/
ESCAPE = 7
}
/**