Defect spins in silicon carbide have become promising platforms with respect to quantum information processing and quantum sensing. Indeed, the optically detected magnetic resonance (ODMR) of defect spins is the cornerstone of the applications. In this work, we systematically investigate the contrast and linewidth of laser-and microwave power-dependent ODMR with respect to ensemble-divacancy spins in silicon carbide at room temperature. The results suggest that magnetic field sensing sensitivity can be improved by a factor of 10 for the optimized laser and microwave power range. The experiment will be useful for the applications of silicon carbide defects in quantum information processing and ODMR-dependent quantum sensing.