You could have a defective battery.
Only way to know for sure, is to replace the batteries.
i have a samsung a7 digital camera but it has begun to sieze when i am trying to take pictures with the flash.
when it is turned on the flash light just keeps flashing although the battery is full then it says flash error and turns itself off. i took back to shop but as usual it begins working again for a few days then it does it again anybody any advice.