コンテンツへスキップ

@capgo/capacitor-keep-awake

Keep your device screen on programmatically for video players, navigation apps, games, and presentations.

Simple API

Keep screen on or allow sleep with just one method call

Cross-platform

Works on iOS, Android, and Web platforms

Lightweight

Zero dependencies with minimal footprint

Status Checking

Query current wake lock state at any time

Platform Detection

Check if wake lock is supported before using

Comprehensive Documentation

Check the Documentation to master the plugin in just a few minutes.