measure the Gadget voltage by ADC0, and measure the corresponding current