Lithium battery constant voltage charging design principle