View Single Post
Old 06-03-2022, 10:10 AM   #74
andraz
Junior Member
andraz began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2022
Device: Kindle PW3
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.
andraz is offline   Reply With Quote