Ubuntu 11.04 - disable NVIDIA graphics card
I have an Asus U36 laptop running Ubuntu 11.04 with two graphic cards - one from Intel which is quite sufficient for me, the second from NVIDIA which consumes a lot of battery while not even working.
How can I disable the NVIDIA graphics card?
Depending on which driver you are using for the nVidia card (nouveau, nv or nvidia) - you should be able to see it with lsmod - the solution is to blacklist it to udev. For example, if your driver is nouveau, edit the /etc/modprobe.d/blacklist.conf and append a line containing blacklist nouveau, then reboot and lsmod again - it shouldn't be there any more.
From the terminal:
$ prime-select intel
// Grub bootloader will update
// *Reboot
To reenable:
$ prime-select nvidia
// Grub bootloader will update
// *Reboot
That should do it on Ubuntu 16+