If you suddenly lost power to everything, and you just had the battery changed a few weeks ago, chances are that your battery terminals came loose. Check both, your ground and your pos+ to see that they are secure.
This is all considering you had the proper spec alternator and battery installed. If you didn't, then it can be that you are not getting the proper charge needed.
BMW...Now you're playing with power.