construction of battery charging system