Added: HEAD
协议
SystemStateTransition
在 fuchsia.system.state/system-state-transition.fidl 中定义
提供在系统状态转换期间提取相关信息的协议。
GetTerminationSystemState
获取终止状态。
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
state |
SystemPowerState
|
枚举
SystemPowerState strict
类型:uint8
在 fuchsia.system.state/system-state-transition.fidl 中定义
| 名称 | 值 | 说明 |
|---|---|---|
FULLY_ON |
1 |
|
重启 |
2 |
|
REBOOT_BOOTLOADER |
3 |
|
REBOOT_RECOVERY |
4 |
|
POWEROFF |
5 |
|
REBOOT_KERNEL_INITIATED |
8 |
常量
| 名称 | 值 | 类型 | 说明 |
|---|---|---|---|
| MAX_SYSTEM_POWER_STATES |
6
|
uint32 |
|