Reading the battery voltage issues

i have not verified this but:

shouldnt you connect your measurement circuit to the - of the battery?

if you use the board-gnd you‘re reading the current board voltage, no matter where it comes from.

Greetings Boones