This doesn't actually matter for the input data given, but it ensures we get the right error when the battery list is too short, instead of unwrapping.