On Wed, May 8, 2013 at 10:27 PM, Kevin Qiu <explodeandroid(a)gmail.com> wrote:
I am looking into the source code, but it's a bunch of codes. And
lack
of knowledge of CPP itself brings me more troubles. Can some one
described to me how powertop makes power consumption estimation. And
which files does the job for make estimation for different devices? Are
there similar linux open source software does the similar job?
KevinQ
I believe some of this is covered in the README... Powertop looks at
your laptop battery if one is present, and infers the power drain from
there. It can also use an external power meter.
The estimation algirithm itself is in the code, check out the
calibration parts for more details.
Auke