Efficiency and Design of Batteries