Improvement of flexible lithium battery shelf life by pre-discharging