User Activity

It says we can measure power consumption of mcu by putting a ammeter at JP6 in page 23(https://www.st.com/resource/en/user_manual/um1724-stm32-nucleo64-boards-mb1136-stmicroelectronics.pdf).​I write a program just detecting button, if button pressed ...
I am new in st's mcu.I am going to switch my project to STM32L010 (Nucleo-L010RB).In my project, i need to let mcu going to stop mode and wake up it self every 100ms.How do i do it?Is there any code for me to study?