Power meter for energy cost allocation