system restart after being left idle,(OS catalina)

So when I leave my system idle for like 10min, either the system reboot itself, or my computer's USB ports stop working, which then I need to restart the OS. Does anyone what the problem might be? One thing is that if I'm downloading something with the system being idle, then the issues I mentioned won't happen.

submitted by /u/Allenhe777
[link] [comments]