How to fix autopause in s7edge (Nougat )

I own Samsung galaxy s7edge (nougat) and its been 2 days that my device started to auto pause in every media like Youtube, Power amp and Google play music, even the default Samsung keypad statred to behave abnormally....plz give a solution..i turned off power saver mode..turned off smart stay..even reset my setting..did all possible solution mentioned in other posts