github / github/app

Add a "keep screen awake" toggle to prevent the display/computer from sleeping

Offen
#1,170 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Requests and ideas
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature summary

A "keep awake" toggle/button that prevents the screen and machine from sleeping while it's on.

### What problem are you trying to solve?

When I want the screen to stay on (e.g. while watching a long agent run or keeping a session visible), there is no built-in way to stop the display/computer from sleeping. My current workaround is to open a 1-hour black YouTube video fullscreen just to keep the screen awake, which is clunky and wasteful.

### Proposed solution

Add a simple toggle in the app (e.g. in the header or a tray/menu item) that keeps the screen and system awake while enabled, and releases the lock when turned off or the app closes. On macOS this is the equivalent of holding a `caffeinate` assertion (prevent display + idle sleep).

### Workflow impact

Removes the need for hacky workarounds (black YouTube video), and lets me keep a session or long-running agent visible without the screen turning off.

### Installation context

GitHub Copilot desktop app on macOS (personal machine).

### Additional context

A small always-visible state would help (so I can tell at a glance whether keep-awake is currently on).

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die macOS-Integration der Desktop-App und die vorgeschlagenen Einstiegspunkte in Header oder Tray/Menü zu prüfen; das Issue enthält keine Datei- oder Testpfade. Vergleiche das Keep-Awake-Verhalten mit einer macOS caffeinate assertion und überprüfe anschließend, dass das Aktivieren, Deaktivieren und Schließen der App sie freigibt und dass der Status sichtbar ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos
Bereich
desktop, operating-systems
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.