Quote:
Originally Posted by bel3atar
Not from sleep, but while I am reading.
Let's say I am reading through a page; will this extension run code every 15 seconds even if I don't change the brightness?
|
During reading, it will "run" when the check interval is reached or when you turn the Kindle off. The check interval is set to 15 seconds (see frontlightmaster.sh line 139). If you do not make use of the schedule functionality, you can set the CHECKINTERVAL value in config.sh (line 6) to something more to your liking (maybe not too high, but up to once an hour = 3600 seconds should not be a problem).
Apart from that: waking once every 15 seconds for minimal checks is not going to have a very noticeable impact on battery use.
If you want to verify how often the script wakes, you can enable the logging (or keep it enabled) and set the LOGFILE parameter (config.sh line 42) to a file. Then after some use check the file contents - as you can see in frontlightmaster.sh, it outputs a date-time-stamped message every time it runs.