set dashed line for average value for battery