Also understand that advertising interval, transmit power output and sleep durations need to be taken into account, along with number of times polling the LDR sensor is performed.
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.
Sat 2021.06.19
Although I found this Pixl reference:
I never acquired the telepathic skill. Please provide your link so we may follow along.
I found the specific answer for Puck by taking a peek at the presentation page:
Below the Power Consumption heading are the measured current draw values.
See the following section on how to calculate an estimated duration with a brand new battery.
Also understand that advertising interval, transmit power output and sleep durations need to be taken into account, along with number of times polling the LDR sensor is performed.
What additional parts make up the total support circuitry? A schematic would assist here.
See heading Power Consumption as current draw is displayed in common units.
Full running JS with LED's, BLE, and Mag in that order consume the most, shortening battery life.