Caff is an Android app that keeps the display awake for a chosen length of time. It is aimed at people who need the screen to stay on while reading, following a recipe, or waiting on something, without changing the system screen timeout each time.
The main control is a quick settings tile. Tapping it turns caffeine mode on and cycles through preset durations, and the tile shows a countdown while it is active. A long press opens preferences where the user picks which durations are included in the cycle. An infinite mode keeps the screen on until it is turned off. The source notes that battery optimisation may need to be disabled for the app to work. It is released under the BSD-2-Clause license with public source code.
Alternatives to Caff
Products that do a similar job in System & Customization.
AlDente
Menu bar tool that caps how far a Mac battery charges
SysReadout Monitor
Android system information shown as a KDE Konsole-style terminal
Héméra
Keeps an Android screen awake for a set time and adjusts brightness
cleanyourtv
Removes preinstalled apps from Android TV devices over Wi-Fi
ohmyzsh
Community framework for managing zsh configuration, plugins and themes
glances
Terminal system monitor for Linux, BSD, macOS and Windows
Stats
Menu bar system monitor for macOS
Rectangle
Keyboard-driven window moving and resizing for macOS