How do I make the nVidia graphics card the default?

view story

http://askubuntu.com – My laptop has both an onboard Intel graphics card and a nVidia GeForce with Cuda and Optimus. I installed Bumblebee and can now run applications on the nVidia card by typing optirun [application name] in terminal. This works great. Still, my laptop is plugged in most of the day, so it makes sense for Ubuntu to always use the nVidia card by default. Is there some way to force it into always using the nVidia card, or even better, to get it to use the nVidia card if it's using mains power and use the Intel graphics when it runs on battery power? (HowTos)