A50 problems

Hey guys, i have been using my a50s with my ps4 for about 3-4 years. They work great. But the other day they unsynced and have been giving me problems ever since. I resynced them, but today they keep turning off while in the middle of use.
Thought the batterie might have been dead so I let it charge for while. Still turned off after 30 mins of charge.
I tried using them while still plugged into the charger but they are still shuting off by there self
I will be in the middle of a game, are even talking to friend.
All help is appreciated would like to get back to my gaming as soon as possible.