It is important to select the correct method of integration though. See this post: Power consumed per day