Sleep Wake failure in EFI
13" Macbook Pro 2012. MacOS Catalina. Running on SSD.
Every time my battery dies while I am using it without having it plugged in, the screen goes black for a few minutes (during which no trackpad touch or keystrokes or power button) work to turn on or restart the computer. After a few minutes, the power button works again and the computer Restarts, prompting for login. Once I am booted up, the windows start re-appearing and I get an error pop-up and subsequent details, that saying:
"Your computer restarted because of a problem"
> More Info (error report) [pasted below]
This has been happening only within the last year. If I recall correctly, having run on various SSDs for about a decade, the computer should be able to go to sleep and wake-up, reloading my system and all its open windows without Rebooting.
Is it typical and expected that Macbook systems running on SSDs will crash as a result of a batter power running out?
If not, how can I get my computer to not crash every time my battery dies? I may well have a bad habit of letting the battery die, but it seems to me there had to be a way for the computer to respond to low battery power not with just a warning, but a sleep mode.
Diagnostics Report
==
Sleep Wake failure in EFI
Failure code:: 0x01710875 0x0000001f
Please IGNORE the below stackshot
================================================================
Date/Time: 2020-04-22 23:15:39 -0500
OS Version: ??? ??? (Build ???)
Architecture: x86_64
Report Version: 29
Data Source: Stackshots
Shared Cache: 0x32af000 DB5CC305-DEB5-3361-B12A-7D121B055C6A
Event: Sleep Wake Failure
Duration: 0.00s
Steps: 1
Time Awake Since Boot: 47s
Process: swd [407]
Architecture: x86_64
Footprint: 416 KB
Start time: 2020-04-22 23:15:39 -0500
End time: 2020-04-22 23:15:39 -0500
Num samples: 1 (1)
Thread 0xabe 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) [0x7fff6a4dfcc9] 1
1 ??? [0x10dc8b454] 1
1 ??? [0x10dc8b1dd] 1
1 __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 135862) [0x7fff6a6412b6] 1
*1 ??? [0xffffff80002c8206] 1
*1 ??? [0xffffff80009875f7] 1
*1 ??? [0xffffff80008a0001] 1
*1 ??? [0xffffff80002eb9e7] (running) 1
Binary Images:
0x7fff6a4c5000 - 0x7fff6a4fbfff libdyld.dylib (750.5) <D2A07EF5-A64B-3692-BE13-89DAA2EC5E80> /usr/lib/system/libdyld.dylib
0x7fff6a620000 - 0x7fff6a64cfff libsystem_kernel.dylib (6153.101.6) <E76440E1-D1E8-3D9A-8B47-D01F554FF1C4> /usr/lib/system/libsystem_kernel.dylib
Model: MacBookPro9,2, BootROM 231.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 2.9 GHz, 16 GB, SMC 2.2f44
Graphics: kHW_IntelHD4000Item, Intel HD Graphics 4000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x43543130323436344246313630422E4D3136
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x43543130323436344246313630422E4D3136
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (7.21.190.33 AirPortDriverBrcm4360-1601.1)
Bluetooth: Version 7.0.4f6, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Samsung SSD 850 PRO 256GB, 256.06 GB
Serial ATA Device: TOSHIBA MK2555GSXF, 250.06 GB
USB Device: USB 3.0 Bus
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
MacBook Pro 13", macOS 10.15