Used coffee grounds work as fertilizer for eggplants. They are rich in nitrogen, potassium, and magnesium.