Is it okay if baby only breastfeeds for a very short time?

My daughter is 5 weeks old and the most I can usually get her to eat at once is about 7 minutes. She always falls asleep! Sometimes if I change her right after she falls asleep she will wake up and eat for about 5-7 more minutes, but that’s it. Is that ok? Also when I wake her back up to eat more should I be keeping her on the same side or switching sides?