Revert "Port: Wake on plug (2/2)"

This reverts commit 03f3a129f7d87c0b3162ea948fd845a4512830d1.
Fix 5.0.1 merge errors