Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Screen dimming in Termux settings #3838

Open
Kovaelin opened this issue Feb 14, 2024 · 1 comment
Open

[Feature]: Screen dimming in Termux settings #3838

Kovaelin opened this issue Feb 14, 2024 · 1 comment

Comments

@Kovaelin
Copy link

Kovaelin commented Feb 14, 2024

Feature description

Since newer versions of Android are having trouble keeping the app running in the background while locked, would it be possible to add something in the settings that could dim the screen (all the way to 0% is desired) while still having the app active (without disabling or locking the screen)?

Acquire wakelock and keeping the screen on allow Termux to stay active, but right now, there doesn't seem to be a way to power down the screen without Termux getting interrupted a short time later.

Perhaps setting presets for brightness percentage and then tapping the screen again after would revert it to the previous brightness would work.

Additional information

Most Android settings do not allow you to turn down brightness all the way to 0%. Will need a way to make sure user does not get stuck at 0% if turned all the way down.

The built-in screen saver available in Android 11 does have an extra dim feature, but either the screen saver locks the phone or moving away from the app, results in it no longer being the active application.

Others separate apps that do this are:

@tareksander
Copy link
Member

Nice idea, should be possible with this I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants