Calculate power consumption

Calculate to measure lipo battery power capacity.