Icon
 

In the figure the ideal batteries have emfs