mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
596e20e588
This is the first step to support "automatic warmth", meaning that warmth will be set according to the current time. The user can set a "bedtime" at which warmth should be maximal. Warmth will increase towards approaching bedtime and decrease afterwards. Add new members 'auto_warmth' and 'max_warmth_hour' which tell if this feature is enabled and the "bedtime", resp. Add a method 'calculateAutoWarmth' which will set the current warmth according to the current time. The progression is linear but not symmetrical: we start 5h before "bedtime", but turn back warmth to '0' 2h after it, to make sure that warmth is '0' in the morning. For automatically setting warmth in the background we use the backgroundrunner plugin, because not only is it more comfortable to use, but we also cannot require 'uimanager' during device initialization. |
7 years ago | |
---|---|---|
.. | ||
apps | 7 years ago | |
device | 7 years ago | |
document | 7 years ago | |
ui | 7 years ago | |
cache.lua | 8 years ago | |
cacheitem.lua | ||
configurable.lua | 9 years ago | |
dbg.lua | 7 years ago | |
depgraph.lua | 8 years ago | |
device.lua | 7 years ago | |
docsettings.lua | 7 years ago | |
dump.lua | 8 years ago | |
gettext.lua | 7 years ago | |
httpclient.lua | 9 years ago | |
logger.lua | 8 years ago | |
luadata.lua | 7 years ago | |
luasettings.lua | 7 years ago | |
luxl.lua | 10 years ago | |
optmath.lua | 8 years ago | |
pluginloader.lua | 8 years ago | |
pluginshare.lua | 7 years ago | |
random.lua | 8 years ago | |
readhistory.lua | 7 years ago | |
up_reg.list | 10 years ago | |
util.lua | 7 years ago | |
version.lua | 8 years ago |