withWakeLock

inline fun withWakeLock(config: WakeLockConfig, block: () -> Unit)(source)

Exécute block sous WakeLock et relâche automatiquement.