HITL battery fail-safe test

Hello,

we are using PX4 gazebo simulation for our HITL tests. Now I am wondering if it’s possible to test the battery fail-safe as well. Is it possible to somehow simulate battery drain to reach the critical battery levels to trigger the fail-safe?

Thanks in advance