The fan is'nt staying on as this is whot was happening to my s1 not long ago
If you got a multie meter start the car turn all the light on and fans ect even stereo and see whot the voltage reads on the battery should be at least 12 vols and 13 to 14 volts when carging with nothing turn on ect
Hope this helps you sort the problem out