Add battery changed callbacks (#25207)
This commit is contained in:
		
							parent
							
								
									11c8b2841e
								
							
						
					
					
						commit
						5611a40064
					
				
					 3 changed files with 44 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -31,4 +31,16 @@ void battery_task(void);
 | 
			
		|||
 */
 | 
			
		||||
uint8_t battery_get_percent(void);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief user hook called when battery level changed.
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
void battery_percent_changed_user(uint8_t level);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief keyboard hook called when battery level changed.
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
void battery_percent_changed_kb(uint8_t level);
 | 
			
		||||
 | 
			
		||||
/** \} */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue