Cramp in bed is associated with stretching or lack of according to my physio. Try stretching before bed to see if it helps. Coincidentally I also woke up with cramp in my left calf today, unfortunatley its in a cast cos my fibula is broken, so just had to ride it out........