If you want to charge him for it, I'd say take the value of the room at the best rate available and he owes you half but that would have to be agreed upon before the stay.
If it were me and it wasn't a good friend, I might ask them to do the same. If it were a close friend or family, I'd call it an act of love.