M1 MacBook Pro restarting when the lid is closed
My M1 MacBook Pro is restarting randomly. It does not show any kernel panic after restart. After restart, it just works normally like it would when manually restarted. It specifically restarts when I close the lid and leave it for some time. Although the time it takes to restart after closing the lid varies, if I leave it closed for a long period of time (like overnight), I can see that it has restarted.
I have done the following things:
- Boot in safe mode
- Run diagnostics (no issues were reported)
- Do first aid on all the disks using Startup Disk Utility
- Reinstall MacOS (Currently using MacOS Ventura)
and the issue still persists.
MacBook Pro 16″, macOS 13.6