12v battery completely drained yesterday

My R1S 12v battery completely drained and the car bricked last night. I was not able to unlock the doors but the trunk was able to open with my phone key. Both screens were blank and the interior lights were flickering and progressively died.

I still had 38% of charge left, nothing was plugged in or running in the car. I left it parked for about 8 hours after normal daily operation. I plug the car in at home around every 2 days. The car has been towed to the service center.

Potentially related, I also had a “Motor Fault Detected” Error last week that disabled my car from driving (see pics). It said “All-wheel drive permanently engaged”. I did a hard reset and the car went back to normal. I submitted a service ticket for that as well prior to this issue.

I hope this gets resolved quickly. 🙏