This seems like a general problem, not specifically Linux-related. On my particular HP Laptop, I have the reverse issue.
On Windows sleep is a shitshow. It sometimes wakes up if I leave it alone during the night, it sometimes doesn't sleep at all (the screen stays on), it sometimes completely breaks (fans go full tilt, screen backlight comes on, but that's it) and I need to do a full reboot to make it work.
On Linux: press sleep, and it sleeps. Press power, it wakes up. If it sleeps, it stays asleep. When it turns on, the computer is actually usable, no forced reboot required.
This despite the fact that "HP recommends Windows 11", and the support page has no idea Linux even exists.
This is also my experience on a HP ZBook from 2014, with an Nvidia Quadro that is about to become unsupported. The two minor problems I have are: shut down (very rare operation) results in a reboot so I have to press the power button when it starts rebooting; sometimes it resumes to a blank screen so I have to ALT F3 to console and ALT F2 to X11 to reset something. My session is preserved.
> It sometimes wakes up if I leave it alone during the night,
This is most likely wake timers. Some program or windows itself is waking your machine to do updates. Disabling wake timers will prevent anything from waking the machine while sleeping.
I don't think it's the timers. I have disabled them (though maybe not all / they've been reset by some update).
And this also happens during the day, say if I put it to sleep while going for a walk. It sometimes wakes up a few moments later, sometimes it'll sleep all the way.
My schedule is fairly regular, too, so unless the timers have large jitter, I'd expect them to trigger roughly at the same time (either after X time, or at Y hour).
This used to happen on Linux initially, too, and there were no timers there. I could stop it by disabling EC wake up. I've never found anything similar on Windows, so I just turn it off. At least it boots quickly...
On Windows sleep is a shitshow. It sometimes wakes up if I leave it alone during the night, it sometimes doesn't sleep at all (the screen stays on), it sometimes completely breaks (fans go full tilt, screen backlight comes on, but that's it) and I need to do a full reboot to make it work.
On Linux: press sleep, and it sleeps. Press power, it wakes up. If it sleeps, it stays asleep. When it turns on, the computer is actually usable, no forced reboot required.
This despite the fact that "HP recommends Windows 11", and the support page has no idea Linux even exists.