docs: fix powerMonitor event types (#45518)
* fix: powerMonitor event types * fix: thermal-state-change missing Returns
This commit is contained in:
		
					parent
					
						
							
								4085185e2d
							
						
					
				
			
			
				commit
				
					
						e4cd162433
					
				
			
		
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -26,7 +26,10 @@ Emitted when system changes to battery power.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Event: 'thermal-state-change' _macOS_
 | 
					### Event: 'thermal-state-change' _macOS_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* `state` string - The system's new thermal state. Can be `unknown`, `nominal`, `fair`, `serious`, `critical`.
 | 
					Returns:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* `details` Event\<\>
 | 
				
			||||||
 | 
					  * `state` string - The system's new thermal state. Can be `unknown`, `nominal`, `fair`, `serious`, `critical`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Emitted when the thermal state of the system changes. Notification of a change
 | 
					Emitted when the thermal state of the system changes. Notification of a change
 | 
				
			||||||
in the thermal status of the system, such as entering a critical temperature
 | 
					in the thermal status of the system, such as entering a critical temperature
 | 
				
			||||||
| 
						 | 
					@ -44,7 +47,8 @@ See https://developer.apple.com/library/archive/documentation/Performance/Concep
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Returns:
 | 
					Returns:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* `limit` number - The operating system's advertised speed limit for CPUs, in percent.
 | 
					* `details` Event\<\>
 | 
				
			||||||
 | 
					  * `limit` number - The operating system's advertised speed limit for CPUs, in percent.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Notification of a change in the operating system's advertised speed limit for
 | 
					Notification of a change in the operating system's advertised speed limit for
 | 
				
			||||||
CPUs, in percent. Values below 100 indicate that the system is impairing
 | 
					CPUs, in percent. Values below 100 indicate that the system is impairing
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue