The treasure finder works best when fully charged (100%).
Each additional battle will make the meter turn redder. The redder the meter is, the higher the chances of finding a rare or legendary treasure to the point that it's guaranteed to get one.