Powerstat on Ubuntu 12.04 LTS

March 01, 2013 | 1 Minute Read

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: