共用方式為


StopMode type

定義 StopMode 的值。

type StopMode = "reboot" | "suspend" | "shutdown" | "poweroff"