Battery voltage monitor and AD conversion for XIAO_ESP32C

Thanks for the technique. I am using this and it works wonderfully. I have a concern though:
My max measurement is around 4.2V on full charge, which is as expected. However, my lowest measurement could go all the way down to 2.8V (or may be further), which I believe may damage lithium batteries.

Doesn’t the xiao esp32c ldo have a cut off value that is safe for lithium batteries? If not, how could I enforce this in HW?