ひどい頭痛に悩んでいる。

English Translation

He said he was suffering from a bad headache.

“He said he was” is missing in the Japanese sentence.
The Japanese is most likely to be interpreted as “I am (currently) suffering from a bad headache.”