Service life of ship batteries