A dialysis machine includes: (i) a source of peritoneal dialysis solution (ii) a patient line for passing the peritoneal dialysis solution to the peritoneal cavity of a patient (iii) a pump for pumping the peritoneal dialysis solution to the peritoneal cavity via the patient line (iv) a heater for heating the peritoneal dialysis solution prior to the dialysis solution reaching the patient line, the heater including first and second heating elements (v) a voltage input from a remote power source and (vi) a control scheme responsive to the voltage input and configured to (a) automatically maintain a proper dialysis solution temperature for the patient via the first and second heating elements regardless of the voltage input wherein the control (b) account for an inlet temperature of the dialysis solution to the heater and (c) account for heater efficiency.