aboutsummaryrefslogtreecommitdiff
path: root/examples/sms-send-python
diff options
context:
space:
mode:
authorArnav Singh <me@arnavion.dev>2024-12-22 16:48:06 -0800
committerArnav Singh <me@arnavion.dev>2025-01-22 08:42:02 -0800
commit5eb8203f8eba57aca55f67d63b309522c281e353 (patch)
tree236b2407c527e030fb898f084ace57e3f02c4649 /examples/sms-send-python
parent18f6190ff233f06c5a2e825dd0db188bfc52e030 (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/sms-send-python')
0 files changed, 0 insertions, 0 deletions