Unplugging from power is not regarded as input event
In the power menu in Settings, I set my laptop to auto-suspend after 30 minutes of inactivity.
Current behaviour: If I leave it on my desk, open and charging, for more than 30 minutes, and I come back to take it somewhere else without closing it, it displays a notification that it will be suspended soon due to inactivity.
Expected behaviour: since unplugging requires user intervention, I would expect the laptop to stay awake for another 30 minutes after unplugging.
Version: gnome-settings-daemon-3.38.0-1.fc33.x86_64
, Fedora Silverblue 33
Edited by Juraj Fiala