Setting Battery Monitoring in AruduCopter SITL

My understanding is that Arducopter SITL supports voltage and current battery monitoring. What are the correct settings to use with Mission Planner? I have been able to get current monitoring and % battery energy to work, by the voltage never decreases.

I think that is only available in github master and you do need to activate it using a SIM_* parameter