added min for input battery