Same issue on my daughter's older Macbook Pro retina 13-inch 11,1 Late 2013.
She was running Mojave and had a nearly full 120 GB Hard-drive. She was having performance issues because of the full drive. The described restarting behavior did not exist at that time.
I replaced the HD with a new 480 GB Internal SSD (from OtherWorld Computing) and migrated the files with time machine. I also installed TechTool and Norton 360.
Unattended restarts began after that--usually in the middle of the night or early morning with the laptop closed but sleeping.
I first did a scan with Techtool and found a single voltage issue that I believe is traceable to a third party power adapter--which I am replacing (not yet arrived). This problem pre-existed the restarting issue as it was detected on a tech tool scan months ago. Not likely the cause of this new behavior.
I found no other issues with TechTool. I cleared the pRAM. It did not fix the restarts. I upgraded the software to Catalina from Mojave. It did not fix the restarts. I recleared the pRAM. No improvement.
My next steps are to open the laptop and recheck the HD connections. If that does not fix the issue, I will uninstall Norton and Techtool to see what happens. I will also check if a new power supply helps, but she has had the current non-apple power supply for months but only experienced restarts since the HD update.
The most likely culprit is the new HD. The problem existed before and after Catalina, so I can't blame it on the Catalina OS. There are no attached peripherals. The machine was not plugged in during the restarts. I am attaching the crash error log below in case it's helpful to someone.
Please post solutions and I will post updates as I experiment further.
SC
ERROR LOG
"Sleep Wake failure in EFI
Failure code:: 0x0171260e 0x0000001f
Please IGNORE the below stackshot
================================================================
Date/Time: 2020-05-25 09:00:47 -0400
OS Version: ??? ??? (Build ???)
Architecture: x86_64
Report Version: 29
Data Source: Stackshots
Shared Cache: 0x3854000 F8606D3D-D364-3606-8977-30ED3C0DB8D4
Event: Sleep Wake Failure
Duration: 0.00s
Steps: 1
Time Awake Since Boot: 19s
Process: swd [396]
Architecture: x86_64
Footprint: 428 KB
Start time: 2020-05-25 09:00:47 -0400
End time: 2020-05-25 09:00:47 -0400
Num samples: 1 (1)
Thread 0x794 1 sample (1) priority 3 (base 4)
<thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2>
1 start + 1 (libdyld.dylib + 109769) [0x7fff6a95bcc9] 1
1 ??? [0x10042a454] 1
1 ??? [0x10042a1dd] 1
1 __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 135862) [0x7fff6aabd2b6] 1
*1 ??? [0xffffff80002c8206] 1
*1 ??? [0xffffff80009875f7] 1
*1 ??? [0xffffff80008a0001] 1
*1 ??? [0xffffff80002eb9e7] (running) 1
Binary Images:
0x7fff6a941000 - 0x7fff6a977fff libdyld.dylib (750.5) <D2A07EF5-A64B-3692-BE13-89DAA2EC5E80> /usr/lib/system/libdyld.dylib
0x7fff6aa9c000 - 0x7fff6aac8fff libsystem_kernel.dylib (6153.101.6) <E76440E1-D1E8-3D9A-8B47-D01F554FF1C4> /usr/lib/system/libsystem_kernel.dylib
Model: MacBookPro11,1, BootROM 151.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.4 GHz, 4 GB, SMC 2.16f68
Graphics: kHW_IntelIrisItem, Intel Iris, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x802C, 0x344B54463235363634485A2D314736453120
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x802C, 0x344B54463235363634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1600.4)
Bluetooth: Version 7.0.4f6, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2"