First we can calculate the power produced by the battery, which is given by:
[tex]P=VI=(3.80 V)(2.00 A)=7.6 W[/tex]
where V is the voltage of the battery and I the current.
We know that the energy produced is the product between the power and the time t:
[tex]E=Pt[/tex]
since the time is
[tex]t=4.00 h=14400 s[/tex]
the energy produced by the battery is
[tex]E=Pt=(7.6 W)(14400 s)=1.09 \cdot 10^5 J = 109 kJ[/tex]