What is the power of non ideal battery is it (Current)x(Emf) or (Current)x(potential diff)

Should i take IE or Ix(E-Ir) ?