Vasyl, your solution works, but it has a big disadvantage. HDMI doesn't work. I'm deleting the 80-nvidia-poweroff.rules file - HDMI works after rebooting. Restore this file - HDMI is not working.
In general, there is a big problem with NVidia - all kinds of solutions to the power problem never take into account the presence of HDMI output on the NVidia chip. In fact, the solution I gave above did not fix it too. When I connected the HDMI monitor, I saw that the fight wasn't over. Prime also injects a file with rules, and there is a situation where a user on a new Ubuntu installs NVidia drivers and has HDMI running, but after only one use of "prime select" he can never again turn on the HDMI monitor again until he reads the forums and deletes this file. A particular cynicism is that the file is not deleted when drivers and prime are removed. Unfortunately, I won't be able to name the file now, I deleted it, I also deleted all the shortcuts so that home users wouldn't be able to switch the adapter mode through the prime GUI, and I use what is configured in #66, and I switch adapters in the BIOS. At the same time, my notebook consumes 3.5-6 watts of battery power while working for Intel, and after switching to NVidia, HDMI works. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1765363 Title: prime-select intel is not powering off the nvidia card Status in nvidia-prime package in Ubuntu: Confirmed Bug description: Right now, it seems that prime-select intel makes sure the nvidia driver is not loaded, as nvidia-settings reports. But my power consumption is > 20W. cat /proc/acpi/bbswitch reports the card is still on. If bbswitch and powertop are reliable, then the nvidia card is still powered. This is a thinkpad w520 in Optimus mode. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: nvidia-prime 0.8.7 ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15 Uname: Linux 4.15.0-15-generic x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Thu Apr 19 19:56:21 2018 Dependencies: EcryptfsInUse: Yes InstallationDate: Installed on 2017-12-14 (125 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) PackageArchitecture: all SourcePackage: nvidia-prime UpgradeStatus: Upgraded to bionic on 2018-03-09 (41 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1765363/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

