dawdwad wrote:
There are several threads describing this issue. Is it software or hardware related? Did anyone manage to solve it?
My Macbook Pro 2017 crashes every time it goes to sleep. However, only below a certain battery percentage and never when plugged in.
Nothing seems to help and I've tried it all (software updates, SMC/PRAM reset, clean reinstall, repartitioning the drive, ...) (wild guess: firmware issue?)
Have you tried resetting the SMC https://support.apple.com/en-us/HT201295
and
resetting NVRAM/PRAM http://support.apple.com/kb/ht1379
(get at least two-three rounds of the chimes when holding the NRAM Reset)
Kernel Panics are predominately caused by hardware faults or faulty third-party kernel extensions.
Learn what to do if your computer restarts or shuts down unexpectedly, or you get a message that your computer restarted or shut down because of a problem.
If your Mac spontaneously restarts or displays a ... - Apple Support
https://support.apple.com/en-us/HT200553
if no insight or resolve—
Shutdown Causes error codes from Terminal.app may or may not be helpful, copy & paste:
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
Get help with your Mac notebook battery
Learn how to optimize the life of the battery in your Mac notebook, fix battery issues, and get service.
https://support.apple.com/en-us/HT204054
If the battery in your 2016 or 2017 MacBook Pro won't charge past 1%—
The battery health status on these devices will also indicate "Service Recommended."
https://support.apple.com/en-us/HT212163
Service program:
https://support.apple.com/15-inch-macbook-pro-battery-recall