When users connect their Joy-Con to a dead Switch, no power is available to charge the controllers. As a result, the best way to keep the Joy-Con charged is to leave them on the Switch while it's charging in its dock or charging via the USB-C cable included in the box.