I had the same restart issues on two LG G3s.
The first unit started to restart loop almost out of the box. I suspected the battery since the boot loop stopped when connected to charger. I changed the battery from the other unit, which was OK at that time.
The issue followed the battery. So...