No, the robot mower battery will not die in the middle of cutting your lawn. We program it to head to it's docking station when it reaches 20% capacity. 

This insures that even if the robot mower is at the farthest point from it's docking station it will head back to the docking station to recharge before dying.