€•]?Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ*/translations/zh_CN/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/zh_TW/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/it_IT/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ja_JP/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ko_KR/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/pt_BR/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/sp_SP/hwmon/acpi_power_meter”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒKernel driver power_meter”h]”hŒKernel driver power_meter”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒD/var/lib/git/docbuild/linux/Documentation/hwmon/acpi_power_meter.rst”h´KubhŒ paragraph”“”)”}”(hŒ+This driver talks to ACPI 4.0 power meters.”h]”hŒ+This driver talks to ACPI 4.0 power meters.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒSupported systems:”h]”hŒSupported systems:”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)”}”(hŒy* Any recent system with ACPI 4.0. Prefix: 'power_meter' Datasheet: https://uefi.org/specifications, section 10.4. ”h]”hŒ bullet_list”“”)”}”(hhh]”hŒ list_item”“”)”}”(hŒsAny recent system with ACPI 4.0. Prefix: 'power_meter' Datasheet: https://uefi.org/specifications, section 10.4. ”h]”(hÌ)”}”(hŒ Any recent system with ACPI 4.0.”h]”hŒ Any recent system with ACPI 4.0.”…””}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhöubhÌ)”}”(hŒPrefix: 'power_meter'”h]”hŒPrefix: ‘power_meter’”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhöubhÌ)”}”(hŒ9Datasheet: https://uefi.org/specifications, section 10.4.”h]”(hŒ Datasheet: ”…””}”(hjh²hh³Nh´NubhŒ reference”“”)”}”(hŒhttps://uefi.org/specifications”h]”hŒhttps://uefi.org/specifications”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j"uh1jhjubhŒ, section 10.4.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhöubeh}”(h]”h ]”h"]”h$]”h&]”uh1hôhhñubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1hïh³hÊh´Khhëubah}”(h]”h ]”h"]”h$]”h&]”uh1héh³hÊh´Khh·h²hubhÌ)”}”(hŒAuthor: Darrick J. Wong”h]”hŒAuthor: Darrick J. Wong”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒ Description”h]”hŒ Description”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj[h²hh³hÊh´KubhÌ)”}”(hX¥This driver implements sensor reading support for the power meters exposed in the ACPI 4.0 spec (Chapter 10.4). These devices have a simple set of features--a power meter that returns average power use over a configurable interval, an optional capping mechanism, and a couple of trip points. The sysfs interface conforms with the specification outlined in the "Power" section of Documentation/hwmon/sysfs-interface.rst.”h]”hX©This driver implements sensor reading support for the power meters exposed in the ACPI 4.0 spec (Chapter 10.4). These devices have a simple set of features--a power meter that returns average power use over a configurable interval, an optional capping mechanism, and a couple of trip points. The sysfs interface conforms with the specification outlined in the “Power†section of Documentation/hwmon/sysfs-interface.rst.”…””}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj[h²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒSpecial Features”h]”hŒSpecial Features”…””}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj‚h²hh³hÊh´KubhÌ)”}”(hXMThe `power[1-*]_is_battery` knob indicates if the power supply is a battery. Both `power[1-*]_average_{min,max}` must be set before the trip points will work. When both of them are set, an ACPI event will be broadcast on the ACPI netlink socket and a poll notification will be sent to the appropriate `power[1-*]_average` sysfs file.”h]”(hŒThe ”…””}”(hj“h²hh³Nh´NubhŒtitle_reference”“”)”}”(hŒ`power[1-*]_is_battery`”h]”hŒpower[1-*]_is_battery”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj“ubhŒ7 knob indicates if the power supply is a battery. Both ”…””}”(hj“h²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_average_{min,max}`”h]”hŒpower[1-*]_average_{min,max}”…””}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj“ubhŒ½ must be set before the trip points will work. When both of them are set, an ACPI event will be broadcast on the ACPI netlink socket and a poll notification will be sent to the appropriate ”…””}”(hj“h²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_average`”h]”hŒpower[1-*]_average”…””}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj“ubhŒ sysfs file.”…””}”(hj“h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj‚h²hubhÌ)”}”(hŒÐThe `power[1-*]_{model_number, serial_number, oem_info}` fields display arbitrary strings that ACPI provides with the meter. The measures/ directory contains symlinks to the devices that this meter measures.”h]”(hŒThe ”…””}”(hjÙh²hh³Nh´Nubjœ)”}”(hŒ4`power[1-*]_{model_number, serial_number, oem_info}`”h]”hŒ2power[1-*]_{model_number, serial_number, oem_info}”…””}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjÙubhŒ˜ fields display arbitrary strings that ACPI provides with the meter. The measures/ directory contains symlinks to the devices that this meter measures.”…””}”(hjÙh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K#hj‚h²hubhÌ)”}”(hX5Some computers have the ability to enforce a power cap in hardware. If this is the case, the `power[1-*]_cap` and related sysfs files will appear. For information on enabling the power cap feature, refer to the description of the "force_on_cap" option in the "Module Parameters" chapter. To use the power cap feature properly, you need to set appropriate value (in microWatts) to the `power[1-*]_cap` sysfs files. The value must be within the range between the minimum value at `power[1-]_cap_min` and the maximum value at `power[1-]_cap_max (both in microWatts)`.”h]”(hŒ^Some computers have the ability to enforce a power cap in hardware. If this is the case, the ”…””}”(hjùh²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_cap`”h]”hŒpower[1-*]_cap”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjùubhX and related sysfs files will appear. For information on enabling the power cap feature, refer to the description of the “force_on_cap†option in the “Module Parameters†chapter. To use the power cap feature properly, you need to set appropriate value (in microWatts) to the ”…””}”(hjùh²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_cap`”h]”hŒpower[1-*]_cap”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjùubhŒN sysfs files. The value must be within the range between the minimum value at ”…””}”(hjùh²hh³Nh´Nubjœ)”}”(hŒ`power[1-]_cap_min`”h]”hŒpower[1-]_cap_min”…””}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjùubhŒ and the maximum value at ”…””}”(hjùh²hh³Nh´Nubjœ)”}”(hŒ(`power[1-]_cap_max (both in microWatts)`”h]”hŒ&power[1-]_cap_max (both in microWatts)”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjùubhŒ.”…””}”(hjùh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K'hj‚h²hubhÌ)”}”(hXXWhen the average power consumption exceeds the cap, an ACPI event will be broadcast on the netlink event socket and a poll notification will be sent to the appropriate `power[1-*]_alarm` file to indicate that capping has begun, and the hardware has taken action to reduce power consumption. Most likely this will result in reduced performance.”h]”(hŒ¨When the average power consumption exceeds the cap, an ACPI event will be broadcast on the netlink event socket and a poll notification will be sent to the appropriate ”…””}”(hjOh²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_alarm`”h]”hŒpower[1-*]_alarm”…””}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hjOubhŒž file to indicate that capping has begun, and the hardware has taken action to reduce power consumption. Most likely this will result in reduced performance.”…””}”(hjOh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K0hj‚h²hubhÌ)”}”(hŒîThere are a few other ACPI notifications that can be sent by the firmware. In all cases the ACPI event will be broadcast on the ACPI netlink event socket as well as sent as a poll notification to a sysfs file. The events are as follows:”h]”hŒîThere are a few other ACPI notifications that can be sent by the firmware. In all cases the ACPI event will be broadcast on the ACPI netlink event socket as well as sent as a poll notification to a sysfs file. The events are as follows:”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K6hj‚h²hubhÌ)”}”(hŒŸ`power[1-*]_cap` will be notified if the firmware changes the power cap. `power[1-*]_interval` will be notified if the firmware changes the averaging interval.”h]”(jœ)”}”(hŒ`power[1-*]_cap`”h]”hŒpower[1-*]_cap”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj}ubhŒ9 will be notified if the firmware changes the power cap. ”…””}”(hj}h²hh³Nh´Nubjœ)”}”(hŒ`power[1-*]_interval`”h]”hŒpower[1-*]_interval”…””}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj}ubhŒA will be notified if the firmware changes the averaging interval.”…””}”(hj}h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K;hj‚h²hubeh}”(h]”Œspecial-features”ah ]”h"]”Œspecial features”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒModule Parameters”h]”hŒModule Parameters”…””}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj³h²hh³hÊh´K@ubhð)”}”(hhh]”hõ)”}”(hX—force_cap_on: bool Forcefully enable the power capping feature to specify the upper limit of the system's power consumption. By default, the driver's power capping feature is only enabled on IBM products. Therefore, on other systems that support power capping, you will need to use the option to enable it. Note: power capping is potentially unsafe feature. Please check the platform specifications to make sure that capping is supported before using this option.”h]”hŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hXÑforce_cap_on: bool Forcefully enable the power capping feature to specify the upper limit of the system's power consumption. By default, the driver's power capping feature is only enabled on IBM products. Therefore, on other systems that support power capping, you will need to use the option to enable it. Note: power capping is potentially unsafe feature. Please check the platform specifications to make sure that capping is supported before using this option.”h]”(hŒterm”“”)”}”(hŒforce_cap_on: bool”h]”hŒforce_cap_on: bool”…””}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÖh³hÊh´KLhjÒubhŒ definition”“”)”}”(hhh]”(hÌ)”}”(hŒiForcefully enable the power capping feature to specify the upper limit of the system's power consumption.”h]”hŒkForcefully enable the power capping feature to specify the upper limit of the system’s power consumption.”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KChjèubhÌ)”}”(hŒµBy default, the driver's power capping feature is only enabled on IBM products. Therefore, on other systems that support power capping, you will need to use the option to enable it.”h]”hŒ·By default, the driver’s power capping feature is only enabled on IBM products. Therefore, on other systems that support power capping, you will need to use the option to enable it.”…””}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KFhjèubhÌ)”}”(hŒœNote: power capping is potentially unsafe feature. Please check the platform specifications to make sure that capping is supported before using this option.”h]”hŒœNote: power capping is potentially unsafe feature. Please check the platform specifications to make sure that capping is supported before using this option.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KKhjèubeh}”(h]”h ]”h"]”h$]”h&]”uh1jæhjÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÐh³hÊh´KLhjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1jËhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1hôhjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”jEjFuh1hïh³hÊh´KBhj³h²hubeh}”(h]”Œmodule-parameters”ah ]”h"]”Œmodule parameters”ah$]”h&]”uh1hµhh·h²hh³hÊh´K@ubeh}”(h]”Œkernel-driver-power-meter”ah ]”h"]”Œkernel driver power_meter”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jfŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j@j=jj|j°j­j8j5uŒ nametypes”}”(j@‰j‰j°‰j8‰uh}”(j=h·j|j[j­j‚j5j³uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.