Voltage divider and battery monitor

The analog pins can handle 5v

Only if the supply voltage is 4.5volts or above.
I don't think we have that item of information.