Macbook Air shuts down suddenly and battery drains completely.
I am currently using a MacBook Air 2020 (13-inch). Recently, my MacBook has been shutting down suddenly and its battery draining completely to 0% (while on sleep mode with the lid closed), despite there still being about 60-70% of battery left. I always leave it on sleep mode when not in use, and would use it without plugging the charger in the morning till evening, and only charging it at night before I sleep. This does not happen all the time, but it does happen quite randomly. What could be the reason for this?
MacBook Air 13″, macOS 14.3