How to Build PowerTOP for Android
You can find these instructions on the README file included with PowerTOP src code.
1. Obtain pciutils and ncurses libraries.
Skip this step if they are already in the tree.
./src/csstoh.sh src/powertop.css src/css.h
to generate the css.h header file.
3. Apply patches inside patches/Android
4. PowerTop can be built with top level make,
or by doing "mm".
The resulting binary is under $ANDROID_PRODUCT_OUT/system/bin/powertop