Constant current power supply for lithium battery