I was experiencing a loop where after suspending and resuming the laptop it would go back into suspend over and over again. To fix this just update /etc/default/grub
and add button.lid_init_state=open
to GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
I also had to add the following to stop errors during the update
GRUB_DISABLE_OS_PROBER=true
Then update GRUB
sudo update-grub
Update:
I found that I actually needed to replace gdm3 with lightdm to fix a different issue and this also resolved the suspend problems