A fruit coating made from kitchen ingredients harvests electricity from humid air to power sensors while suppressing bacteria and extending shelf life up to 3.4 times.