My Samsung Galaxy S7 is more than a year old, but I've been experiencing this issue even before, even when it was still running Marshmallow. I use GSam to monitor the battery, I noticed that while charging, when the temperature goes 40°C or 104°F and above, charging stops. Even AccuBattery...