Yes bro,It could be a battery problem or it could be a small component inside motherboard too which is malfunctioning when device heats up a bit. Service center guys say it's motherboard as they can neither diagnose the small parts inside the motherboard nor repair them. Mobile turned on twice till now, before going back to the original state. If it's a motherboard problem, it should not turn on.
but unfortunate thing it's very difficult to check battery.
i too afraid of my s7 Edge now after knowing you problem , if something happen, we cannot fix it.
i read somewhere, for charging port replacement also, we have to pay full price of Display too.
Samsung must come with a solution for year old mobile problems