High-precision single-cell lithium battery constant current / constant voltage linear charge and discharge controller