to do sth even though it involves effort or difficulty
take the trouble to do sth
to do sth even though it involves effort or difficulty
She didn't even take the trouble to find out how to spell my name.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition