Quitting caffeine is a chore, but it can only really be achieved meaningfully with proper diet. Caffeine isn't energy. My question for would be what do you eat?
Without a nutrient-rich, animal based diet, you will struggle with this. I drank coffee for 15 years and quit in January. I feel great but I eat meat every day, eggs, fresh fruit, and raw dairy products. No seeds, no seed oils and no veggies.
My morning grogginess and headaches took 3 days to fade but my energy level has been great since then.