> To eliminate that problem, I put my phone far away from my bed at night.
My wife and I recently started leaving our phones in another room overnight. It's a big improvement -- previously it was easy to mindlessly scroll through nonsense before sleep and again in the morning when waking up. Now we read and talk more. It's still easy to grab the phone and go back to bed in the morning but overall it has been a very positive change.