bigdigital / watchdrip

GNU General Public License v3.0
41 stars 13 forks source link

[Feature Request] Variable watchface update intervals depending on value change, glucose level and time #3

Open atomphil opened 1 year ago

atomphil commented 1 year ago

starting point

I use the xDrip WatchDrip combo with some Amazfit Bip S and Bip S lite watches. This works well so far, but takes up a lot of the watch’s battery. This leads to a rather short running time of the watch.

suggestion for improvement

Instead of dullly uploading a new watchface every five minutes, it would save battery power to only update the watch when the display value has changed significantly. The same or almost the same sugar values mean no additional information for insulin therapy. The update interval of the clock can therefore be increased to save power. When the values change quickly, however, a short update interval is important.

watchface upload depending on value change, glucose level and time

In order to decide whether a new value of xdrip triggers an upload of the watchface, the value should be compared with the value of the last watchface upload. The difference triggering an upload could be tiered by glucose level. In addition, there could be a maximum interval to keep the chart up-to-date. It could be further graduated between day and night mode.

suggestions to try (the values should be adjustable in the settings)

All values here are in mmol/l.

The night mode settings should be independent of the backlight settings, as unfortunately these do not work properly for the Bip S.

lunaroc commented 1 year ago

+1