As personification is when an inanimate object is given characteristics of something living, like "the sun smiled at me" The sentence does not do that, so it is hyperbole.
Answer: Personification Explanation: The author is not exaggerating the phrase he is simply giving the characteristics of a human to the bear by saying he was giving himself a manicure with the tree trunk