I think the issue you're seeing is likely to be related to this upstream issue:
set LidSwitchIgnoreInhibited to no by default https://github.com/systemd/systemd/issues/3897 As a workaround, I've got LidSwitchIgnoreInhibited=no in my logind config.
I think the issue you're seeing is likely to be related to this upstream issue:
set LidSwitchIgnoreInhibited to no by default https://github.com/systemd/systemd/issues/3897 As a workaround, I've got LidSwitchIgnoreInhibited=no in my logind config.