There was a bulletin/recall regarding the connection between the battery and the junction box electronics in the front. At the terminal, it would end up getting burnt/corroded and eventually wearing out completely. Sometimes the damage would also extend to the JBE requiring replacement. It's not a very fun job to do.
Here's a video on an m3 but its the same idea.