This will depend on the battery being used, how it is stored and what temperature it may be in. For example a lithium-ion battery should not be stored outside of its recommended storage temperature range as this can cause cell damage or even fires to start.