To be at a loose end is to have nothing to do. It is primarily used in British English.
In the United States, there is a variant phrase to be at loose ends. This also means to have nothing to do, but it carries the connotation of nervousness, as in the situation not being able to do anything about a stressful situation. The British phrase suggests only boredom.