Skip to main content

2025 年 4 月 2 日

Configuring Sleep Mode Options

To control sleep mode behavior during remote sessions, you can set keys in the horizon.plist file on the Mac client.

KeyDescription
kPreventSystemSleepWhenBeingSessionsIf the value is true, Horizon Client prevents the system from going to sleep if remote sessions are connected. If the value is false, Horizon Client does not prevent the system from going to sleep. The default value is true.
kPreventSystemSleepBatteryPercentageIf the battery status is Not Charging, and one or more remote sessions are connected, Horizon Client prevents the system from going to sleep if the remaining battery power percentage is not less than the value specified in this key. The default value is 50. If no remote sessions are connected, the client sleeps according to the system settings. This option works only when the kPreventSystemSleepWhenBeingSessions is true.

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…