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

Provide way to go application in sleep mode #122

Open
rat-moonshine opened this issue Jul 19, 2024 · 9 comments
Open

Provide way to go application in sleep mode #122

rat-moonshine opened this issue Jul 19, 2024 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rat-moonshine
Copy link

Currently it is annoying to see that SHI prevent my system to go in sleep mode.

Allow an option in settings to tell application not to prevent the OS to go in sleep mode.

System.allowScreenTimeout = true|false

@rat-moonshine rat-moonshine added the bug Something isn't working label Jul 19, 2024
@JoelProminic JoelProminic added this to the v0.11.0 milestone Aug 14, 2024
@JoelProminic
Copy link
Contributor

@rat-moonshine is reporting that this continues to be disruptive for him, so we would like to get this added soon.

This should be added as an option under the "Settings" tab. We already implemented this for GBAuth and Native:
image

piotrzarzycki21 added a commit that referenced this issue Aug 30, 2024
- Switch to official build of lime 8.1.3
- Update hxcpp to 4.3.62
(reference #122)
@piotrzarzycki21
Copy link
Contributor

@rat-moonshine This feature has been added to Settings in development version 0.10.3. You should get prompt with update. Let me know if it's working correctly.

Screenshot 2024-08-30 at 14 33 11

@rat-moonshine
Copy link
Author

rat-moonshine commented Aug 30, 2024

I gave some quick tests to prevent system from sleep = false, and that seems to be working accordingly.

Is prevent system from sleep = false is default behaviour when the app updates?

@rat-moonshine
Copy link
Author

Maybe, this is not working correctly when I restarted SHI after setting prevent system from sleep = false in settings and save. System is not turning to sleep mode even after waiting long time.

@piotrzarzycki21
Copy link
Contributor

Is prevent system from sleep = false is default behaviour when the app updates?

Yes default is false.

@piotrzarzycki21
Copy link
Contributor

Maybe, this is not working correctly when I restarted SHI after setting prevent system from sleep = false in settings and save. System is not turning to sleep mode even after waiting long time.

So it sounds like option does nothing ?

@rat-moonshine
Copy link
Author

Hi @piotrzarzycki21 so far that what I found. I shall try to give a retest at some time, but I'd recommend you also give some tests.

@piotrzarzycki21
Copy link
Contributor

I'm not sure what is the state of this issue. I'm moving this to the next version. Let me know if this did expected things or not.

@piotrzarzycki21 piotrzarzycki21 modified the milestones: v0.11.0, v0.12.0 Jan 23, 2025
@rat-moonshine
Copy link
Author

This behaviour still not working correctly in my tests to v0.10.16 Development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants