Why am I told to "Connect to a power source" for best results when installing/updating software?

I've experienced this when installing or updating a number of applications, most recently Logic Pro X. What's the reasoning behind this?


It is recommended so that your MacBook battery does not die while installing updates, which may cause certain programs to break/become corrupted.