Funny I have exactly the same consoles as you. I mostly play on the steam deck now, usually inside the house, but I do bring it to work sometimes to play during my lunch break (depends on the game I’m playing at the time). When I play on the switch, I take it everywhere as I am not as scared to break it or have it stolen and it’s way smaller (I haven’t played on my 2dsxl in a loooong time but I use to take it everywhere).
When I play the deck at home, I play on it unplugged, then plug it when necessary, and keep playing (I usually play sitting on a japanese floor seat with the charger nearby so I can easily plug it in and out).
It made me realise that I do not have enough deep sleep per night and it got confirm later by a doctor, unfortunately I haven’t found a way to solve that yet, but at least I know I’m not crazy.