Many ebike batteries are lithium ion, which get 300-500 full cycles, from 100% to 0% before they pass a (somewhat arbitrary) threshold where capacity is significantly less.
But, keeping energy levels between 20 and 80% can double your battery lifespan or better. From Battery University...