pnputil /disable-device "PCI\VEN_10DE&DEV_25E0&SUBSYS_3AAC17AA&REV_A1\4&1D71CFEE&0&0009"
pnputil /enable-device "PCI\VEN_10DE&DEV_25E0&SUBSYS_3AAC17AA&REV_A1\4&1D71CFEE&0&0009"
For laptops that do not have a MUX switch on display out, display out is directly connected to dGPU causing apps to use it.
This method is commonly used when undocking from external display/desktop, migrating apps from the dGPU to iGPU to significantly reduce power consumption.
Press CTRL + ALT + G whenever on battery, all GPU active applications will reload to the internal GPU, Optimus will turn of the dGPU shortly on no dGPU activity/process. Drops at least 10 watts (Pascal+).
The proccess is not automated on unplug due to few apps (mainly games) that do not support hot-reloading GPU activity.
Do not use when working on sensitive work, some apps may crash albeit very rare to occur.
This is a better alternative to killing apps (commonly used).