hid_hw_power(9)
β¨ NAME β¨
okay so this is the hid_hw_power(9) page from the Kernel API Manual, and hid_hw_power is literally the function that requests the underlying HW to go into the given power mode π
no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
int hid_hw_power (struct hid_device *hdev , int level );
π ARGUMENTS π
hdevβ the hid device π«Άlevelβ the requested power level, and it's one of thePM_HINT_*defines β¨
π¦ DESCRIPTION π¦
This function requests the underlying hardware to enter the requested power mode. That's it β it's giving "polite ask to the hardware" energy, and the hardware is meant to go into the mode you requested π periodt.
π SEE ALSO π
- Kernel file
./include/linux/hid.hβ yes, that one π HID quirks(9)struct hid_battery(9)struct hid_driver(9)struct hid_ll_driver(9)module_hid_driver(9)hid_device_io_start(9)hid_device_io_stop(9)hid_map_usage(9)hid_map_usage_clear(9)hid_parse(9)hid_hw_idle(9)hid_hw_may_wakeup(9)hid_hw_wait(9)hid_report_len(9)
that's the whole page, bestie π source/version is ./include/linux, dated October 2026, and the page id is hid_hw_power(9) β mwah, go request those power modes 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