You could purchase one, off the shelf, AA Duracell Quantum (primary cell, Alkaline) 1.5 VDC @ 3900 mAh and ten year shelf life.
Then use the Tindie step-up booster converter which idles at 55uA and use the Espruino Pico @ 10-12 uA at idle / sleep.
Just at idle, you have over 6 years before the battery capacity is drained. Best of all, there is a power check, on the side of this battery to indicate battery capacity.
Note: The TPS61200 booster step-up DC to DC converter makes sure every joule of usable battery energy is used before shutting down.
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.
The Espruino Pico is a battery miser.
You could purchase one, off the shelf, AA Duracell Quantum (primary cell, Alkaline) 1.5 VDC @ 3900 mAh and ten year shelf life.
Then use the Tindie step-up booster converter which idles at 55uA and use the Espruino Pico @ 10-12 uA at idle / sleep.
Just at idle, you have over 6 years before the battery capacity is drained. Best of all, there is a power check, on the side of this battery to indicate battery capacity.
Note: The TPS61200 booster step-up DC to DC converter makes sure every joule of usable battery energy is used before shutting down.
https://www.tindie.com/products/BBTech/tps61200-power-step-up-converter-booster-v1/