Add a "keep screen awake" toggle to prevent the display/computer from sleeping
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 2.1k
- Forks
- 157
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par vérifier l’intégration macOS de l’application de bureau et les points d’entrée proposés dans le header ou le tray/menu ; l’issue ne fournit aucun chemin de fichier ou de test. Comparez le comportement keep-awake avec une caffeinate assertion macOS, puis vérifiez que son activation, sa désactivation et la fermeture de l’application la libèrent, et que l’état est visible.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- macos
- Domaine
- desktop, operating-systems
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100