DisableSuspend.apk

Alexander Sack asac at linaro.org
Mon Jan 16 12:00:20 UTC 2012


On Mon, Jan 16, 2012 at 12:45 PM, yong qin <yongqin.liu at linaro.org> wrote:
> Hi, all
>
>>> The command  below seems can also disable suspend.
>>>     adb shell service call power 1 i32 26
> this command only seems not works well.
>
> I write a shell script (see the attachment), and run it as following will
> disable the suspend:
> 1.  execute the script
> 2.  restart android
> 3.  execute the script again
>      I don't know why should execute twice,
>      but doing twice do disable the suspend:(

The "shell service call power ..." is probably just a runtime setting?
so we have to run it on every boot, no?

Can we add this to a generic place in lava-android-test (or
dispatcher) to ensure we call this first thing every time when booting
up a unit?

-- 
Alexander Sack
Technical Director, Linaro Platform Teams
http://www.linaro.org | Open source software for ARM SoCs
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog



More information about the linaro-android mailing list