I'm using sddm as my session manager. Let's suppose that on my laptop, I have two user sessions open, with different users User1 and User2, which I can access by hitting Ctrl + Alt + F1 and Ctrl + Alt + F2. Let us also suppose that my laptop is disconnected from the power. Suppose I've opened and logged into User2, and then have switched back to User1 and spent ~ 30 minutes there. When I switch back to User2 after this period, within a few seconds, my laptop suspends. It looks like inactivity in a session for an extended period of time causes the laptop to suspend when switching into that session, despite having activity in other session(s). Reproducible: Always Steps to Reproduce: 0. Unplug laptop from power supply 1. Create a new session for a different user 2. Switch back to old session and spend ~ 30 minutes there 3. Switch to the new session Actual Results: Laptop should suspend within a few seconds, if not a minute. Expected Results: Laptop should not suspend.
*** This bug has been marked as a duplicate of bug 354250 ***