View Single Post
Old 06-21-2022, 01:50 AM   #75
XTy9zVWXwn
Junior Member
XTy9zVWXwn began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2021
Device: Paperwhite 3 (7th gen)
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.
That is some great detective works. Thanks for sharing.
XTy9zVWXwn is offline   Reply With Quote