Your husband's acute condition of discoloured legs with swelling are suggestive of infection and/or obstruction in the blood flow to the legs. Please do not delay seeing a GP as this might lead to a bigger problem. As of now the CPAP might not be able to help him better due to the infection and hence the restlessness
. It is very common for sleep apnea
patients to feel sleepy during day time as they do not get quality sleep during night hours. Please give attention to the swollen and discoloured legs first. If any of the doctors you rely on can do bariatric surgery
on him then the obesity problem would certainly be addressed and that will solve other problems like sleep apnea, getting blood clots/ obstruction in feet etc. Wish you all the best in taking care of your huband.