Chosen Solution

My S7 edge was discharging quickly now it won’t charge wired or wireless. what could be the cause?

Sounds like your battery was dying. I suggest replacing it. Galaxy S7 Edge Battery Samsung Galaxy S7 Edge Battery Replacement