KeepScreenOn

actual fun KeepScreenOn(enabled: Boolean)(source)

Keeps the screen awake while enabled is true. No-op on platforms that don't support it.

expect fun KeepScreenOn(enabled: Boolean)(source)

Keeps the screen awake while enabled is true. No-op on platforms that don't support it.

actual fun KeepScreenOn(enabled: Boolean)(source)

JVM no-op — Keep screen on is not applicable on Desktop.