I want to simulate voltage drop in mission planner

I want to simulate voltage drop in the mission planner. As the battery reduces the voltage should drop. It is not a feature now, I have tried using a few scripts but not working. What should I do?