apm_queue_event(9)
π NAME π
okay so bestie, this page is apm_queue_event(9) from the Kernel API Manual, and the whole serve is: queue an APM event for kapmd. that's it, that's the function π«Άβ¨
πΈ SYNOPSIS πΈ
void apm_queue_event (apm_event_t event );
π ARGUMENTS π
eventβ an APM event. literally the event you're handing over π
π₯ DESCRIPTION π₯
Queue an APM event for kapmd to process and ultimately take the appropriate action. main character kapmd behavior, fr fr π
only a subset of events are handled:
APM_LOW_BATTERYAPM_POWER_STATUS_CHANGEAPM_USER_SUSPENDAPM_SYS_SUSPENDAPM_CRITICAL_SUSPEND
so yeah, those are the ones on the list β no cap πβ¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/char/apm-emulation.cβ go read, iykyk ππ
that's the tea, bestie π«Ά source/version: ./drivers/char Β· dated October 2026 β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms