Skip to content

feat: respect systemd inhibit locks#761

Merged
languitar merged 1 commit intomainfrom
feature/respect-systemd-inhibitions
Feb 15, 2026
Merged

feat: respect systemd inhibit locks#761
languitar merged 1 commit intomainfrom
feature/respect-systemd-inhibitions

Conversation

@languitar
Copy link
Owner

In case a systemd inhibit lock is active, autosuspend will not suspend the system. Once the lock is released, the next processing iteration will suspend immediately in case no new activity has been detected.

Fixes #408

@languitar languitar force-pushed the feature/respect-systemd-inhibitions branch from d9f4df1 to 79120b4 Compare February 13, 2026 15:02
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.63%. Comparing base (c102932) to head (d5fb833).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #761      +/-   ##
==========================================
+ Coverage   95.50%   95.63%   +0.13%     
==========================================
  Files          20       20              
  Lines        1334     1353      +19     
  Branches      117      120       +3     
==========================================
+ Hits         1274     1294      +20     
+ Misses         46       45       -1     
  Partials       14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@languitar languitar force-pushed the feature/respect-systemd-inhibitions branch 2 times, most recently from af4944d to 19885e4 Compare February 13, 2026 22:01
In case a systemd inhibit lock is active, autosuspend will not suspend
the system. Once the lock is released, the next processing iteration
will suspend immediately in case no new activity has been detected.

Fixes #408
@languitar languitar force-pushed the feature/respect-systemd-inhibitions branch from 19885e4 to d5fb833 Compare February 13, 2026 22:03
@languitar languitar merged commit 1a54610 into main Feb 15, 2026
12 of 13 checks passed
@languitar languitar deleted the feature/respect-systemd-inhibitions branch February 15, 2026 23:24
@renovate-releases
Copy link

🎉 This PR is included in version 10.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autosuspend should respect systemd inhibit locks

1 participant