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

Disable autosuspend on Gnome based desktops #6742

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Disable autosuspend on Gnome based desktops #6742

merged 1 commit into from
Jun 14, 2024

Conversation

igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented Jun 14, 2024

Description

Jira reference number AR-2368

How Has This Been Tested?

  • Generated Gnome desktop image didn't go into suspend by default

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added the size/small PR with less then 50 lines label Jun 14, 2024
@igorpecovnik igorpecovnik added Bugfix Pull request is fixing a bug 08 Milestone: Third quarter release Needs review Seeking for review and removed size/small PR with less then 50 lines labels Jun 14, 2024
@github-actions github-actions bot added the Hardware Hardware related like kernel, U-Boot, ... label Jun 14, 2024
@ColorfulRhino
Copy link
Collaborator

Does this disable the ability to automatically go into sleep after a set time completely or does this merely change the default behaviour on a fresh install?

@igorpecovnik
Copy link
Member Author

This just disable default auto-suspend. User can set it back to desire number. It seems Gnome set it this way and distributions has to deal with it: https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-user-inactivity-even-on-ac-power/79801

Copy link
Collaborator

@ColorfulRhino ColorfulRhino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, the "ac" implies it is on ac power.
Haven't tested if the fix works, but the setting seems to conform with https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-user-inactivity-even-on-ac-power/79801

@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge and removed Needs review Seeking for review labels Jun 14, 2024
@github-actions github-actions bot added the size/small PR with less then 50 lines label Jun 14, 2024
@igorpecovnik igorpecovnik merged commit 5ea4a2c into main Jun 14, 2024
@igorpecovnik igorpecovnik deleted the AR-2368 branch June 14, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
08 Milestone: Third quarter release Bugfix Pull request is fixing a bug Hardware Hardware related like kernel, U-Boot, ... Ready to merge Reviewed, tested and ready for merge size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

2 participants