Measuring voltage of own battery

Thank you for your support and the great explanation!!
While I tested a voltage divider I recognized that on the Lipo charger the battery in/out and the normal in/out pins are just connected -
So the Arduino voltage was always the same as the battery voltage. Therefore, it always got 1023 while comparing...