27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Power</strong> Source <strong>and</strong> <strong>Power</strong> Meter Devices<br />

0x00000003 – Failure to set trip points due to unknown hardware error<br />

0x00000004 – 0xFFFFFFFF - Reserved<br />

10.4.3 _PMM (<strong>Power</strong> Meter Measurement)<br />

This object returns the latest measurement reading from the power meter device. The value returned<br />

represents real power (i.e. power factor is included in the value). In most cases this is a rolling<br />

average value that is computed by the firmware over an averaging interval. On systems where this<br />

interval can be configured, the _PAI object should be present under the power meter device (see<br />

Section 10.4.4).<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer is returned to represent the latest measurement reading from the power meter device.<br />

This value should be in the unit specified in the power meter capabilities (typically in milliwatts),<br />

<strong>and</strong> is required to be the RMS value if the power meter is measuring in AC. If an error occurs while<br />

obtaining the meter reading or if the value is not available then an Integer with all bits set is returned.<br />

10.4.4 _PAI (<strong>Power</strong> Averaging Interval)<br />

This object sets the averaging interval used by the power meter. The averaging interval is the total<br />

time the power meter will take instantaneous measurement samples for, before averaging them to<br />

produce the average power measurement as returned by _PMM. If the platform changes the<br />

averaging interval independently from OSPM, the platform must issue a Notify(power_meter, 0x84)<br />

to indicate the change to the OSPM. Upon receiving the notification, OSPM evaluates the _GAI<br />

object to read the new averaging interval.<br />

Arguments: (1)<br />

Arg0 – An Integer that represents the desired value OSPM chose to be the power averaging interval,<br />

in milliseconds. This value needs to be within the minimum <strong>and</strong> maximum averaging interval as<br />

specified by _PMC. Otherwise, a failure result code is returned.<br />

Return Value:<br />

An Integer containing the status of the operation:<br />

0x00000000 – Success<br />

0x00000001 – Failure to set power averaging interval because it is out of range<br />

0x00000002 – Failure to set power averaging interval due to hardware timeout<br />

0x00000003 – Failure to set power averaging interval due to unknown hardware error<br />

0x00000004 – 0xFFFFFFFF - Reserved<br />

10.4.5 _GAI (Get Averaging Interval)<br />

This object gets the averaging interval used by the power meter. The averaging interval is the total<br />

time the power meter will take instantaneous measurement samples for, before averaging them to<br />

produce the average power measurement as returned by _PMM. If the platform changes the<br />

Version 6.0 589

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!