Try CBD oil at night. It helps with sleep. I make my own.
I buy beans from local roasters(Montgomery or Floyd county Va). Note: the darker the roast, the less acidic. Caffeine doesn’t change.
I sleep fairly well. At 72, I still don’t have to get up in the middle of the night to hit the bathroom. Thank God for that.
I follow the rule no caffeine after about 9 am and take 5 mg time-release melatonin at bedtime. I try to limit LCD screens in the evening, but I most often ignore that rule.