adding power measurement utility