You can use Microsoft SimBatt for Windows OS in a VM. You can set low battery charge condition. You can toggle between DC (battery) and AC (plugged-in) power. It works for verifying all your power scenarios in a VM. I can't believe nobody else responded.