1. The pack is lithium-ion
Most robot vacuums run on a lithium-ion pack of 12 or 14.4 volts, and stick vacuums use the same kind of pack, often in a stick that clicks into the handle.
2. A pack is good for a few hundred charges
A new pack manages roughly 300 to 500 charge cycles. After that it holds less charge, so the vacuum runs for less time on one go and needs charging more often.
3. Match the pack to the machine
Buy the pack the maker sells for your model, or one with the same voltage and the same connector. A pack with the wrong plug will not go in, and one with the wrong voltage can damage the vacuum.
4. Charge it on its own dock
Use the dock the vacuum came with. A pack left flat for weeks can go into a state where it will not take a charge again, so top it up every couple of months if the machine is standing still.
5. Store it half charged
A pack you are not using for a few months is best kept at about half charge, in a cool dry place. Check it every month or so and top it up.