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

Feedback

Your feedback is important to keep improving our website and offer you a more reliable experience.

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
       https://github.com/trevd/android_external_pciutils
   into external/pciutils

   ncurses: Clone
       https://github.com/cvpcs/android_external_libncurses
   into external/ncurses

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