Battery.

Hi, 

Before posting this, ive made many test. 

I have f6sapphire, so far no hr, no oxy activated

Ive noticed That after few days (3) battery consumption is increased a lot, with the same use (from 0.3%/hr to 1.0)

Im wondering if someone jad the same. Thing and if solution was found.

It could be var issue ? Only few setting storage used,

For weather for exemple, do I have to set it to Bull before puting something Else inside ?

Can it be a Glance issue ?

I have a widget which en able sensor on glance and put it to Bull on hide, 

It turns to GPS on on initializ (main view) and turn it of onhide.

Or a device issue ?

I hope my explanation arr clear. 

Have a great day 

  • Here's a zip file with vsbg1.prg and vsbg2.prg, and their log files.

    Take the prg files and copy them to apps, and the text files to apps\logs.  

    Run one of the watch faces and then to other, and then swicth fac (one is blue, one yellow so you can see which is which)

    Then look at the log file, and you should see that only the background of the active WF is running. If that's not the case, I'd say it's a bug on the f6

    Bgtest.zip

  • Many thanks for that !

    So for sure my battery consumption comes from Bg, because as soon as I remove OnStop code, increase of battery.

    so it could be a bluetooth issue too, or comm bug etc...

    So i'm testing right now your files and let you know. Many thanks again.

  • here are the result, unless I did not read it well ,it seems they both run.

    App initialize 19:25
    Counter in App initialize: 0
    onStart
    getServiceDelegate: 19:25
    onAppInstall
    onStop
    App initialize 19:26
    Counter in App initialize: 0
    onStart
    getInitialView
    From OS: data=none 0 at 19:26
    App initialize 19:26
    Counter in App initialize: 0
    onStart
    getServiceDelegate: 19:26
    bg exit: 19:26
    onStop
    onBackgroundData=19:26 1 at 19:26
    onStop counter=1 19:26
    App initialize 19:26
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:26
    onStop counter=1 19:27
    App initialize 19:27
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:27
    onStop counter=1 19:27
    App initialize 19:28
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:28
    onStop counter=1 19:28
    App initialize 19:31
    Counter in App initialize: 1
    onStart
    getServiceDelegate: 19:31
    bg exit: 19:31
    onStop
    App initialize 19:36
    Counter in App initialize: 1
    onStart
    getServiceDelegate: 19:36
    bg exit: 19:36
    onStop
    App initialize 19:38
    Counter in App initialize: 1
    onStart
    onBackgroundData=19:36 2 at 19:38
    getInitialView
    From OS: data=19:36 2 at 19:38
    onStop counter=2 19:38
    App initialize 19:38
    Counter in App initialize: 2
    onStart
    getInitialView
    From OS: data=none 2 at 19:38
    onStop counter=2 19:38
    App initialize 19:41
    Counter in App initialize: 2
    onStart
    getServiceDelegate: 19:41
    bg exit: 19:41
    onStop
    App initialize 19:46
    Counter in App initialize: 2
    onStart
    getServiceDelegate: 19:46
    bg exit: 19:46
    onStop
    App initialize 19:51
    Counter in App initialize: 2
    onStart
    onBackgroundData=19:46 3 at 19:51
    getInitialView
    From OS: data=19:46 3 at 19:51
    onStop counter=3 19:51
    App initialize 19:51
    Counter in App initialize: 3
    onStart
    getServiceDelegate: 19:51
    bg exit: 19:51
    onStop

    App initialize 19:25
    Counter in App initialize: 0
    onStart
    getServiceDelegate: 19:25
    onAppInstall
    onStop
    App initialize 19:27
    Counter in App initialize: 0
    onStart
    getInitialView
    From OS: data=none 0 at 19:27
    App initialize 19:27
    Counter in App initialize: 0
    onStart
    getServiceDelegate: 19:27
    bg exit: 19:27
    onStop
    onBackgroundData=19:27 1 at 19:27
    onStop counter=1 19:27
    App initialize 19:27
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:27
    onStop counter=1 19:28
    App initialize 19:28
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:28
    onStop counter=1 19:28
    App initialize 19:28
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:28
    onStop counter=1 19:28
    App initialize 19:28
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:28
    onStop counter=1 19:28
    App initialize 19:28
    Counter in App initialize: 1
    onStart
    getInitialView
    From OS: data=none 1 at 19:28
    App initialize 19:32
    Counter in App initialize: 1
    onStart
    getServiceDelegate: 19:32
    bg exit: 19:32
    onStop
    onBackgroundData=19:32 2 at 19:32
    onStop counter=2 19:32
    App initialize 19:33
    Counter in App initialize: 2
    onStart
    getInitialView
    From OS: data=none 2 at 19:33
    App initialize 19:37
    Counter in App initialize: 2
    onStart
    getServiceDelegate: 19:37
    bg exit: 19:37
    onStop
    onBackgroundData=19:37 3 at 19:37
    onStop counter=3 19:38
    App initialize 19:38
    Counter in App initialize: 3
    onStart
    getInitialView
    From OS: data=none 3 at 19:38
    onStop counter=3 19:38
    App initialize 19:38
    Counter in App initialize: 3
    onStart
    getInitialView
    From OS: data=none 3 at 19:38
    onStop counter=3 19:38
    App initialize 19:38
    Counter in App initialize: 3
    onStart
    getInitialView
    From OS: data=none 3 at 19:38
    onStop counter=3 19:38
    App initialize 19:38
    Counter in App initialize: 3
    onStart
    getInitialView
    From OS: data=none 3 at 19:38
    App initialize 19:42
    Counter in App initialize: 3
    onStart
    getServiceDelegate: 19:42
    bg exit: 19:42
    onStop
    onBackgroundData=19:42 4 at 19:42
    onStop counter=4 19:44
    App initialize 19:44
    Counter in App initialize: 4
    onStart
    getInitialView
    From OS: data=none 4 at 19:44
    App initialize 19:47
    Counter in App initialize: 4
    onStart
    getServiceDelegate: 19:47
    bg exit: 19:47
    onStop
    onBackgroundData=19:47 5 at 19:47
    onStop counter=5 19:51
    App initialize 19:51
    Counter in App initialize: 5
    onStart
    getInitialView
    From OS: data=none 5 at 19:51
    onStop counter=5 19:51
    App initialize 19:51
    Counter in App initialize: 5
    onStart
    getInitialView
    From OS: data=none 5 at 19:51
    onStop counter=5 19:51
    App initialize 19:51
    Counter in App initialize: 5
    onStart
    getInitialView
    From OS: data=none 5 at 19:51
    App initialize 19:52
    Counter in App initialize: 5
    onStart
    getServiceDelegate: 19:52
    bg exit: 19:52
    onStop
    onBackgroundData=19:52 6 at 19:52
    onStop counter=6 19:54
    App initialize 19:55
    Counter in App initialize: 6
    onStart
    getInitialView
    From OS: data=none 6 at 19:55
    onStop counter=6 19:55
    App initialize 19:55
    Counter in App initialize: 6
    onStart
    getInitialView
    From OS: data=none 6 at 19:55
    App initialize 19:57
    Counter in App initialize: 6
    onStart
    getServiceDelegate: 19:57
    bg exit: 19:57

  • Those do look weird.  When you change the watchfaces, are you actually setting one active or are you staying in preview mode? (when you move to a WF, press start and apply).  Are you getting a bunch of notifcations or moving to widgets, as it looks like the WF itself keeps starting (all the cases where "getInitialView" is in the logs)

  • hi,yes when Ichange WF I apply it everytime

    and during the test, no so much notification I did not use (maybe only twice)  widget carroussel

  • I've run these two WF's with logging on a few devices, and on each the log shows the background only runs for the active WF. (30 mins for one, swicth, 30 mins for the other, etc)

    Looks like there's something odd about the f6 devices

  • Many thanks, 

    Ive made some test, the problem come from the background or the com, 

    If I turn off Bluetooth, no problem, if I turn on BT but not background for weather, no problem, the 6 is New I net on a bluetooth issue. 

    Do you have a trick to turn off background when exiting the wf ? It is the only thing I havent tested yet.

    I tried to put on app base isBg=False and on get service delegate isBg=true and test it on onStop but according the sysprint I put everywhere it does not work.

    Have a great day 

  • No.  No trick needed, as it shouldn't be an issue.  Looks like a problem on the f6 if the background for non-active WF's are running when they shouldn't.

    If you see this when you only have a single WF with a background, what do you have the temporal event set for?  I default to every 15 minutes, bit allow changing that to up to every hour.

  • I recall asking Brian about this when backgrounding was first introduced, and at least at that point, it was only the active one.

    I found the code that does this. It disables background events for all watch faces, and then later the watch face can re-register when it becomes active again.

    Given the logs that are shown above, it looks like there may be something wrong on fenix6 that is allowing this to happen where it didn't happen previously.

  • Hi, 

    I could see in the forum there is lot of battery issue, due to bluetooth, but may be it is That. 

    Where can I report it ? May be this tread can help to fix the problem.