electrolyte balance

The maintenance of appropriate levels of ions like sodium, potassium, calcium, and magnesium in body fluids.