diff --git a/README.md b/README.md index 8a9350c..295e5bb 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ double brightness = await Screen.brightness; // Set the brightness: Screen.setBrightness(0.5); +// Check if the screen is kept on: +bool isKeptOn = await Screen.isKeptOn; + // Prevent screen from going into sleep mode: Screen.keepOn(true); ```