1. The lamp is the hungry part
An IPL device is a bright flash that is filtered to take the hair with it, and the lamp needs a lot of power for a fraction of a second. The battery therefore has to deliver a big burst, over and over.
2. A built-in cell, not a pack
Most IPL devices have a lithium-ion cell inside, and it charges over USB from the adaptor that came with it. The cell is not meant to be swapped, so when it will not hold a charge the device goes to the maker or a repair shop.
3. A cell that will not charge
A device that will not light up can have a cable that has failed rather than a dead cell. Try a different cable and a different socket first, and then leave the device on charge for a couple of hours before deciding it is the cell.
4. The count is on the screen
Most devices show how many flashes are left on the cartridge and on the device itself. When the count runs out the lamp gets dimmer, so the last few treatments do less than the first ones did.
5. Between sessions
Keep it away from heat and out of the bathroom, and give it a charge every couple of months if it sits in a drawer over the winter. A lithium cell kept at half charge comes back to life far more easily than one kept empty.