The metal enclosure is often connected to the negative of the battery, to prevent a large voltage difference from occurring between the electrical system and the chassis. In some cases, the enclosure is connected to the battery via a high impedance or over voltage protection devices such as MOVs or diodes. As a general rule of thumb, it's not good design practise to use the case as a return current path.