In the same way, they hibernate by going into torpor, they can do the same thing on a very short-term basis through the summer - if it is wet and windy and there is no food then they just shut down their body temperature and they just sleep it out.
BBC: Yorkshire bat colonies 'cohabit all year'