multiple spurious window events logged on mac after updating to monterey 12.2
- [x] I am on the latest ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.
- OS name and version: macOS Monterey 12.2
- ActivityWatch version: v0.11.0
Describe the bug
After upgrading macOS to 12.2 yesterday, multiple short (~45-50s) events are constantly logged while the machine is inactive resulting in significant over-estimates of activity time. These are presumably due to changes in the way the OS is notifying of window events. The events are associated with an application, but never have a window name (so they are filterable after the fact).
To Reproduce
Expected behavior
No or few events while sleeping.
Documentation
Logs do not look significantly different before and after the change in behaviour.
Additional context
Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏
After some experimentation, this appears to be a change in Bluetooth wake behaviour; if I leave my mouse off, this no longer happens. Unfortunately macos no longer appears to have an option to prevent bt wake events.
This looks related: https://www.macrumors.com/2022/01/30/macos-12-2-bluetooth-battery-drain/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.