I had a bunch of electrical "weirdness" with my 530i - including some random error messages, and a fan that was stuck on high even when the car turned off (reset only when I locked the car). All was traced to a loose ground connector, hasn't happened since.