PSA: How to keep the Android screen awake for any given app
In another thread on the UK newsgroup, someone asked how to keep the screen >awake for a given app, where I figured I'd write up the PSA below for all.
Apparently it's possible for some apps on Android to keep the screen awake, >but only if the app itself requests the "keep screen on" permission.
Apps like Google Maps or speedometer apps apparently do this automatically.
Other apps may not, so the screen may time out normally, unless you use a >workaround, where the main workarounds I'm aware of are listed below.
1. Increase the system screen timeout for all apps.
Set a long timeout (for example 10 or 30 minutes) in Settings.
2. Developer Options "Stay awake"
Enable Developer Options, then turn on "Stay awake". This keeps the
screen on but only while the phone is connected to USB power.
Supposedly Pixels have a quick-settings tile, but I can't test that.
3. Use a third-party "keep screen on" utility
Looking it up, apps such as "Caffeine" or "Wakey" supposedly can
force the screen to stay awake. Some of these may allow per-app
rules so the screen stays on only when a chosen app is in the
foreground, but I haven't personally tested any of these apps.
Caffeine <https://lab.zhs.moe/caffeine/>
<https://play.google.com/store/apps/details?id=moe.zhs.caffeine>
Wakey (contains ads so I don't recommend it)
<https://play.google.com/store/apps/details?id=com.doublep.wakey>
Any others?
4. Check the app's own settings
Some apps include an option like "Keep screen on" or "Prevent sleep".
5. Automation (advanced)
Tools like Tasker/Automate supposedly might force an app to keep
the screen awake, but I haven't tested this, so that's conjecture.
Do you know of other approaches that work on Android for given apps?
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,099 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492379:04:24 |
| Calls: | 14,106 |
| Calls today: | 2 |
| Files: | 187,124 |
| D/L today: |
2,544 files (1,098M bytes) |
| Messages: | 2,496,242 |