diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..5134ef7 --- /dev/null +++ b/readme.md @@ -0,0 +1,24 @@ +# Instinct 2s Better battery Watchface + +This is a battery optimized watchface for instinct 2s. It does all of the layout positioning hardcoded to save battery life. +I get about 4% consumption per day with this, which is about 10% better than the stock watchfaces. + +I daily drive this watch face and haven't seen any crashes in a long time. + +![](screenshots/ss1.png) ![](screenshots/rain.png) + +# Features + +1. Live heart-rate. Bottom right corner of the watchface features a live heart rate count. This is updated partially even when the watchface is active to save battery. +All other parts of the watch face is only drawn once a minute. +2. Heart-rate graph. Goes back 100 mins and adjusts height as indicated by the left side arm. If the HR data is concentrated on higher or lower end of the spectrum, the graph will adjust to show most granularity. Updates once a minute. +3. Weather, steps, date. Drawn once a minute right above the live HR and the HR graph. +4. Time. No seconds to save battery. +5. 3 timezone hours. Only show hour for different timezones since minutes are the same. Zones are set to, UTC+9, UTC, and UTC+3. These are hardcoded to save battery. +6. Saliency area: Changes what's displayed based on circumstances. + * Picture above is showing sunset. Sunset and sunrise times are cached until the next event to save battery. + * If rain is coming this will show a precipitation forecast. Cached 30 mins to save battery. + * If battery is low, it will show battery percentage. + * If freezing it will show a freezing alert. + +![](screenshots/full.png) \ No newline at end of file diff --git a/screenshots/full.png b/screenshots/full.png new file mode 100644 index 0000000..8bc1ea1 Binary files /dev/null and b/screenshots/full.png differ diff --git a/screenshots/rain.png b/screenshots/rain.png new file mode 100644 index 0000000..1836a09 Binary files /dev/null and b/screenshots/rain.png differ diff --git a/screenshots/ss1.png b/screenshots/ss1.png new file mode 100644 index 0000000..827035a Binary files /dev/null and b/screenshots/ss1.png differ diff --git a/source/plottableArray.mc b/source/plottableArray.mc index 28d287c..811790e 100644 --- a/source/plottableArray.mc +++ b/source/plottableArray.mc @@ -7,16 +7,13 @@ class PlottableArray public var data; - public var capacity; - public var INVALID; - function initialize(invalidData, capacity) + function initialize(invalidData) { min = 2000; max = -1; data = []; - capacity = capacity; INVALID = invalidData; } @@ -26,13 +23,8 @@ class PlottableArray data.add(item); } - function add(item as Numeric, when as Time.Moment) + function add(item as Numeric) { - if(when != null && data.size() == capacity) - { - - } - if(min > item) { min = item;