How the humble battery can save the world