On Mon, Jan 16, 2012 at 12:45 PM, yong qin yongqin.liu@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:
- execute the script
- restart android
- 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?