Hi Alex - as Shannon mentions... eating something with a fat and/or protein content at that time helps. The holistic MD I had at the time I was experiencing the hypoglycemic 'attack's that brought on AF, shared that he also had nocturnal hypoglycemia and always kept a container of full fat yogurt at his bedside so it was ready to eat quickly. But, unless the yogurt is "plain"... meaning no sugar added, that's counterproductive.
I settled on using coconut oil... which doesn't need refrigeration and is a soft solid at room temperature. A tablespoon before bed and more, if you wake up, will manage the 'surges' that promote wakefulness. Choose organic, expeller- pressed coconut oil.
I experienced the hypoglycemia-driven AF during the day as well. Eventually, I learned from my new F. M. MD's testing that I had adrenal burnout and after following protocols for re-establishing healthy adrenal function, that issue was resolved.
An excellent reference and guide for addressing the adrenal problem is "The Schwartzbein Principle II - The Transition"... by Diana Schwarzbein, MD. [
www.amazon.com]
Jackie