Data set containing the power consumption measurements when running different applications (test and sampling apps) for different clock frequencies, and using an adaptive frequency scaling module. The power consumption was measured using Keysight B2901A suplying an STM32L476 microcontroller with 3.3 V and a measurement current range of 100 mA. The aperture time was configured to 20 ms. 3000 samples were acquired for static clock frequency experiments, and 100.000 samples were acquired for dynamic clock frequency experiments.