Yes, there is! There's an app called Power Manager that can help you find out what uses the power: https://banglejs.com/apps/?id=powermanager
And there's a discussion about it being used to try and find causes for power usage here: https://forum.espruino.com/conversations/385629/#comment16946032
@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.
Yes, there is! There's an app called Power Manager that can help you find out what uses the power: https://banglejs.com/apps/?id=powermanager
And there's a discussion about it being used to try and find causes for power usage here: https://forum.espruino.com/conversations/385629/#comment16946032