I have a 2018 15" MBP which randomly shuts down or goes to sleep. When it shuts down it appears to Crash Stop and when trying to reboot it shows the System Low battery graphic.
When plugging in the mains plug and booting it shows the battery has plenty of charge (in excess of 50% charge)...