Battery voltage and current sampling chip