View Single Post
Old 12-24-2022, 10:30 AM   #81
rxb
Junior Member
rxb began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2022
Device: pw3
Quote:
Originally Posted by andraz View Post
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.
Amazing, thank you. I've been losing my mind tryingt to figure this out.
rxb is offline   Reply With Quote