Yes, the Nintendo Switch uses a lithium-ion battery which is why it’s recommended to bring it with you as a carry-on item. If you do decide to put your Switch in a checked bag, make sure it is completely powered off.