Two waters of different salinities, together with shale and a permeable inert membrane between the two fluids, creates a battery and current flows in the cell.