I'm guessing it boosts your health recovery rate and/or your energy recovery rate, hence the reason for not being able to change clothes while sleeping now.
you have about 5% chance per 30min of work
so for 10hours of working one should get at least one object. In reality it is a lot less however. But with some praying... who knows
only the onion may show us the right way