Today, after reading about power management tricks, I needed to run powerstat on my machine, and found out that powertop is not provided in the default Ubuntu 12.04 repositories.
I added the Colin King’s ppa (Colin King is the creator of powerstat) but I realized that the version provided in that ppa is too old to run on modern systems.
I wrote an e-mail to Mr. King to let him know about this issue, then I headed to the git repository.
I was surprised to see that powerstat is a simple C program (less than 1500 lines of code long, comments included) and that building it was as easy as typing `
make` and pressing enter.
Some simple notes:
- powerstat homepage is at http://kernel.ubuntu.com/~cking/powerstat/
- powerstat git repository page is at http://kernel.ubuntu.com/git?p=cking/powerstat.git;a=summary
- powerstat git url is: git://kernel.ubuntu.com/cking/powerstat.git