Hello, in Making sure you're not a bot! we identified nvidia-sleep.sh as the cause for re-suspend of running NVIDIA drivers.
From: https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/powermanagement.html:
/usr/bin/nvidia-sleep.shA shell script used by the systemd service description files and the systemd-sleep file to interact with the
/proc/driver/nvidia/suspendinterface. The script also manages VT switching for the X server, which is currently needed by the NVIDIA X driver to support power management operations.
The part about VT switching is what trips GNOME settings daemon. Upon resume it notices that the active “seat” isn’t what was the session associated with, and decides that this is a temporary “unidle” of the device.
While we are still figuring what the correct process on the gsd-power side, is VT switching needed if the system does not run X server?