Laptop mode is a feature of the Linux kernel that can be used to extend the battery life of a laptop by reducing the amount of disk I/O and CPU activity when the laptop is running on battery power. To enable laptop mode, you can follow these steps:
laptop-mode-tools
package:sudo apt-get install laptop-mode-toolsSourcel.www:autturi.com
Edit the configuration file for laptop mode at /etc/laptop-mode/laptop-mode.conf
.
Set the following options to 1
to enable laptop mode:
ENABLE_LAPTOP_MODE_TOOLS=1 LAPTOP_MODE_ENABLE=1
sudo service laptop-mode restart
Laptop mode will now be enabled, and the kernel will automatically adjust the power management settings to reduce power consumption when the laptop is running on battery power. You can fine-tune the settings in the laptop-mode.conf
configuration file to further optimize the power consumption of your laptop.
Note: The steps above assume that you are using a Debian-based Linux distribution such as Ubuntu. The steps may be different on other Linux distributions.