Sometimes i can't wake up my laptop after gnome has automatically made it go to sleep

Hi!, I thought it happend once and i thought it was
just a bug but today it happend the second time:

Gnome went to automatic sleep because
of inactivity, but when i tried to wake up
my laptop from this sleep i didn’t succeed.
The power indicator didn’t indicate sleep
but i wasn’t able to see anything on my
screen.

The last log entry is „PM: suspend entry (deep)”
My laptop is ASUSTeK COMPUTER INC. ASUS TUF Gaming F15 FX506LU_FX506LU
My CPU is Intel® Core™ i5-10300H
And i’m running fedora silverblue 40.20240817.0

What could be the problem and is it
hardware related?