Patch to reduce power consumption in GNU / Linux

A developer of RedHat has created a patch for the Kernel de Linux which reduces the battery consumption of devices with this OS installed. and apparently it has given very good results.

The problem was that as of version 2.6.38 of the Kernel, it was disabled -I do not understand why- by default the module Active State Power Management which has among its functions to reduce energy consumption.

We got the patch and information for this news from HumanOS blog. It has about 60 lines of code and we can see it in the this link. It is very likely that it will appear on the packaging of the version 3.2 of the Kernel maybe we'll see it in Ubuntu LTS 12.04 or other distributions with release dates in early 2012.

The most benefited of course will be users of mobile devices, laptops, netbooks and others.


10 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Hache said

    Thanks for the info! Looking forward to Arch!

  2.   KZKG ^ Gaara <"Linux said

    In a short time (maybe weeks) we will be able to enjoy it in Arch, as well as in any other distro that is RR 😀

    1.    elav <° Linux said

      In fact, the patch can already be used. I quote verbatim the news in HumanOS:

      Well then it only remains to apply the patch. For this they must have the kernel code, stand at the root of it and then apply the patch (how cool huh, we are modifying the kernel, we are doing men's tasks, hehe).

      This patch was generated using Git, with the git apply command you can patch the code yourself. I have always used the patch command, but here I put one of the ways that are used in git to apply the patch:

      #La opcion --check es para probar qué pasaría si aplicáramos el parche
      git apply --check parche.diff

      #Si no da error aplicamos el parche eliminando la opción --check en el comando
      git apply parche.diff

      Well if they managed to apply the patch well now they will have to compile the kernel, we published a post on how to compile the kernel in Ubuntu and Debian and Manuel E. in Codeninja teaches us the curious art of compiling the Linux kernel. When they finish the arduous task, it will only be necessary to install the two .debs that must be obtained when compiling.

      1.    Oscar said

        You, only you who are a GURU can do this without ending up pulling your hair out.
        Happy coming back from vacation, hahahahaha.

        1.    elav <° Linux said

          Hahaha I'm not GURU man ... I wish I was hahaha. And well, we were not on vacation, rather we were doing the opposite, working hard. Imagine that to achieve that, our boss had to hide the modem router from us, because otherwise we would not detach ourselves from the computer hahahaha

      2.    Mark Bragado said

        What new! Che could you delve a little more into the issue of installing the patch in the kernel, I can't find clear information on how to apply it (for compiling I manage) and my ASUS k52De really needs it!
        Thank you in advance!

  3.   mac_live said

    Well, the excessive energy consumption is true, the truth is that many times I preferred to start in windows because it marked 7:30 power even on battery and if it started in Fedora or mint it would tell me 4:30 or 0 at most. But then I hold on because I know that we are going to have a patch but in a while, it will first go to Red Hat, and then to Fedora as safe, and from there to the others once the SC is published. or not?

  4.   Computer Guardian said

    It's my turn to be "superficial": I just wanted to congratulate you on the image you used to illustrate the article: really nice and interesting. !! Congratulations!!

    1.    elav <° Linux said

      Hahaha thanks it's nothing more than a dmesg with a Faenza icon 😀

  5.   pEP said

    Regards!

    Has anyone already tried it? what results have you seen?

    I installed Jupiter: http://www.jupiterapplet.org/ y

    Power Top: http://www.atareao.es/ubuntu/conociendo-ubuntu/ahorrar-energia-en-linux-con-powertop/

    And I have improved battery performance on my Ubuntu 11.10