Skip to content

Optional keep awake while lid closed option #258

Description

@nulldoubt

It would be really great to have a built-in option to enable the device to stay awake even when the lid is shut.

Just a proxy to this command and the device won't sleep even when the lid is shut.

sudo pmset -a disablesleep 1

Turning it off is as easy as passing a 0 instead of a 1 to the command:

sudo pmset -a disablesleep 0

Enabling this feature would help many users who run autonomous agents or even just long build tasks on their MacBooks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions