• Hi,

    I've had my Bangle 2 draining it's battery in about 1-2 days the last couple of weeks.

    With the help of the logging feature in Power Manager (thanks @halemmerich!) I've identified a "deferred function call" that's likely to blame, in my understanding. Power Manager says the function in question is responsible for 99% of deferred function calls.

    Now, I've tried to identify where the code is located, but haven't found it. I've searched the Espruino organization on github. I've downloaded a backup of my watch and used neovim + telescope "live_grep" feature to locate. Both without success.

    Here's the log entry from powermanager.def.json:

    "function () {a==''&&c();var d=a[0];a=a.substr(1);const e=.25,f=1;const g=100,h=200,i=500;d=='.'?Bang":12673126.73950194939"
    

    If anyone recognize the function snippet from the log above it would be a huge help. Since it seems minimized it's proven tricky to me...

    A screenshot from Power Manager's "download data from app" app loader screen is attached.

    Steps I've not yet taken:

    • Factory reset and setup watch again.
    • Delete app by app to try and see if the issue is resolved.

    EDIT, installed apps:

    Device info Device Type BANGLEJS2 Firmware Version 2v17.32 Apps
    Installed notify (0.12), health (0.22), clock_info (0.02), widminbat
    (0.02), podadrem (0.07), spotrem (0.07), messages (0.58), android
    (0.23), lightswitch (0.06), widanclk (0.02), backswipe (0.02),
    widmsggrid (0.04), torch (0.11), calculator (0.07), agenda (0.13),
    smpltmr (0.07), kbmulti (0.05), widram (0.03), widbthide (0.01),
    clkinfostopw (0.01), messageicons (0.05), recorder (0.22), widalarm
    (0.01), bwclklite (0.32), powermanager (0.08), boot (0.57), setting
    (0.59), runplus (0.18), sched (0.22), dtlaunch (0.23), agpsdata
    (0.06), messagesmusic (0.05), alarm (0.41), quicklaunch (0.14), hrmmar
    (0.02), longpressbuzz (0.01), fastload (0.04), activityreminder
    (0.11), taglaunch (0.03), swscroll (0.03), messagegui (0.65), sleeplog
    (0.14)


    1 Attachment

    • Screenshot from 2023-04-15 11-57-37.png
About

Avatar for Ganblejs @Ganblejs started