The LM3914A bargraph LEDis used here as a voltmeter for battery testing. The circuit is powered by a 4.5-V battery and compares the battery under test with an internally derived reference, set by R1/R2/P1. Each LED of the 10 represent 10% of full scale.
For best results, the battery (D.U.T.) should be loaded with an appropriate resistor.