Ground rent has nothing to do with the maintenance of the building. It is an income to the freeholder and the amount, sometimes with periodic increases, is stated in your lease.
If you do not pay your ground rent you could potentially lose your property (forfeiture).
When leaseholders buy the freehold of their block they often dispense with ground rent.