They have a tiny charging circuit on them sometimes.
it would be very unusual for these to lose compression, unless it’s been seriously abused. I would stick some 2 stroke down the bores and leave it over night. Then turn it over a few times. Repeat as ness. Might find the compression comes up...