construction of a battery and automatic battery charger