Why the question is even asked is confusing to me. Be happy that the drone and software were cautious enough to come home. Switch batteries and fly with an intact drone. Clear skies to you and all.
The question was asked because the drone was only 50 feet from home and 5 foot altitude when it determined to RTH at 17% battery level.