Though Charles agreed, he had no intention of obeying
Intention means that you have the idea to do something, or a course which you want to follow:
Jane broke the plate which she was washing, but her intention was good.
It’s my intention to go to the moon some day.
Attention is to concentrate on something, or to be aware of something.
If you pay attention in school, you will learn a lot.
The noise in the corner caught my attention.
Student or Learner