A new material makes lithium batteries longer-lasting and more efficient—great news for electric cars and clean energy storage.