Skip to content

Integrate system-sleep? #644

@shipmints

Description

@shipmints

One can now prevent the system from sleeping and/or the display blanking in Emacs 31 using the new library system-sleep. This may be useful to integrate or at least mention in the documentation for people who expect long-running sessions to continue working without sleep interruption. It does not prevent "hard sleeping" i.e., closing the lid on your laptop but it does have a hook you can use to know when the system is about to sleep and after it has woken up and take an appropriate action to suspend/resume things.

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