https://bugs.kde.org/show_bug.cgi?id=485623

--- Comment #2 from Oded Arbel <o...@geek.co.il> ---
(In reply to Jakob Petsovits from comment #1)
> * In the absence of observable inhibitor change signals from systemd, if an
> inhibitor was present on lid closure, add a polling timer to periodically
> call PolicyAgent::checkLogindInhibitions() as long as the lid is still
> closed. Stop polling when the lid gets opened again.
> 
> * Execute the suspend action if the lid-switch inhibitor policy disappears
> while the lid is still closed.

This is an important behavior - thanks for noting that. I've also failed to
identify a way to implement this behavior without polling - and "polling
sometimes" is even worse than "polling all the time". If that is the case, and
as long as the systemd-logind RFE has not been rejected - maybe waiting for
systemd-logind support is the right choice.

In the mean time - maybe it is possible to implement a PowerDevil setting of
"don't inhibit lid-switch and let systemd-logind handle lid switch"?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to