Change type of power_consumption field from char to int