BATTERY MACHINES FOR LEAD ACID AND LITHIUM ION BATTERIES