Configuring Linux Power Management properties using laptop Mode Tools

Source: Internet
Author: User

Linux as a server side operating system, it emulated the main object is the traditional Unix. In addition to the early Linus and other developers use of computers are generally older, so Linux at the beginning of the target host is not the average user's desktop or pen power, the backward compatibility of hardware is also more important, and the PC hardware on the new features are not so elegant--of course, This is also related to the reluctance of many hardware manufacturers to either develop their own drivers for Linux or to provide sufficient technical information for Linux developers. One obvious impact on PC users is that Linux's power management support for computers has been less than that of Windows, which is a PC-powered veteran Apple based on BSD-engineered OS X, which shows up on its own ibook/powerbook The source management capability is also less than the use of Windows pen power (for example, Panasonic's pen power, and can even provide a maximum of 15 hours of endurance).

My pen power, Toshiba SS LX/190DK, because it uses Nvidia's graphics chips, which have always been hard to control, and the sheer weight of the fuselage that makes the heat weak, is really quite inadequate in terms of thermal control. In the use of the process, I found this pen electricity in the use of external power supply, the heat is often in the boot a few minutes after the rapid rise. But if you are using battery power, the control of the heat is much better than when the external power supply is used. It is estimated that the operating system uses different power management modes for computers when using different power supply systems.

A survey on the Internet, found that Linux has a command called Laptop_mode, this command can enable or prohibit "laptop mode." The so-called laptop Mode, a feature added to Linux Kernel 2.4.23 and 2.6.6 and later, is designed to extend battery life by reducing the speed of the hard drive. Of course, laptop Mode has more than one function, it can almost adjust all the power management characteristics of the pen power. If you want to open laptop mode with AC power, you first need to edit/etc/laptop-mode/laptop-mode.conf, set enable_laptop_mode_on_ac=1 save changes, run sudo Laptop_mode Start Force

To verify that the pen power does enter laptop Mode, you can enter the command Cat/proc/sys/vm/laptop_mode

View, if the return value is 0, the system has not yet entered laptop mode, and if other positive values are returned, the system successfully enters laptop mode. You can also enter the sudo laptop_mode status

View the detailed status of the Laptop_mode report. For more information about laptop Mode, you can view the Laptop_mode and laptop-mode.conf with the Man command, which contains detailed parameter descriptions for both. The Laptop-mode-tools in Btw:ubuntu 6.06 was released in 1.11 last October, and Dapper's apt source has not been updated, and in fact it has been released in 1.32 this October, so if necessary, you can HTTP ://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/debian/laptop-mode-tools_1.32-1_all.deb Download the latest Deb package.

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.