ESP32 ADC measurment with variable input voltage?

3.6 x 1.015 = 3.654V . So no good
You need to charge it, then discharge it untll it's just below 3.6V