Commit Graph

5 Commits (b8721fbdcfe56c6e1d269e3ad00bb8e08837089a)

Author SHA1 Message Date
storm64 b8721fbdcf sleeplog: New power saving mode using build in movement detection
* 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
2022-02-12 01:43:58 +01:00
Marco H 47d7aced65
Update metadata.json 2022-02-11 13:45:10 +01:00
Marco H ee104a2e8a
Update ChangeLog 2022-02-11 13:45:01 +01:00
Marco H 50b94d6870
Update boot.js
Fixes Uncaught Error: Expecting a string, got undefined
see https://github.com/espruino/BangleApps/issues/1423
2022-02-11 13:16:59 +01:00
storm64 02aeaff86b sleeplog: Add Sleep Log App
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.
2022-02-11 09:29:02 +01:00