It does serve a good purpose while providing some cool air to the battery, when a battery is charging it creates a really nice combustable gas called hydrogen so the air flow helps to dissapate the gas under the bonnet or well at least mix it up so that it doesn't settle in a low spot in the engine bay. This is a highly unlikely outcome of things but you never know you could be the lucky guy that it goes bang on.