Lithium battery automatically stores voltage