Energy-saving management in Ubuntu

Source: Internet
Author: User
After Ubuntu is installed in a notebook, you will find that power consumption and heat consumption will be very serious. If you use a battery, the endurance will be very short, almost half the time in windows, this is a shortage of ubuntu system power management, but the use of the linux system is about to make full use of the spirit, so I searched for the relevant information and other methods, the following is a summary, I try to write details and understand them as much as possible. Www.linuxidc.com first, turn off the independent video card (N card only) and set the Integrated Video Card and adjust the brightness. The independent video card has a high fever and power consumption.

After Ubuntu is installed in a notebook, you will find that power consumption and heat consumption will be very serious. If you use a battery, the endurance will be very short, almost half the time in windows, this is a shortage of ubuntu system power management, but the use of the linux system is about to make full use of the spirit, so I searched for the relevant information and other methods, the following is a summary, I try to write details and understand them as much as possible.
Www.linuxidc.com


First, disable the independent video card (N cards only)
And integrated graphics card settings and brightness adjustment, independent graphics card heating and power consumption are very powerful


1. Install bumblebee
1) Open the terminal (not to mention that you won't) and execute the following code in sequence to complete the installation:
Code:
Sudo add-apt-repository ppa: bumblebee/stable
Sudo apt-get update
Sudo apt-get install bumblebee-nvidia
Sudo reboot
The last step is to restart (you should know)
2) then execute the code
Lspci | grep VGA
Note: The following lists the operations of Intel and NVIDIA dual display. The NVIDIA graphics card information is followed by a "rev ff", indicating that the dual display has been disabled.
Enter:
Sudo optirun glxgears
This is a window named "glxgears" that displays the 3D Gear screen. Do not close the window.
Open another terminal and enter:
Lspci | grep-I vga
The following lists the Intel and NVIDIA dual display operations. The NVIDIA graphics card information is displayed in the "rev + number" format, indicating that the dual display has been enabled and is currently working.
Then, close the window with the name "glxgears" and display the 3D Gear screen, and then enter:
Lspci | grep-I vga
The following lists the Intel and NVIDIA dual display operations. The NVIDIA graphics card information is changed back to the "rev ff" format, indicating that the dual display has been disabled.
Integrated video card settings and brightness adjustment
Set the gamma value and brightness (by default, only the Fn key is used to adjust the brightness)
Code:
Xgamma-gamma. 7
Sets the gamma value to 0.7.
Set the brightness. Fn cannot be used to adjust the brightness. Fn adjusts the/sys/class/backlight/acpi_video0/brightness file, while the I card file is/sys/class/backlight/intel_backlight/brightness.
Execute in sequence (still in the terminal ):
Sudo su
Echo 500>/sys/class/backlight/intel_backlight/brightness
OK; now you can use the fn key to set the brightness, and N cards are successfully disabled.
Next we will enable the automatic adjustment function of Intel HD 3000 integrated graphics card.
Still a terminal:
Sudo gedit/etc/default/grub
Find GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash ", add pcie_aspm = force mask = 1 acpi_osi = Linux acpi_backlight = vendor elevator = noop KERNEL _ enable_rc6 = 1 KERNEL _ enable_fbc = 1 i915.lvds _ downclock = 1
Click Save and close the editor.
Run:
Sudo update-grub
Restart the instance again.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.