I'm sure your S5 is long gone, but two weeks ago I found and fixed the problem on my Galaxy 5 with the Samsung flip cover. It would pop up the check battery cover message all the time so it was nearly impossible to use, and the phone would often restart. This only applies to a phone with the...