update the ADC_BATTERY for mid