Idle period needs to be reset when computer is unplugged

Bug #1578428 reported by Zisu Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Switchboard Power Plug
Opinion
Undecided
Unassigned

Bug Description

I wasn't sure this should be filed against power plug, but feel free to change it.

If the computer has been on AC power but has been idle for more then the idle period defined in the power plug as "Sleep when inactive for" under the "On battery" tab, when it is unplugged it goes to sleep straight away.

So: computer initially on AC power, and has been idle for say 5 minutes. If it gets unplugged and the "Sleep when inactive for" for "On battery" is, for example, 1 minute, the computer goes to sleep straight away.

I believe unpluggin should be a "display of activity" and the counter should reset.

Revision history for this message
Zisu Andrei (matzipan) wrote :

Dan suggested it might be an issue with Gnome Power Manager. It needs tracking down and fixing in upstream.

Revision history for this message
kay van der Zander (kay20) wrote :

this is an opinion or gnome settings deamon issue, but only keyboard and mouse(also touch screen) is seen as user input. pulling out the power cord doesn't give the computer real user input.

if every I/O port should trigger as user input on any activity it will never sleep. because i/o activity as in usb driver polling presence of drives or sata driver for hard drives which handles kernel request are not always user input.

I therefore mark this as opinion.

Changed in switchboard-plug-power:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.