You need to disconnect the charging circuit in order to check if the batery voltage is equal to full voltage.,
otherwise it checks the charging voltage and detects, which is wrong. there after you can use a simple compare to detect the voltage.
Load must also be disconnected.
Plus the internal resistance times the charging current.Not entirely correct, you can check a battery's true voltage while it is charging if the voltage reading comes directly from the tabs of the batteries
This should yield the voltage of the battery, rather than a charge/discharge voltage, though you will sometimes get discrepancies when close to fully charged/discharged