iPhone: What is `accountsd` and why is it using 80% CPU?

I just got a new iPhone 6 for my SO and noticed that it is quite toasty to handle with the battery draining quite fast. It has been 24 hours since I first set it up. I plugged it into Instruments and loaded the Activity Monitor and noticed that accountsd is chewing through 80% of the CPU:

enter image description here

What is accountsd on iOS and why is it chewing up so much CPU?


Solution 1:

Accountsd and cloudd manage iCloud. There's an insanely annoying bug which lots of people have where a sign into icloud password prompt comes up every few seconds and you can't sign out of find my phone.