Ubuntu notebook energy-saving three tips

  

After installing Ubuntu system in the notebook, there are problems such as fast power consumption, which seriously affects the notebook's battery life, in fact, as long as the simple settings, you can make the notebook energy-saving, the following small series Let me introduce you to the energy-saving skills of Ubuntu notebooks.

First, close the graphics card (N card only)

and brightness adjustment settings and integrated graphics, graphics card power and heat are very powerful

1. Install bumblebee

1) Open the terminal (don't say this you won't), execute the following code to complete the installation:

Code:

sudo add -apt-repository ppa:bumblebee/stable

sudo apt-get update

sudo apt-get install bumblebee bumblebee-nvidia

sudo reboot

One step is to restart (should know)

2) Then execute the code

lspci | Grep VGA

Note that the following shows the working situation of Intel Set and NVIDIA alone. NVIDIA graphics card information has a "rev ff”, indicating that the display has been closed.

Re-enter:

sudo optirun glxgears

This will pop up a window called "glxgears", which displays the 3D gear screen. Do not close the window.

To open another terminal, type:

lspci | Grep -i vga

The following shows the working situation of Intel Set and NVIDIA alone. The NVIDIA graphics card displays the form of “rev+number”, indicating that the display has been turned on and is working.

Then, turn off the window named "ldxgears", display the 3D gear screen, and then type:

lspci | Grep -i vga

The following is a list of the work of Intel Set Display and NVIDIA alone. The NVIDIA graphics card information has changed back to the form of "rev ff", indicating that the display has been closed.

Integrated graphics settings and brightness adjustment

Setting gamma values ​​and brightness (default is only possible with Fn keys)

Code:

xgamma -gamma .7

Indicates that the gamma value is set to 0.7

Set the brightness, which cannot be adjusted with Fn. Because fn adjusts the /sys/class/backlight/acpi_video0/brightness file, and 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; At this point, you can use the fn key to set the brightness, and successfully close the N card.

Let's turn on the automatic adjustment function of the Intel HD 3000 integrated graphics card

Still the terminal:

sudo gedit /etc/default/grub

Find GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”, add pcie_aspm=force i915.semaphores=1 in the quiet splash space acpi_osi=Linux acpi_backlight=vendor elevator=noop i915.i915_enable_rc6 =1 i915.i915_enable_fbc=1 i915.lvds_downclock=1

Then click Save and close the editor

Execute:

sudo update-grub

Then Restart again
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved