* New power saving mode using build in movement detection
Update app.js
- add displaying powersaving status
Update boot.js
- add power save mode
- minimize fix#1425 to issue #1423
- minimize wake/sleep decision
- add checking for correct this reference
- add checking for global object existence
- remove unneeded global. prefix
Update lib.js
- add powersaving setting to setEnabled()
- fix missing logfile issue #1423 on all functions
- remove check for changes in setEnabled(...) to always restart the service
Update settings.js
- add settings powersaving and maxmove
- add displaying settings depending on power saving mode
- restart service when changing enabled, logfile and powersaving
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.