How do I cancel screen lock?

I have an app that needs to be active at all times, and I don't want the phone's screensaver to turn off every so often.

I can disable the screensaver in general through the phone's settings, but that would apply to all apps.

I only want to disable it when my app is active.

1 Like

Could you share the extension's .html file?

It seems to be outdated for Android. 15

:red_question_mark:

It doesn't work on Android 15.

What does not work? I tested my extension on Android 13 and 16.
And again, what do you mean by "extension's .html file"?

This is the first thing that comes up.
The timer isn't running, either.

Device name (model)?
Is there a menu item "Allow restricted settings" under App info → ⋮?

Did you try with the APK?
The Companion app does not declare WRITE_SETTINGS in the Manifest. So this permission cannot be granted with the Companion app.

redmi14c

What I'm looking for is for the screensaver to be blocked only when the app is running.

I was thinking of something like simulating a click every so often to keep the screen on.

How about answering this question? @elmachi130

When installed as an APK, it works—the screen dims.

However, it becomes difficult to find the restore button.

Restoring it should be as simple as tapping anywhere on the screen.

Regards.

Simply swipe up slightly from the bottom edge to restore the brightness.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.