Lithium battery emergency power supply maintenance plan