The power source or generator of the RV is designed in a way that an RV AC can be used all night.