There's a global preference which is overridden by app specific configuration (iirc). But usually you want to let windows automatically choose, so that integrated graphics can prolong battery life when unplugged. Like any automatic process though, mistakes can be made hence a few manual...