The iPhone 17 Pro holds up well in battery tests, but some of its Android rivals still outlast it thanks to larger batteries and newer charging technology.