codi can mean many things - lifting, raising, getting up, increasing, standing up, building, etc etc - depending on the context. It is also used in many idioms. See its entry in gweiadur.com.
'To wake up' is usually dihuno or deffro.
In this example Duo seems to mean 'getting out of bed' or 'standing up', perhaps.
Just a small point but I come from Hampshire originally and people don't really say "I rose" in english. We would say I got up but there is no option for this in the choice.