It seems like sometimes when put into sleep mode, the computer is not correctly pausing processes, even though the screen turns off. I will pick up the computer 30 minutes later and the fans are spinning quickly and the battery is draining.
I'm not sure how to diagnose or where to start with solving it. Hardware is Ryzen 4500u in an HP Envy x360 laptop.