
    Given the total number of sensor readings collected from a transit vehicle during its maintenance cycle, determine the largest batch size (which must be a power of 2) that can be used to process these readings without leaving any incomplete batches. The batch size should be less than or equal to the total number of readings to ensure efficient data processing for the predictive maintenance system.
    

    
def highest_Power_of_2(n):
    """
    Given the total number of sensor readings collected from a transit vehicle during its maintenance cycle, determine the largest batch size (which must be a power of 2) that can be used to process these readings without leaving any incomplete batches. The batch size should be less than or equal to the total number of readings to ensure efficient data processing for the predictive maintenance system.
    

    """
def highest_Power_of_2(n):
    """
    Given the total number of sensor readings collected from a transit vehicle during its maintenance cycle, determine the largest batch size (which must be a power of 2) that can be used to process these readings without leaving any incomplete batches. The batch size should be less than or equal to the total number of readings to ensure efficient data processing for the predictive maintenance system.
    

    """
    res = 0
    for i in range(n, 0, -1):
        if i & i - 1 == 0:
            res = i
            break
    return res