Ubuntu – Disabling Optimus / Graphics cards


I have a Dell XPS 15 L502x. I using Ubuntu 14.04 duel booted with window 7. I looking to get more life out of my battery while in Ubuntu. I have no need for the nvdia card while using Ubuntu since this is where I do my work.

What I would like to know is if this guide on this Page can be applied to 14.04 since it makes no mention of this version in the list and if so will it benefit my battery by disabling the nvidia card?

also to note I have not installed any drivers I'm using a the ones that ubuntu installed during the OS installation.

Best Answer

Trying it can't do any harm.

Use the following command before and after the switch. >ou should see a drop/rise in mW being used:

# grep rate /proc/acpi/battery/BAT0/state 

switch off your NVIDIA card using

# echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

If your laptop now uses less mW, then you get a longer battery life.

Related Question