# Goto /proc/acpi/battery directory and go to directory name based on your battery type (i.e. C1AC)
cd /proc/acpi/battery/C1AC# Cat the content of state file and grep only the voltage
cat state | grep "present voltage"# We will get output like this:
present voltage: 16410 mV
The voltage consumed is shown in mV. Enjoy!