• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      In the unending saga of elogind problems, I am having an issue where elogind, when it is active for power management, suspends my system when I log out of sddm, when I am attached to AC power.

      Sddm itself has elogind support disabled, although this doesn't affect much other than work around other elogind bugs.

      This is getting ridiculous. In the amount of time I have spent trying to get elogind to work, I could have rewritten it about 5 times.

      The reproduction steps:

      1. Make sure laptop is plugged in to AC power (this may also happen when laptop is not plugged in, but definitely SHOULD NOT HAPPEN when the laptop is plugged in!)
      2. Log out of GNOME/SDDM session with laptop lid closed and external monitor attached.
      3. elogind will proceed to suspend the system.

      Hardware: Lenovo Thinkpad P1 Gen 1.

      Workaround, which completely resolves the issue: Disable power management in elogind by ensuring the following options are enabled:

      [Sleep]
      AllowSuspend=no
      AllowHibernation=no
      AllowSuspendThenHibernate=no
      AllowHybridSleep=no
      

            Unassigned Unassigned
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: