Ticket Created
over 3 years ago

WERETECH-12398

System.Stats.batteryInDays does not return a value not in the simulator or on the watch itself

Implemented the new SDK 4.1.1 and used the new available system metrics. All work fine except the battery in days. This metrics always returns null on both the simulator or the watch itself.

Is this a known bug or uncomplete feature?

  • It could be.  They have started to combine row and apac on newer devices.  I thinks that's the case with the f7 and epix2.

    Just remember, these json files are "look but don't touch" Slight smile

  • My inference seems to be right. fr245 have 3 partNumbers

    [
    {
    "connectIQVersion": "3.3.1",
    "firmwareVersion": 900,
    "languages": [
    {
    "code": "ara",
    "fontSet": "ww"
    },
    {
    "code": "hrv",
    "fontSet": "ww"
    },
    {
    "code": "ces",
    "fontSet": "ww"
    },
    {
    "code": "dan",
    "fontSet": "ww"
    },
    {
    "code": "dut",
    "fontSet": "ww"
    },
    {
    "code": "eng",
    "fontSet": "ww"
    },
    {
    "code": "est",
    "fontSet": "ww"
    },
    {
    "code": "fin",
    "fontSet": "ww"
    },
    {
    "code": "fre",
    "fontSet": "ww"
    },
    {
    "code": "deu",
    "fontSet": "ww"
    },
    {
    "code": "gre",
    "fontSet": "ww"
    },
    {
    "code": "heb",
    "fontSet": "ww"
    },
    {
    "code": "hun",
    "fontSet": "ww"
    },
    {
    "code": "ita",
    "fontSet": "ww"
    },
    {
    "code": "lav",
    "fontSet": "ww"
    },
    {
    "code": "lit",
    "fontSet": "ww"
    },
    {
    "code": "nob",
    "fontSet": "ww"
    },
    {
    "code": "pol",
    "fontSet": "ww"
    },
    {
    "code": "ron",
    "fontSet": "ww"
    },
    {
    "code": "rus",
    "fontSet": "ww"
    },
    {
    "code": "slo",
    "fontSet": "ww"
    },
    {
    "code": "slv",
    "fontSet": "ww"
    },
    {
    "code": "spa",
    "fontSet": "ww"
    },
    {
    "code": "swe",
    "fontSet": "ww"
    }
    ],
    "number": "006-B3076-00"
    },
    {
    "connectIQVersion": "3.2.5",
    "firmwareVersion": 780,
    "languages": [
    {
    "code": "eng",
    "fontSet": "ww"
    },
    {
    "code": "ind",
    "fontSet": "ww"
    },
    {
    "code": "zsm",
    "fontSet": "ww"
    },
    {
    "code": "zhs",
    "fontSet": "apac_chn"
    },
    {
    "code": "zht",
    "fontSet": "apac_twn"
    },
    {
    "code": "jpn",
    "fontSet": "apac_jpn"
    },
    {
    "code": "kor",
    "fontSet": "apac_kor"
    },
    {
    "code": "tha",
    "fontSet": "apac_tha"
    },
    {
    "code": "vie",
    "fontSet": "apac_vie"
    }
    ],
    "number": "006-B3145-00"
    },
    {
    "connectIQVersion": "3.2.5",
    "firmwareVersion": 780,
    "languages": [
    {
    "code": "eng",
    "fontSet": "ww"
    },
    {
    "code": "ind",
    "fontSet": "ww"
    },
    {
    "code": "zsm",
    "fontSet": "ww"
    },
    {
    "code": "zhs",
    "fontSet": "apac_chn"
    },
    {
    "code": "zht",
    "fontSet": "apac_twn"
    },
    {
    "code": "jpn",
    "fontSet": "apac_jpn"
    },
    {
    "code": "kor",
    "fontSet": "apac_kor"
    },
    {
    "code": "tha",
    "fontSet": "apac_tha"
    },
    {
    "code": "vie",
    "fontSet": "apac_vie"
    }
    ],
    "number": "006-B3914-00"
    }
    ],

  • Another Q.

    I saw the partNumbers array for fr255 has only one element. So does it mean that this device only has one universal version rather than APAC , ROW, and more version. LOL

  • Nice. It is more detailed than the device reference page of garmin developer