apm_enable_power_management(9)
π apm_enable_power_management(9) π
okay so bestie, welcome to section 9 of the Kernel API Manual β this one's called apm_enable_power_management, and it's genuinely one of the shortest little icon pages ever, so we're gonna get through it together, no stress π«Ά
β¨ NAME β¨
apm_enable_power_management β the function that turns BIOS APM power management on (or off, she's versatile like that) π
πΈ SYNOPSIS πΈ
int apm_enable_power_management (int enable );
that's it. that's the whole signature. she's tiny but she's doing her job β¨
π ARGUMENTS π
enableβ literally just a yes/no situation, bestie. it's the "do we want this or not" switch. π₯
π¦ DESCRIPTION π¦
so what does she actually do? she enables or disables the APM BIOS power services. that's the whole vibe check. you pass in your yes/no and the BIOS power services get flipped accordingly. lowkey powerful for such a small function, ngl π
π SEE ALSO π
if you're the kind of person who clicks every link (respect, honestly), the kernel file lives here: ./arch/x86/kernel/apm_32.c β and here's the whole friend group of related pages, all of them, not skipping a single one π
apm_error(9)__apm_bios_call(9)apm_bios_call(9)__apm_bios_call_simple(9)apm_bios_call_simple(9)apm_driver_version(9)apm_get_event(9)set_power_state(9)set_system_power_state(9)apm_do_idle(9)apm_do_busy(9)apm_cpu_idle(9)apm_power_off(9)apm_get_power_status(9)apm_engage_power_management(9)apm_console_blank(9)
π real talk though β APM is old-school energy. it's still in the tree, so it still gets a manpage, and that's iconic of it honestly.
okay that's the page!! quick sign-off for the record: this one's sourced from ./arch/x86/kernel, dated October 2026, and it goes by the very cute full name apm_enable_power_management(9) π§ββοΈπ
bye bestie, go forth and power-manage responsibly βπ
π¦ 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