measuring battery voltage

Are you sure about that?

10k is the magic number.

If you have to go above it, use a small capacitor there.