Square lithium battery with power regulation