Okay so i need some help.

I have an Ibanez with active pickups and a roland amp. Its nothing big but it sounds fine Usually.

But lately when i plug my guitar in this loud screeching noise comes out.
I have an idea it's the battery holder. Because if i change the batteries it stops but the sound gets really low and you can barely hear it. i have tried changing cables didn't help.
I have another amp a Giannini and it does the same thing there.

Do some of you guys know how to fix this. do i need to get a new battery holder installed ?

In advance thanks
It might also be the OpAmp inside the pickup (the little amplifier) that is burnt, it's normal I think that you still hear something without the battery, that just means your coils aren't broken. I think you should contact a pro for this