...and no external display connected. This works around firmware and hardware quirks, which triggersome laptops to wake up at random or on specific events (like power state changes); in that case we'dwait until the idle timeout until suspending again - if the user even has that configured.With this, after 10s the system simply suspends again.
(cherry picked from commit 030ca568)
Co-authored-by: Xaver Hugl xaver.hugl@gmail.com