Autosuspend doesn't kick in when block sleep inhibitors are used
Description
If a block sleep inhibitor is taken, autosuspend is blocked. As soon as the inhibitor is released, autosuspend is not reevaluated. Only after user interaction, the autosuspend timer is restarted.
Current behavior
Autosuspend does not kick in when a block suspend inhibitor is released.
Expected behavior
Autosuspend does not kick in until the user interact with the device.
Environment
- PinePhone v1.2a
- Phosh 0.8.0
- GNOME Settings Daemon 3.38
- elogind 246.9.2
- postmarketOS edge with Linux 5.11
Notes
I would provide logs, but I cannot find how to get them :/