to 0.13:
- Prevent to stay in consecutive sleep if not worn.
- Correct calling triggers where last time is earlier then first time.
- Add the trigger object itself as argument to the fn function to be able to store data or functions inside the trigger object.
to 0.14:
improvements initiated by #2677
- Add a option to delete all logfiles before a specific date from the watch
- Correct regex file search from `\d\d\d\d` / `\d{4}` to `\d+`
Update app.js
- adjust label position to improve readability on light themes
- add icons to display service states
Update ChangeLog
- compact old and add new changes
Update lib.js
- fix logfile correction in `setEnabled(...)` to make disable logging possible
- simplify logfile checks
Update README.md
- add icons of the service states
Update settings.js
- fix error on reading a non string logfile value
Add icons: disabled.png, nolog.png and powersaving.png
Update app.js
- move complex data analysis into separate function
- add displaying a loading info
- faster feedback by calling the analysis through a timeout
Update boot.js
- correct fix#1445 as mentioned by splitting the `stop()` function to only remove the kill listener on a manual stop
- optimize `start()` and `stop()` functions
Update README.md
- change beautified menu entries according to changes in settings.js
Update settings.js
- replace `circulate()` function with internal `wrap: true`
- move delay for menu redraw as suggested in espruino/Espruino#2149
- beautify menu entries for new touchscreen E.showMenu system (> fw 2v.13.32)
Update boot.js
- prevent removing other kill listeners #1445
Update README.md
- change "only available" information for Settings
- add new ideas to "To do list"
* Complete new power saving mode after tests
* Move all read/write log operations into lib/module
Update app.js
- update `readLog(...)` call
Update boot.js
- update maxmove default value
- delete `log(..)`, merging into `writeLog(...)` from lib.js
- replace all read/write actions to the logfile with `readLog(...)`/`writeLog(...)` from lib.js
- add restoring the status after a restart (<5 min ago) to last known state
- add deletion of unused settings on power saving mode
- update log timestamp on power saving mode to always be 10min before now
Update ChangeLog
Update lib.js
- update `readLog(...)`, prevent errors on reading, minimize workload if unfiltered
- add `writeLog(...)` to append or replace log depending on input with plausibility checks on input
- merging `log(...)` from boot.js into `writeLog(...)`
- replace all read/write actions to the logfile with `readLog(...)`/`writeLog(...)`
Update metadata.json
- update version number
- add power saving mode to description
Update README.md
- add power saving mode description
- move sleeping/not worn decision description into its own section
- add description for timestamp values to Logging section
- update Global Object and Module Functions section
Update settings.js
- update maxmove setting and default value
This app logs and displays the four following states:
_unknown, not worn, awake, sleeping_
It derived from the SleepPhaseAlarm and uses the accelerometer to estimate sleep and wake states with the principle of Estimation of Stationary Sleep-segments ([ESS](https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en)) and the internal temperature to decide _sleeping_ or _not worn_ when the watch is resting.