Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
- Package rename com.webtoapp -> br.com.drukstech.codeapp - Product rename WebToApp/web-to-app -> DruksCode/drukscode - Design system Wta* -> Dkc* - applicationId br.com.drukstech.codeapp (.play for gplay flavor) - rootProject.name DruksCode - Fresh git history (upstream kept as remote for sync)
20 lines
802 B
Markdown
20 lines
802 B
Markdown
# Keep Screen On
|
|
|
|
Prevents the screen from turning off while the app runs, with optional timeout and brightness control.
|
|
|
|
**Where:** the **Keep screen on** card in the [Edit Common Config](/guide/app-actions/edit-common-config/) editor.
|
|
|
|
## Options
|
|
|
|
- **Screen-awake mode** (`screenAwakeMode`):
|
|
- `OFF` — normal system behavior
|
|
- `ALWAYS` — keep the screen on indefinitely
|
|
- `TIMED` — keep on for a set duration
|
|
- **Timeout (minutes)** — for `TIMED` mode, how long to keep the screen on (`screenAwakeTimeoutMinutes`).
|
|
- **Screen brightness** — override brightness while running (`screenBrightness`; `-1` leaves it unchanged).
|
|
|
|
## Notes
|
|
|
|
- Enabling any non-`OFF` mode sets `keepScreenOn`.
|
|
- Media apps have their own keep-screen-on toggle (see the [Media](/guide/app-types/media) type).
|