Add a "keep screen awake" toggle to prevent the display/computer from sleeping
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 2.1k
- Forks
- 153
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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).
Guía de contribución
Línea de trabajo
Empieza comprobando la integración de macOS de la aplicación de escritorio y los puntos de entrada propuestos en el header o en el tray/menú; el issue no proporciona rutas de archivos ni de tests. Compara el comportamiento de keep-awake con una caffeinate assertion de macOS y verifica después que al habilitarlo, deshabilitarlo y cerrar la aplicación se libere, y que el estado sea visible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos
- Área
- desktop, operating-systems
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100