I do not have the solution to your problem but I may have a hint. I had this exact problem years ago. The only thing I recall is that there is a difference between sleep and hibernate and maybe your computer goes in hibernation mode. Try disabling it to see if the cause is sleep mode or hibernate mode (or both).
Sorry I don’t have the solution. If you find it, let us know!
Edit: you may want to look at this https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/powermanagement.html
Discovered about rg recently and it is cool!