Posts

Post not yet marked as solved
0 Replies
252 Views
On some M1 MacBooks Air we noticed that our cloud sync application is woken up by PowerNap. This happens when the lid is closed and on WiFi, both when on battery and also when connected to power. The wake-up is quite short, and it is often the case that network traffic is still going when the machine goes back to sleep again. Is it somehow possible for the application to inform the OS that it should not be woken up during PowerNap wake-up (API/plist/launchd)? I know we could probably use NSActivityOptions to prevent sleep when a network connection is still open, but just staying asleep is probably better. Note: we're not using the FilesystemProviderExtension (yet), it is a "normal" application. Also, the application is started by launchd during login.
Posted
by erikjv.
Last updated
.
Post not yet marked as solved
3 Replies
759 Views
We have a Finder sync extension to show the sync status of files and folders. However, if the uses chooses to sync the Documents folder (or Desktop or Downloads), the badge is not shown. I verified that setBadgeIdentifier:forURL is called, just like for other files/folders. So is there something special we need to do, or are those folders somehow special for the Finder?
Posted
by erikjv.
Last updated
.