I feel useless

My daughter has very very mild jaundice and I've been told by the pediatrician that she needs to breastfeed every two hours now. Problem is is that she doesn't wake up for anything once she's asleep. I'm starting to stress about tonight because she has a bad habit of falling asleep while eating and getting only five minutes in on just one side rather than ten on both. I feel like I'm failing her by not being able to keep her awake or being able to wake her up to eat and getting her only five minutes of food when she is awake. I don't know what I'm going to do and I'm already wanting to cry because I feel so useless.