Była w stanie jakoś zrobić sobie obiad. (Sentence Note)

Być w stanie = to be able (to), to be in a position (to), to be capable (of)

obiad is lunch, not dinner

My understanding is that it can mean either lunch or dinner, obiad - Tłumaczenie po angielsku - Słownik polsko-angielski Diki but basically it refers to the main meal of the day, either eaten in the middle of the day, or later on.