I use elementary 5.1.5 updated to 5.1.7 and every time I don't use de laptop for a few minutes, it hangs. One problem is that the wifi stop working. It's like it looses the connection. The software power button doesn't work as well. The only option is to turn-off the PC using the hardware power button. The same also happened with other ubuntu systems, like xubuntu, Zorin and kubuntu. On the other laptop where I'm using xubuntu this doesn't happen. This laptop is a Samsung NP905 with an AMD processor.