My Hackintosh seems to be restarting while asleep, can I have some guidance?

My computer is going to sleep fine and wakes up with a keyboard tap or a mouse jiggle but I've noticed that recently when it's been asleep for a more prolonged period, at some point or another, it restarts itself. Upon wake I'll be greeted with the log in screen and my programs will have to start back up. Not entirely sure what could be causing it since I created a custom USB Map using corpnewt's script and I'm no longer using USBInjectAll with a port patch. Is it possible the USBMap.kext could be what's causing the random restarts though? That's my first guess at least. Any other things I should be considering? Thanks for the help!

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