Merge pull request #599 from gedankenexperimenter/doc/host-sleep-delay

HostPowerManagement: add documentation about sleep delay on macOS
pull/601/head
Gergely Nagy 6 years ago committed by GitHub
commit ae369aa49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,3 +45,12 @@ Starting from the [example][plugin:example] is the recommended way of getting
started with the plugin. started with the plugin.
[plugin:example]: ../../examples/Features/HostPowerManagement/HostPowerManagement.ino [plugin:example]: ../../examples/Features/HostPowerManagement/HostPowerManagement.ino
## Caveats
On some systems, there can be a long delay between suspending/sleeping the host and the
firmware responding to it and calling `hostPowerManagementEventHandler()`. In particular,
on macOS, it can take 30 seconds or more after invoking "sleep" mode on the host before
the keyboard responds. One user reports that it can take more than a minute, so if this
plugin doesn't appear to be working, please wait a few minutes and check again.

Loading…
Cancel
Save