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

If "suspend when inactive" is enabled, system goes to sleep despite io.elementary.files copying files. #262

Open
deafboy opened this issue Mar 12, 2024 · 1 comment

Comments

@deafboy
Copy link

deafboy commented Mar 12, 2024

What Happened?

While copying files from the phone over MTP, using io.elementary.files, system went to sleep due to inactivity.

Steps to Reproduce

  1. Set "Suspend when inactive" timer
  2. Connect an Android device
  3. Start a large copy job from the phone to a home folder
  4. See it go to sleep in the middle of the job

Expected Behavior

Long running tasks should count as activity.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

HP EliteBook 8460p

@jeremypw
Copy link
Collaborator

Looks like Files does try to inhibit going to sleep using Gtk.Application.inhibit during file operations so maybe the system is not properly honoring that interface?

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