Is there a way to prevent applications from updating when running on battery
There is no way to do this, except to only select to manually update apps, and them update them when you have your charger connected.

There is no way to automatically restrict them.