I first downloaded 1.8 from here: http://www.linuxpowertop.org/download.php,
and followed the building instruction on the download link above, just ran
"make".
I got some errors when compiling, the problem was solved after installing a
couple of packages such as libncursesw5-dev, pciutils-dev...
The powertop built like this worked on Linux PC but didn't work on android
phone.

So I tried to get the version for android, which included Android.mk, but
got lots of errors while compiling with "make powertop" command.
Can you please let me know where to get the proper 1.98 source code for
android and how to build it?

2012/2/22 Arjan van de Ven <[email protected]>

> On 2/22/2012 4:34 PM, fei zhao wrote:
> > Hi!
> >
> > I am trying to use powertop on Android(ICS). It is integrated in ICS
> > already, but the version is 1.11, not the latest 1.8.
> > I downloaded the 1.8 source code, built the executable powertop, and
> > pushed it to the phone through adb command:
>
> we've been using powertop 1.98 and the like on our android phones quite
> a bit..
>
>
> > $ adb push ./powertop /data
> > but I got the following error while running it:
> > /system/bin/sh: ./powertop: not executable: magic 7F45
>
>
> looks like you did not (cross) compile it correctly?
>
>
_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power

Reply via email to