Carlsbad company's tech may stop batteries from igniting