Quote:
Originally Posted by andraz
I've finally figured it out. A missing piece of the puzzle was to disable WIFI and simply let the script to do its job (it enables WIFI itself right before needed and disables it afterward). If WIFI is not disabled when Kindle is awake, it gets suspended by the system when it falls asleep. In this case, the command "lipc-get-prop com.lab126.cmd wirelessEnable" will still return 1 even though there is no connection established (no response to ping). It is possible to overcome this by simulating a press of the physical button and waking the Kindle before the script execution (this has been implemented in Stefan's version). But doing that the backlight will flash every time the screen gets updated.
|
That is some great detective works. Thanks for sharing.