Half a mind

What's the meaning of 'has half a mind'?

If you have a mind to do something, you mean to do it. If you have only half a mind to do something, you only half mean to do it.