But basically when Bangle.js has a bluetooth connection, it goes into a low power low speed communications mode after 1 minute of inactivity, but when something is sent to it or it sends something, it enters the high power mode for 1 minute. If you've got something like a notification from the Android phone that keeps coming in every few minutes, that could kick it into the higher power mode?
To track down you could enable write log in Gadgetbridge on your phone, then dump it out, and look to see how often UART TX/UART RX lines occur normally.
Also in Gadgetbridge, make sure allow high MTU is enabled in the device's settings (I think it's the default) - if the Bangle can send/receive just one packet it won't put itself into the high power mode
If this is the issue I guess it's something we could look at as a firmware update - making the Bangle less willing to put itself into the high power radio mode (like requiring more than 2 packets before it does it)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi - please can you check and make sure the LCD timeout is low, and only
Wake on Button
is set in the Bangle's settings?But as you say this could be related to the Bluetooth connection. Someone asked about this recently and there's a bit of background in https://forum.espruino.com/conversations/399937
But basically when Bangle.js has a bluetooth connection, it goes into a low power low speed communications mode after 1 minute of inactivity, but when something is sent to it or it sends something, it enters the high power mode for 1 minute. If you've got something like a notification from the Android phone that keeps coming in every few minutes, that could kick it into the higher power mode?
To track down you could enable
write log
in Gadgetbridge on your phone, then dump it out, and look to see how oftenUART TX
/UART RX
lines occur normally.Also in Gadgetbridge, make sure
allow high MTU
is enabled in the device's settings (I think it's the default) - if the Bangle can send/receive just one packet it won't put itself into the high power modeIf this is the issue I guess it's something we could look at as a firmware update - making the Bangle less willing to put itself into the high power radio mode (like requiring more than 2 packets before it does it)