The script does not awake after 15s is the Kindle is suspended. Running this check every 15s while active does indeed consume only little power. As it is open source one may use a lipc and wait for frontlight changes before running this test - if there is such event (lipc-wait-event -s 3600 com.lab126....).
|