refining arduinoPowerMeter class