Don't turn them off whilst something is playing. Stop playback and wait for 10 seconds, then turn them off.
There's a bug that stops them from charging if you turn them off whilst they were active. It causes the mysterious purple charging light (which indicates a fault) rather than the expected blue one at the end of a charge.