apm_queue_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_BATTERY
  • APM_POWER_STATUS_CHANGE
  • APM_USER_SUSPEND
  • APM_SYS_SUSPEND
  • APM_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