"Sleep/Wakeup hang detected" on Macbook Pro
I keep getting the error below, whenever my MacBook Pro (13 inch 2019, Thunderbolt 3 ports) running MacOS 10.15.7 goes to sleep when it is disconnected from a power source (or any peripherals for that matter):
panic(cpu 1 caller 0xfffffff0256548a4): "Sleep/Wake hang detected"
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 18P4346
macOS version: 19H512
Kernel version: Darwin Kernel Version 20.3.0: Tue Jan 5 18:50:06 PST 2021; root:xnu-7195.80.35~4/RELEASE_ARM64_T8010
Kernel UUID: C7A021A0-C976-37C8-B2E7-A18B3A7CD973
iBoot version: iBoot-6723.80.19
secure boot?: YES
x86 EFI Boot State: 0x16
x86 System State: 0x1
x86 Power State: 0x1
x86 Shutdown Cause: 0x5
x86 Previous Power Transitions: 0x100010001
PCIeUp link state: not available
Paniclog version: 13
Kernel slide: 0x000000001d9cc000
Kernel text base: 0xfffffff0249d0000
mach_absolute_time: 0x34441cb9647
Epoch Time: sec usec
Boot : 0x60534f71 0x000497ca
Sleep : 0x60553939 0x000c4b74
Wake : 0x605544eb 0x000355c9
Calendar: 0x6055d242 0x000cd751
Panicked task 0xffffffe19b37aaa8: 3487 pages, 217 threads: pid 0: kernel_task
Panicked thread: 0xffffffe19ba5e578, backtrace: 0xffffffe801ac3860, tid: 105034
lr: 0xfffffff0250fc494 fp: 0xffffffe801ac38a0
lr: 0xfffffff0250fc2f0 fp: 0xffffffe801ac3910
lr: 0xfffffff025222d7c fp: 0xffffffe801ac39e0
lr: 0xfffffff0257115fc fp: 0xffffffe801ac39f0
lr: 0xfffffff0250fc024 fp: 0xffffffe801ac3d70
lr: 0xfffffff0250fc024 fp: 0xffffffe801ac3dd0
lr: 0xfffffff0260f2af8 fp: 0xffffffe801ac3df0
lr: 0xfffffff0256548a4 fp: 0xffffffe801ac3e10
lr: 0xfffffff0251469cc fp: 0xffffffe801ac3f00
lr: 0xfffffff02571c5a0 fp: 0x0000000000000000
MacBook Air 13″, macOS 10.12