Di2 battery question

I did recently go out to ride my bike and found my Di2 battery was completely dead, and I know it was plenty charged when I parked it. Maybe there is a random fault where the unit stays powered on?

It has only happened once so far in 10kish miles.

Given that I hate electronic shifting already, it didn’t put me in a good mood