One person got it fixed by removing fuses for couple of minutes
https://f15.bimmerpost.com/forums/sh...1489340&page=2
You can give it a shot, doesn't cost you anything.
Battery replacement varies from dealer to dealer but usually it is around $400
But you can DIY
https://f15.bimmerpost.com/forums/sh....php?t=1626793