A modern Di2 battery will last between 2000 and 5000 kilometers per charge. This depends a bit on how often you shift and also your shifting style. The front derailleur has to work harder than the rear derailleur and therefore also consumes more energy.