Just to add, you can get down to 3mA in idle with E.setClock({M:63, N:192, P:8, Q:15}) which is basically the slowest you can go - but USB won't work.
E.setClock({M:63, N:192, P:8, Q:15})
Everything should be ok if you speed it back up though.
@Gordon started
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.
Just to add, you can get down to 3mA in idle with
E.setClock({M:63, N:192, P:8, Q:15})
which is basically the slowest you can go - but USB won't work.Everything should be ok if you speed it back up though.