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:


  1. Running Apple Diagnostics, which yielded no results.
  2. 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

Posted on Apr 13, 2025 11:49 PM

Reply
1 reply

Apr 14, 2025 1:25 AM in response to utkarsh265

utkarsh265 wrote:

1. 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.
2. 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.
<Reboot-message-file.log>


Prevent a Mac laptop from turning on when opening its lid or connecting to power


Was there an External Display / Monitor attached when the computer Automatically turn on ?



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacBook Air restarts on its own

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.