<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>178130</bug_id>
          
          <creation_ts>2007-05-12 01:41 0000</creation_ts>
          <short_desc>sys-power/powertop-1.0 (new Package)</short_desc>
          <delta_ts>2007-05-14 23:53:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.linuxpowertop.org</bug_file_loc>
          
          <keywords>EBUILD</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bugzilla@luemmel.org</reporter>
          <assigned_to>maintainer-wanted@gentoo.org</assigned_to>
          <cc>beber@meleeweb.net</cc>
    
    <cc>mobile@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@luemmel.org</who>
            <bug_when>2007-05-12 01:41:00 0000</bug_when>
            <thetext>What&apos;s eating the battery life of my laptop? Why isn&apos;t it many more hours? Which software component causes the most power to be burned? These are important questions without a good answer... until now.

The Linux 2.6.21 kernel introduces the so called tickless-idle feature. This feature allows the processor to be really idle for long periods of time, rather than having to wake up every millisecond for the timer tick. Current processors save a lot of power if they are idle for long periods, which translates into a longer battery life for your laptop, or a lower energy bill for your datacenter. However, a Linux system consists of more software than just the kernel, and there are many tunables involved. It&apos;s not easy to see what is going on, and as a result the behavior is sometimes far from optimal, and a lot of power is wasted.

Intel is proud to announce the PowerTOP tool (http://www.linuxpowertop.org), a program that collects the various pieces of information from your system and presents an overview of how well your laptop is doing in terms of power savings. In addition, PowerTOP will provide an indication of which tunables and software components are the biggest offenders in slurping up your battery time. PowerTOP will update it&apos;s display frequently so that you can directly see the impact of any changes you are making.

A typical Linux distribution has many components that wake the processor up frequently for no good reason. In our testing with PowerTOP, we have seen many cases where with some simple fixes, the battery life of typical laptops was increased by one hour or more!

We are providing fixes for several of the issues we identified, and we encourage the Linux community to help us in this quest to get the maximum battery life out of your (hopefully Intel based) laptops. Try the PowerTOP tool, join the mailing list or the IRC channel and provide feedback, problem reports or fixes!

===
Source: Arjan van de Ven &lt;arjan@linux.intel.com&gt; on LKML


I wrote a small ebuild for PoweTop 1.0 =&gt; sys-power/powertop could be the best category.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@luemmel.org</who>
            <bug_when>2007-05-12 01:42:03 0000</bug_when>
            <thetext>Created an attachment (id=118954)
PowerTop 1.0 ebuilld

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-05-13 13:13:38 0000</bug_when>
            <thetext>thank you very much. I committed this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@luemmel.org</who>
            <bug_when>2007-05-13 18:00:45 0000</bug_when>
            <thetext>I´m not shure if this is the right way or any maintainer will care of the package: There´s a version bump to 1.1

Changelog:
1.1 --
* Fix bug that shows &quot;you don&apos;t have C-states&quot; on mobile CPUs when the cpu is 100% busy as reported by Friedrich
* Cosmetic code cleanups (Lindent) as suggested by David Brownell
* Get rid of popen() and the static sized events array (Keith Packard)
* Add some more tips for kernel config options based on various reports/feedback
* Improve &quot;you are not root so can&apos;t get timerstats&quot; message to say that you need to be root rather than that you need to change your kernel config
* Make a better effort at locating the kernel .config file
* Don&apos;t show &quot;please turn CONFIG_FOO off&quot; if the kernel you have doesn&apos;t even support CONFIG_FOO (yet)
* Show absolute per-second wakeup counts too (multiple requestors)
* Add capability to suggest disabling daemons and the like


1.0 --
* Initial Release</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@luemmel.org</who>
            <bug_when>2007-05-13 18:01:52 0000</bug_when>
            <thetext>Created an attachment (id=119132)
PowerTop 1.1 ebuilld

Version bump to 1.1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-05-13 18:48:05 0000</bug_when>
            <thetext>thank you fixed again. The right way is to just tell me about it or file a new bug. Usually I prefer instant messaging / email or irc ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@luemmel.org</who>
            <bug_when>2007-05-13 19:46:30 0000</bug_when>
            <thetext>Okay :-)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118954</attachid>
            <date>2007-05-12 01:42 0000</date>
            <desc>PowerTop 1.0 ebuilld</desc>
            <filename>powertop-1.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">REVTQ1JJUFRJT049IlBvd2VyVE9QIGlzIGEgTGludXggdG9vbCB0aGF0IGZpbmRzIHRoZSBzb2Z0
d2FyZSBjb21wb25lbnQocykgdGhhdCBtYWtlIHlvdXIgbGFwdG9wIHVzZSBtb3JlIHBvd2VyIHRo
YW4gbmVjZXNzYXJ5IHdoaWxlIGl0IGlzIGlkbGUuIgpIT01FUEFHRT0iaHR0cDovL3d3dy5saW51
eHBvd2VydG9wLm9yZyIKU1JDX1VSST0iaHR0cDovL3d3dy5saW51eHBvd2VydG9wLm9yZy9kb3du
bG9hZC8ke1B9LnRhci5neiIKCgpMSUNFTlNFPSJHUEwtMiIKU0xPVD0iMCIKS0VZV09SRFM9Ing4
NiB+YW1kNjQiCiMgQ3VycmVudGx5LCBvbmx5IDMyLWJpdCBrZXJuZWxzIGhhdmUgc3VwcG9ydCBm
b3IgdGlja2xlc3MgaWRsZTsgNjQtYml0IGtlcm5lbHMgYXJlIGV4cGVjdGVkIHRvIGdhaW4gdGhp
cyBmZWF0dXJlIGluIHZlcnNpb24gMi42LjIzLgpJVVNFPSIiCgoKREVQRU5EPSIiClJERVBFTkQ9
IiIKCnNyY191bnBhY2soKSB7CiAgICAgICAgdW5wYWNrICR7QX0KfQoKCnNyY19jb21waWxlKCkg
ewoJY2QgIiR7V09SS0RJUn0vcG93ZXJ0b3AiCgllbWFrZSB8fCBkaWUgImNvbXBpbGUgcHJvYmxl
bSIKfQoKc3JjX2luc3RhbGwoKSB7CgljZCAiJHtXT1JLRElSfS9wb3dlcnRvcCIKCWRvc2JpbiBw
b3dlcnRvcCB8fCBkaWUKfQoKcGtnX3Bvc3RpbnN0KCkgewoJZWNobwoJZWluZm8gIkZvciBQb3dl
clRPUCB0byB3b3JrIGJlc3QsIHVzZSBhIExpbnV4IGtlcm5lbCB3aXRoIHRoZSIgCgllaW5mbyAi
dGlja2xlc3MgaWRsZSAoTk9fSFopIGZlYXR1cmUgZW5hYmxlZCAodmVyc2lvbiAyLjYuMjEgb3Ig
bGF0ZXIpLiIKCWVjaG8KfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>119132</attachid>
            <date>2007-05-13 18:01 0000</date>
            <desc>PowerTop 1.1 ebuilld</desc>
            <filename>powertop-1.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">aW5oZXJpdCB0b29sY2hhaW4tZnVuY3MKCkRFU0NSSVBUSU9OPSJQb3dlclRPUCBpcyBhIExpbnV4
IHRvb2wgdGhhdCBmaW5kcyB0aGUgc29mdHdhcmUgY29tcG9uZW50KHMpIHRoYXQgbWFrZSB5b3Vy
IGxhcHRvcCB1c2UgbW9yZSBwb3dlciB0aGFuIG5lY2Vzc2FyeSB3aGlsZSBpdCBpcyBpZGxlLiIK
SE9NRVBBR0U9Imh0dHA6Ly93d3cubGludXhwb3dlcnRvcC5vcmciClNSQ19VUkk9Imh0dHA6Ly93
d3cubGludXhwb3dlcnRvcC5vcmcvZG93bmxvYWQvJHtQfS50YXIuZ3oiCgoKTElDRU5TRT0iR1BM
LTIiClNMT1Q9IjAiCktFWVdPUkRTPSJ+eDg2IgpJVVNFPSIiCgpERVBFTkQ9IiIKUkRFUEVORD0i
IgpTPSR7V09SS0RJUn0vJHtQTn0KCnNyY19jb21waWxlKCkgewoJZWNobyAkKHRjLWdldENDKSAk
e0NGTEFHU30gJHtMREZMQUdTfSBwb3dlcnRvcC5jIGNvbmZpZy5jIHByb2Nlc3MuYyAtbyBwb3dl
cnRvcAoJJCh0Yy1nZXRDQykgJHtDRkxBR1N9ICR7TERGTEFHU30gcG93ZXJ0b3AuYyBjb25maWcu
YyBwcm9jZXNzLmMgLW8gcG93ZXJ0b3AKfQoKc3JjX2luc3RhbGwoKSB7Cglkb2JpbiBwb3dlcnRv
cAp9Cgpwa2dfcG9zdGluc3QoKSB7CgllY2hvCgllaW5mbyAiRm9yIFBvd2VyVE9QIHRvIHdvcmsg
YmVzdCwgdXNlIGEgTGludXgga2VybmVsIHdpdGggdGhlIiAKCWVpbmZvICJ0aWNrbGVzcyBpZGxl
IChOT19IWikgZmVhdHVyZSBlbmFibGVkICh2ZXJzaW9uIDIuNi4yMSBvciBsYXRlcikuIgoJZWNo
bwp9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>