Mac is using 100% CPU while it is OFF
I'm wondering if this is the "Power Nap" feature of macOS...

Check System Preferences > Energy Saver

Is Power Nap checked? That feature will let the Mac do some things in the background while sleeping. Things that use little actual battery power. That is shows 100% CPU usage is odd, so I am not certain this is Power Nap.