How to check your arduino's battery pack level?

Connecting batteries directly to an analog pin is a bad idea without a divider network made to suit the particular voltage of the particular battery.
That at least offers some protection to the analog pin.

Simple enough to do as shown here