Laptop won't wake up after sleeping for a long time

If the laptop goes to sleep and I wake it after a short time, everything is fine.
But after a long time (Not sure how much probably more than an hour) it just won't wake up at all, the power button stops blinking (It blinks when it is sleeping) but the screen doesn't turn on or anything else, And I have to hold down to power button to force shutdown.
What's wrong?
I'm on Sonoma 14.7 using HP pavilion gaming 15-cx0056wm.

submitted by /u/FearlessYasuo
[link] [comments]
Share: