Skip to content

Conversation

@zero41120
Copy link
Contributor

Description

  • Add a new option opts.prevent_screen_sleep_during_generation
  • Added a new feature to request a wake lock to prevent the screen from going to sleep during ongoing image generation progress.

Screenshots/videos:

  • Started a long job and walked away.
  • Came back to the screen still on, showing a job that could take more than 2 hours.
Screenshot 2024-06-11 at 17 40 34 - Setting page Screenshot 2024-06-11 at 17 43 30

Checklist:

  • I have read contributing wiki page
  • I have performed a self-review of my own code
  • My code follows the style guidelines
  • My code passes tests
    • Unable to verify tests fully. My MacBook Pro M3pro on master without any changes does not pass all tests.
    • Changes in this PR are UI only. No changes to Python or other server-side code. It is unlikely that these changes will affect existing functionality.

@zero41120 zero41120 requested a review from AUTOMATIC1111 as a code owner June 12, 2024 01:22
@AUTOMATIC1111
Copy link
Owner

AUTOMATIC1111 commented Jun 12, 2024

remove console.log; and the comment that says the same thing as the function name right after is somewhat redundant

@AUTOMATIC1111 AUTOMATIC1111 merged commit a30b19d into AUTOMATIC1111:dev Jun 12, 2024
@zero41120 zero41120 deleted the feat-prevent-screen-lock branch June 12, 2024 05:47
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

Successfully merging this pull request may close these issues.

2 participants