Measure supply voltage through ADC