I've come accross this issue on a few occasions (2 different EOS cameras), but its only ever happened very, very rarely (once or twice in a couple of years use). As nirofo says probably just a build up of electrical resistance over time. Also worth having a spare battery on tap.

Glad you got it fixed.