It depends on the battery chemistry. Most lithium-ion batteries have a very low self-discharge rate, and they can last for several months if kept at a moderate state of charge. Store lithium-ion batteries at room temperature if possible.