Sorry, you need to enable JavaScript to visit this website.

How to Build PowerTOP for Android

BY Alexandra Yates ON Mar 23, 2015

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.

   pciutils: Clone
   into external/pciutils

   ncurses: Clone
   into external/ncurses

2. Run
       ./src/ 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