Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am using MacOS Catalina 10.15.3. I am having a problem with sleep mode, when I check by pmset -g, it is reported that the sleep mode sleep prevented by powerd, sharingd.
How can I fix this issue.
I was able to fix this problem by noticing that in system.log, sharingd seemed to be invoked by rapportd. And rapportd is used by HomeKit. So I went into System Preferences, iCloud settings, and unchecked "Home". This cleared it up.