At night, I lock myself into a CPM, or continuous passive motion machine, and set the timer for 4 hours. I plop an ice pack on my hip, and go to sleep.
The CPM makes a whirring sound as it cranks my leg from 0 to x degrees - "x" started at 45 degrees, and my doctor has me going up by 5 degrees a night until I'm at 90. I do not recommend enjoying the plush comfort of the CPM machine in the summer, as its fake fur lining reaches about 180 degrees F by midnight. Luckily, my body temperature stays pretty average, as my groin is being concurrently frozen off by the direct application of ice.
When the machine turns off, I wake up. Then I start the long, complicated process of extricating my leg, finding my crutches in the dark, crawling/falling over my husband or my CPM machine (depending on which side of the bed I choose to get out of), and crashing into the bathroom to throw my melted icepack into the sink.
When I get back in bed, having completely ruined my husband's night, I roll onto my stomach for the 2 to 3 hours of recommended tummy time. I'm supposed to lie on my stomach to gently stretch the hip flexors.
It's so fun. You wouldn't believe the wonders my sleeping habits are doing for our marriage.