Trace Power Consumption
The STM32L4 Discovery has embedded some power consumption measure capabilities for static modes.
You can find in the STM32CubeL4 sources the source of the demo software that uses the feature on the board.
I'm not aware of another tool for power consumption measurement on STM32L4 for the moment.
It will really help if you could detail a little bit more your expectations in term of power measurement to see if such a tool can be easily produced.
Regards
Daniel