Click on the link below and follow the steps indicated.

https://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/

If that doesn't help, then we need more information about your computer. Operating system (Assuming Windows 10, which version?, make and model, etc. Since the Legacy Kernal Caller issue is generally driver related, have you tried updating the drivers mentioned in the "powercfg" info? Or since it's usually a network internet controller driver, have you checked to make sure it's the latest version from the NIC manufacturer or the computer manufacturer? NOT the one from Microsoft.

Hope this helps and let us know more.

Grif