Basically advertising uses very little power - it's only using the radio for a fraction of a millisecond, every 300ms. When you have a connection, it uses the radio more often = more power, but you can use NRF.setLowPowerConnection(..) to use a slower connection speed that uses less power.
It's really only things that keep the radio or CPU on for a long time that use the power (plus the LEDs, obviously). If I'm honest I didn't realise that findDevices drew as much power as it does!
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.
Yes, absolutely. There's some info here: http://www.espruino.com/Puck.js#power-consumption
Basically advertising uses very little power - it's only using the radio for a fraction of a millisecond, every 300ms. When you have a connection, it uses the radio more often = more power, but you can use
NRF.setLowPowerConnection(..)
to use a slower connection speed that uses less power.It's really only things that keep the radio or CPU on for a long time that use the power (plus the LEDs, obviously). If I'm honest I didn't realise that
findDevices
drew as much power as it does!