Allow to prevent the screen from being switched off by the OS.

Only the iOS and Android implementations are made. On other platforms,
calling the methods is a noop.