Bug 369584

Summary: Inactivity in one session causes system to suspend when switching into that session, despite activity in other sessions
Product: [Plasma] Powerdevil Reporter: Akarsh Simha <akarsh.simha>
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: 5.7.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Akarsh Simha 2016-09-30 21:46:56 UTC
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.
Comment 1 Kai Uwe Broulik 2016-09-30 21:50:21 UTC

*** This bug has been marked as a duplicate of bug 354250 ***