HP 840 G4 Ventura Hackbook doesn't want to go sleep sporadically

I have set up a hackintosh running Ventura 13.6.3 on a HP EliteDesk 840 G4 with OC. Everything is fine except for an issue that comes up sporadically after some days and successful sleep wake cycles. In those cases I can't put the Laptop to sleep as it wakes immediately with a black screen, in some instances I can't even shut it down as it reboots automatically.

When i check the wake reason i get the following:

airportd: (IO80211) [com.apple.WiFiManager:] Info: <airport\[227\]> systemWokenByWiFi: System wake reason: <XDCI>, was not woken by WiFi

I disabled hibernation and all possible wake reasons like wake on WIFI etc.

Does that sound familiar to anyone?

Did you figure out what causes that and how to fix it?

submitted by /u/Whatever--works
[link] [comments]