Sleep problem on Catalina hackintosh

Hi, I have installed the mostly working hackintosh in my pc. The only thing not working is sleep. I'd appreciate advice on how to fix this issue.
Specs:
Gigabyte H77m-d3h mobo
8gb ddr3 1600mhz
Intel I5 3470
AMD hd7770

Author: ceshehan