Is “laptop-mode-tools” still relevant for 12.04 and the 3.x kernels?


The changes we put into Precise 12.04 LTS pm-utils /usr/lib/pm-utils/power.d address a lot of the best low-risk power savings for a broad range of machines based on some in-depth analysis with a high precision multimeter. These scripts cover power savings using hdparm, Intel Audio powersavings, PCI device power savings, PCI-e ASPM, USB bluetooth, SATA ALPM, Wireless, scheduler tweaks and VM dirty page settings.

I suspect these changes in 12.04 are a little more comprehensive than the laptop-mode-utils.

For a write up of the testing used for the 12.04 pm-util chanages please refer to:

We also did a lot of analysis of the PowerTop power saving recommendations that proved to work well (and reliably) across a range of machines and incorporated these into the pm-utils power.d scripts (see and we ran some community based crowd-sourcing to test these changes, see:

I hope that...

0 0


Do they make some difference? I read in Ubuntu wiki that actually it has good power configuration management out of box.



If you want further improvement to power consumption install TLP via its PPA from its far more effective and implements true power saving profile to your laptop.


I have it in different laptops from AMD to latest Haswell CPU and AMD netbooks and never faced an issue. Also tests have been done by quite a few sites that have testified to TLP's effectiveness regarding power savings.

Note:If u also have question or solution just comment us below or mail us on...
0 0

I am trying to sort out powersaving for OpenSUSE 13.2 running on a laptop.

I found this guide:

for understanding Powersaving on OpenSUSE. However, it appears to not have been changed since 2011, so I feel the information there might be a little out of date.

Now, in that guide they mention pm-utils are being used for powersaving, and that the scripts live in "/usr/lib/pm-utils/power.d" However, on my installation, this directory does not exist. There is a "/etc/pm/power.d" but this directory contains nothing. pm-powersave is installed, and I can invoke it with

sudo pm-powersave true

but without any files in the correct folder (which one should the files go in), does this command actually do anything?

I also noted that the guide referenced using laptop-mode-tools, which is available in the standard repos; however, according...

0 0

I'm using Ubuntu 12.04 x64 and trying to choose power management software. Laptop-mode-tools have a lot of features, but the only reason why I'm worry about is that it's manual and config files are written like for Linux 2.6 kernel. But Ubuntu currently has 3.2 kernel version, and, as I know, it has a lot of powersaving improvements. That's why:

laptop-mode-tools may be obsolete; laptop-mode-tools may conflict with new kernel features and destabilize the system.

So, the question is - are laptop-mode-tools still relevant for Ubuntu 12.04 or Ubuntu handles this stuff good by itself?

The changes we put into Precise 12.04 LTS pm-utils /usr/lib/pm-utils/power.d address a lot of the best low-risk power savings for a broad range of machines based on some in-depth analysis with a high precision multimeter. These scripts cover power savings using hdparm, Intel Audio powersavings, PCI device power savings, PCI-e ASPM, USB bluetooth, SATA ALPM, Wireless, scheduler tweaks and VM...

0 0

While researching, I came across powertop, pm-utils, tlp, laptop-power-mode and a whole pile of manual hacks...

I spent a while trying to figure out the merits of each method and whether they conflicted.. and then I saw this..

..which claims that on the latest Ubuntu, these are barely relevant anymore.

It always surprised me how poor Linux battery life is out of the box compared to other OSes, given that it is also often more light weight, so it makes sense that the kernel is integrating these new features and the other tools are just required if your kernel is too old for your hardware... but is that the case?

Is the reasoning in the link above that the kernel now handles all of this - or is it specific to Ubuntu as they have added extra scripts, etc. for a better user experience.

tl;dr - (1) is this also applicable to Debian Jessie /...

0 0

Laptop Mode Tools is a package that should extend your laptop's battery life by enabling the Laptop Mode Linux kernel feature along with other power-related tweaks.

The latest

Laptop Mode Tools 1.65



yesterday, includes important changes and bug fixes such as

support for Intel PState driver

and a

more robust Runtime Power Management Framework

that deprecates the usb-autosuspend module. That means that there should be less issues with USB devices such as mice / keyboards not working properly with LMT (if such issues still occur, you'll need to blacklist the device id or disable the runtime-pm and usb-autosuspend modules using the Laptop Mode Tools GUI).

Changes in Laptop Mode Tools 1.65:
fixed grep error on missing $device/uevent; ethernet: replaced sysfs/enabled by 'ip link down'; wireless-iwl-power: sysfs attr enbable -> enabled; wireless-iwl-power: added iwlwifi support; Runtime Power Management Framework is more robust...
0 0

I am having troubles with my wireless turning off when running on the laptop's battery. I am running Mint 12.

Any suggestions where to change the configuration for wireless when running on battery.

I have laptop-mode-tools installed, but noticed that they are not running.
> cat /proc/sys/vm/laptop_mode

So, I tried starting it, but it won't load. Seems like it can't handle the 3.0 kernel. I did some searching and saw one post that said there would be a fix. That was back in July 2011.

> sudo /etc/init.d/laptop-mode start
* Enabling laptop mode... Unhandled kernel version: 3.0 ('uname -r' = '3.0.0-12-generic')
Couldn't acquire lock. Retrying....

Installed: 1.57-1ubuntu1

After some searching I found a suggestion to edit /sbin/laptop_mode and add the 3.0 line below. Still doesn't work.
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
"3.0" ) ;;


0 0

Hello Linux Geeksters. As you may know, TLP is a popular battery tool. All that TLP does is tweak your system for better power usage / battery life. You can just install TLP and forget about it, because it does his job by automatically, depending on your hardware specs and OS, but if you want to change the app’s behavior by hand, edit the /etc/default/tlp configuration file.

The latest version available is TLP 0.6, which has been recently released, coming with bug-fixes, improved support for both Kernel 3.15 and Kernel 3.16 and systemd improvements:

Set systemd service type to simple, allows tlp service to start asynchronously in the background Remove DISABLE_TPACPIBAT from configuration Remove DEVICES_TO_ENABLE_ON_RADIOSW from configuration because it’s deprecated: works with Ubuntu 12.04/Kernel 3.2 only Enable RUNTIME_PM_ALL by default Do not touch kernel settings if param is empty or commented: DISK_IDLE_SECS_ON, MAX_LOST_WORK_SECS_ON, SCHED_POWERSAVE_ON,...
0 0

laptop-mode-tools is the userland component of laptop mode, the Linux kernel mode that allows you to spin down your hard drives for longer periods of time. This package takes care of configuration and activation of laptop-mode, automatically remounting your filesystems with the appropriate options, and modifying the idle timeouts for your hard drives. Laptop mode tools integrate with power management daemons such as acpid, apmd and pbbuttonsd, so that laptop mode is started automatically when your laptop is running on batteries.

Project Homepage / Availability




The Project Home Page holds installation instructions. There is a FAQ. Read /lib/modules/`uname -r`/source/Documentation/laptop-mode.txt on your system. The configuration file (/etc/laptop-mode/laptop-mode.conf) is well-commented, and a verbose manual page is available for it as...
0 0

Laptop Mode Tools saves power by spinning down hard drives, and in addition, it can be configured to tweak all sorts of other power-related things.

The core feature of Laptop Mode Tools is that it controls the "laptop mode" feature of the Linux kernel, which prevents disk accesses and allows hard drives to spin down for longer periods of time. In addition, Laptop Mode Tools can tweak things like readahead settings, hard drive power management settings, CPU frequency scaling settings, CPU throttling settings, DPMS settings, terminal blanking settings, and LCD brightness settings. In addition, it can automatically start/stop services based on whether you're working on battery or on wall power, and it can automatically hibernate your computer when it is low on battery...

0 0
The prime 95 test is not relevant at all for me. It's all torture and no test. Other tests work better - confirm stability better in less time. Realbench has realworld workloads and is actually quite easy on the CPU. The difficulty is that many competitive overclocking benchmarks are more stringent and an overclock that passes Realbench can fail with harder tests.

OCCT is a more stringent stability test and the results of the processing are checked so that errors are caught, not just depending on the system to crash. An OCCT test of 3-5 minutes is a better stability indicator than days of Prime 95.

As for your rig: 5GHZ and 1.29volts is an EXCELLENT overclock. If you're reaching 95C in realbench at 1.29 Vcore, the difficulty is with the cooling. Check these:
Is the X61 water pump running? There should be some vibration, but not much noise.
Is the cooler snugly pressed against the CPU. Even pressure on the mounts is important.
Is the thermal interface material...

0 0

Release Notes: 1.65 - Wed Jun 18 19:22:35 IST 2014 * fix grep error on missing $device/uevent * ethernet: replace sysfs/enabled by 'ip link down' * wireless-iwl-power: sysfs attr enbable -> enabled * wireless-iwl-power: Add iwlwifi support * Use Runtime Power Managemet Framework is more robust now. Deprecates module usb-autosuspend * Fix multiple hibernate issue * When resuming, run LMT in force initialization mode * Add module for Intel PState driver * GUI: Implement suspend/hibernate interface

Release Notes: This release included a new graphical configuration utility. It can be used to toggle the various modules on and off. USB controller power settings are no longer touched. Support for systemd was added. The hardcoded path to udevadm was replaced with "which udevadm". The '/usr/lib' path is now configurable. killall is no longer called with the -g argument. RPM spec file build errors were fixed.

Release Notes: This release kicks the power...

0 0

It’s true that Ubuntu (or GNU/Linux in general) is getting better and better at managing power usage under different hardware platforms. For instance, when comparing with older versions, 12.04 Precise Pangolin manages power consumption really well in my Dell Vostro V131 laptop (Intel Sandy Bridge based notebook), and I get a battery life similar to under Windows 7 that came pre-installed with it.

However, after installing Ubuntu, I usually install another tool called ‘Laptop-Mode-Tools‘, a set of utilities (configuration files) that try to minimize the unnecessary power consumptions of your computer’s hardware. And ‘LMT’ further reduces like 0.8 Watts to 1.3Watts of power consumption from my system, which again helps to enhance the battery life, a bit more.

But one issue that I have when installing LMT under Ubuntu 12.04 is that, it disables my USB optical mouse. This is because, LMT adjusts various hardware related power consumption settings, including USB devices...

0 0

The HP 2510p is a 12.1” screen notebook designed for heavy duty and security.

Ubuntu Installation is very simple on this laptop, as it integrates some very standard components.

But, if you want to be able to fully exploit this laptop possibilities, you still need to do some specific configurations for :

Core 2 Duo CPU power management capabilities Mobile Intel GM965 Express chipset Intel Pro 4965 wifi adapter AES2501 fingerprint sensor

This article will explain how to configure Ubuntu Precise 12.04 to fully use the HP 2510p laptop hardware.

It will also help you to tweak your HP 2510p for better overall performances and battery power management.

1. Wifi Connexion Problems

HP 2510p wireless adapter is Intel Pro 4965.

# lspci
10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)

This adapter is directly recognised during an Ubuntu 12.04...

0 0

Laptop Mode Tools is a laptop power saving package for Linux systems. It is the primary way to enable the Laptop Mode feature of the Linux kernel, which lets your hard drive spin down. In addition, it allows you to tweak a number of other power-related settings using a simple configuration file.

Combined with acpid and CPU frequency scaling, LMT provides most users with a complete notebook power management suite.


Install the AUR package or the AUR package.


Configuration is handled through:

/etc/laptop-mode/laptop-mode.conf - primary configuration file. /etc/laptop-mode/conf.d/* - dozens of feature-specific "modules".

Each module can be explicitly enabled, disabled, or set to auto by changing the CONTROL_* argument of any file in conf.d/. LMT will attempt enable any modules where CONTROL_* is set to auto if ENABLE_AUTO_MODULES is set in /etc/laptop-mode/laptop-mode.conf. There are two exceptions to the above...

0 0

I just upgraded to kernel 4.8, and bbswitch 0.8-1 no longer works properly. When I try to run something with primusrun, it fails with "bumblebee could not enable discrete graphics card" or something, and I get this in dmesg:

bbswitch: enabling discrete graphics pci 0000:01:00.0: Refused to change power state, currently in D3 pci 0000:01:00.0: Refused to change power state, currently in D3

When I use the kernel command line option pcie_port_pm=off primusrun works again, and I get this in dmesg upon using primusrun:

bbswitch: enabling discrete graphics nvidia-nvlink: Nvlink Core is being initialized, major device number 242 NVRM: loading NVIDIA UNIX x86_64 Kernel Module 370.28 Thu Sep 1 19:45:04 PDT 2016 vgaarb: this pci device is not a vga device ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95) ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI...
0 0

The latest Linux Kernel 3.16 has been released. Linus Torvalds wrote in the Linux Kernel Mailing List (

So nothing particularly exciting happened this week, and 3.16 is out there.

And as usual (previous release being the exception) that means that the merge window for 3.17 is obviously open. And for the third time in a row, the timing sucks for me, as I have travel coming up the second week of the merge window. Many other core developers will be traveling too, since it’s just before the kernel summit in Chicago.

So we’ll see how the next merge window goes, but I’m not going to worry about it overmuch. If I end up not having time to do all the merges, I might delay things into the week of the kernel summit, but I’ll hope to get most of the big merging done this upcoming week before any travel takes place, so maybe it won’t come to that. So this is just a heads-up that the merge window *might* be extended.

Anyway, back to the changes...

0 0

Here in this post I will explain how to compile and install Linux Kernel 3.0 and Linux Kernel 3.x in Ubuntu. Linux Kernel 3.8.8 is the latest stable release and you can download it from If you are new to Linux then I strongly recommend you try with Linux Kernel 3.0 and you can later patch it with Linux Kernel 3.8.8. If you don’t like to compile the kernel, then you can directly install the debian packages Click Here.


Fedora users Click Here.

Update: Follow the same steps to compile and install the Linux Kernel 3.8.8 / 3.7 / 3.6 / 3.4 / 3.2 / 3.0.x in your system.


To compile Linux Kernel the following are required to be installed.


gcc latest version,ncurses development package andsystem packages should be up-to date

To install the dependencies run the following commands in terminal and type the password for the user, when prompted.

For gcc

sudo apt-get install gcc


0 0

NOTICE! Laptop Mode Tools resets Liquorix writeback ratios


Status: Assistant

Joined: 09 Sep 2008

Posts: 707

The dirty ratio for laptop mode tools is set incorrectly, and even worse for users on battery. Use the following configuration to retain defaults set in Liquorix.


:: Code ::

# Dirty synchronous ratio. At this percentage of dirty pages the process

# which calls write() does its own writeback.




# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
# exceeded, the kernel will wake pdflush which will then reduce the amount
# of dirty memory to dirty_background_ratio. Set this nice and low, so once
# some writeout has commenced, we do a lot of it.

The settings for...

0 0

The book is pretty far out of date, but how far out of date depends on which section. The overall structure of the kernel remains the same, so you still have a virtual memory piece, you still have device drivers, you still have tasks, etc. Yet, there are whole new subsystems, interfaces have changed and there are generally more of them. It’s really not possible to just point to some set of places and go—here it is, read this.

The work that was done for the original was epic, something worthy of song and story, and yet the kernel had already moved on by the time the book was published. You could easily keep a team of 3–6 knowledgeable Linux developers busy rewriting and keep re-writing it. How you would fund something like that is beyond me. I think finding the people to do it would be hard but I’ll bet there are those, like myself, who would consider dedicating time to the...

0 0

Hi I'm getting this error after installing laptop-mode-tools in Oneiric Ocelot when its trying to run for the first time:

Unhandled kernel version: 3.0 ('uname -r' = 3.0.0-12-generic)

So my laptop-mode-tools is 1.57-1ubuntu1, and I saw in the launchpad that Ubuntu team is preparing 1.58-3ubuntu1 that contains support for kernel 3.0.

However, I don't find 1.58-3ubuntu1 in apt-cache showpkg laptop-mode-tools (only 1.57 is listed) so I can't upgrade my laptop-mode-tools.

I tried adding kernel PPA into my repository cache and apt-get update, and in apt-cache showpkg linux-headers only is showing up. So I can't downgrade my kernel either.

I want laptop-mode-tools to work with Oneiric since I'm on laptop, what do you guys suggest me to do ? I'm an absolute beginner so please be easy on your answer. I can work with packages, but not with patching/compiling, etc.

As per the suggestion in this bug I added kernel version in...

0 0
Enable Laptop Mode and other tweaks to improve battery for Ubuntu 15.04 Vivid/14.10 Utopic/14.04 Trusty/12.04/Linux Mint 17.x/17/13/and other related Ubuntu derivatives

Managing battery power in Linux since kernel 3.x is bit difficult, many users face quick battery drain in Linux than other operating systems. There are tools available to manage power of laptop to improve battery life, previously I wrote improve battery with TLP power management. Now I burought other tools for you to improve battery life, if TLP doesn't fit to your needs. This script does all tweaks automatically within your system.


of all the most popular utility Laptop Mode Tools which saves power by spinning down hard drives, and in addition, it can be configured to tweak all sorts of other power-related things. The core feature of Laptop Mode Tools is that it controls the "laptop mode" feature of the Linux kernel. In addition this tools can tweak things like readahead settings, hard drive...

0 0
0 0


[+32] [2012-08-09 19:18:19] darnir

In short your answer is Yes. Linux in general will generate more heat and give you less battery life as compared to Windows.

I am running Arch Linux with XFCE and very few background processes, yet is usually heats up much more compared to my Windows 7.

@Blogger's answer that it depends on your distribution is true only to a certain extent. As has been pointed out in the comments, it depends more on your particular usage. A lightweight Ubuntu will consume much lesser power than a heavy KDE Gentoo system.

The biggest reason for this is as @Dougvj mentioned, most device drivers and applications are optimised only for Windows. These companies pay very little attention to the Linux Kernel. As a result, the drivers are usually poorly written and maintained. This in fact...

0 0