When some potential difference is maintained between A and B