monitor bbb power supply

Is there software that can be used on the beaglebone black to monitor the voltage on the barrel connector?