The iPhone 4 has less real estate, so far fewer pixels, so less graphics processing required. Also less energy required for the same brightness. Also the case doesn’t have to be proportionally thicker, so the extra thickness is entirely for battery.
I’d be surprised if an iPhone 4 based on new power-sipping technology wasn’t within a few percent of the web browsing/movie watching time of the iPhone 8 or similar.
I’d be surprised if an iPhone 4 based on new power-sipping technology wasn’t within a few percent of the web browsing/movie watching time of the iPhone 8 or similar.