Thanks for the update. Wouldn't have thought that the battery you just bought was not fully charged. Now I am wondering what the heck is that wire on my car?!
If no codes are being thrown use Chevron Techron fuel injector cleaner (concentrate). It solves rpm fluctuating upon cold start-up. Also, for most BMW problems start off by scanning your car with the Peake Research Tool. It contains the actual BMW codes. If you want to register a newly installed battery for free (just buy a $10 cable) go here http://www.e90post.com/forums/showthread.php?t=727091