I finally managed to fix this using the answer linked here: https://askubuntu.com/questions/1500474/cant-suspend-sleep-after-upgrade-to-23-10/1502550#1502550. It was due to some broken nvidia-related symlinks.
I finally managed to fix this using the answer linked here: https:/ /askubuntu. com/questions/ 1500474/ cant-suspend- sleep-after- upgrade- to-23-10/ 1502550# 1502550. It was due to some broken nvidia-related symlinks.