You can read the battery voltage using the following command:
qdbus --system ch.epfl.mobots.power /battery ch.epfl.mobots.power.battery.GetVoltage