docs: fix supported platforms of powerMonitor (#25212)

This commit is contained in:
Cheng Zhao
2020-09-01 00:35:19 +09:00
committed by GitHub
parent 4ea6af64a7
commit 615dce3275

View File

@@ -8,19 +8,19 @@ Process: [Main](../glossary.md#main-process)
The `powerMonitor` module emits the following events:
### Event: 'suspend' _Linux_ _Windows_
### Event: 'suspend' _macOS_ _Windows_
Emitted when the system is suspending.
### Event: 'resume' _Linux_ _Windows_
### Event: 'resume' _macOS_ _Windows_
Emitted when system is resuming.
### Event: 'on-ac' _Windows_
### Event: 'on-ac' _macOS_ _Windows_
Emitted when the system changes to AC power.
### Event: 'on-battery' _Windows_
### Event: 'on-battery' _macOS_ _Windows_
Emitted when system changes to battery power.