diff options
author | Arnav Singh <me@arnavion.dev> | 2024-12-22 16:48:06 -0800 |
---|---|---|
committer | Arnav Singh <me@arnavion.dev> | 2025-01-22 08:42:02 -0800 |
commit | 5eb8203f8eba57aca55f67d63b309522c281e353 (patch) | |
tree | 236b2407c527e030fb898f084ace57e3f02c4649 /examples/modem-watcher-python/ModemWatcher.py | |
parent | 18f6190ff233f06c5a2e825dd0db188bfc52e030 (diff) |
suspend: support logind not sending PrepareForSleep(true)
elogind sends PrepareForSleep(false) when resuming but doesn't necessarily
send PrepareForSleep(true) when sleeping. This means we didn't necessarily
drop our previous inhibitor when it's time to take a new one. So instead of
asserting that we dropped our previous inhibitor, just reuse it.
Diffstat (limited to 'examples/modem-watcher-python/ModemWatcher.py')
0 files changed, 0 insertions, 0 deletions