A new way to make batteries could boost their power and extend their useful lives.