MacBook Air restarts on its own
My MacBook unexpectedly restarted when I connected the charger (the lid was closed at the time).
Following the reboot, a message indicating a kernel panic, specifically AppleDCPDPTXPowerController.cpp:564, was displayed.
Note: There's no liquid or physical damage to my Mac.
Things which I've tried to resolve the issue:
- Running Apple Diagnostics, which yielded no results.
- Updating macOS.
Could someone please assist in identifying the potential cause of this problem?
I have attached the error message file that appeared after the reboot.
MacBook Air, macOS 15.4