Resting restores performance of discharged lithium-metal batteries