Turn it off and put it away. Make it slightly more difficult to just "turn back on to check a few things".
As a kid growing up I always had a few computers in my bedroom. I would get so wrapped up in learning programming or playing games on them that it would reach a point where something inside me said "I have to take a break". And by a break I mean... I would completely disconnect everything, pack it all up and put it away in the closet for a few days. I would get out and do other things, get a full night's sleep and feel refreshed again, before setting them all back up again.
It's funny to think how much more reliant we are now. Not to mention my phone is a computer I can't really go a few days without using it.
But my point to this story is, force yourself to take a break and ignore whatever it is you feel is so important, you might find you're happy to get away from it for a bit, and you'll enjoy it more after a break.
Or go away for a weekend. A change of surroundings is always good too. Leave all your electronics behind.