File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ enum tpacpi_hkey_event_t {
231
231
/* Thermal events */
232
232
TP_HKEY_EV_ALARM_BAT_HOT = 0x6011 , /* battery too hot */
233
233
TP_HKEY_EV_ALARM_BAT_XHOT = 0x6012 , /* battery critically hot */
234
+ TP_HKEY_EV_ALARM_BAT_LIM_CHANGE = 0x6013 , /* battery charge limit changed*/
234
235
TP_HKEY_EV_ALARM_SENSOR_HOT = 0x6021 , /* sensor too hot */
235
236
TP_HKEY_EV_ALARM_SENSOR_XHOT = 0x6022 , /* sensor critically hot */
236
237
TP_HKEY_EV_THM_TABLE_CHANGED = 0x6030 , /* windows; thermal table changed */
@@ -3777,6 +3778,10 @@ static bool hotkey_notify_6xxx(const u32 hkey, bool *send_acpi_ev)
3777
3778
pr_alert ("THERMAL EMERGENCY: battery is extremely hot!\n" );
3778
3779
/* recommended action: immediate sleep/hibernate */
3779
3780
break ;
3781
+ case TP_HKEY_EV_ALARM_BAT_LIM_CHANGE :
3782
+ pr_debug ("Battery Info: battery charge threshold changed\n" );
3783
+ /* User changed charging threshold. No action needed */
3784
+ return true;
3780
3785
case TP_HKEY_EV_ALARM_SENSOR_HOT :
3781
3786
pr_crit ("THERMAL ALARM: a sensor reports something is too hot!\n" );
3782
3787
/* recommended action: warn user through gui, that */
You can’t perform that action at this time.
0 commit comments