Most hip-fractured elderly people with DM had abnormal sleep durations.
Normal sleep duration group had greater femoral muscle improvement.
Normal sleep duration group had better blood glucose control.
Those with higher physical activity levels had better physical function recovery.