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>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

Bits defined in Capabilities DWORD2 provide information regarding OS supported features.<br />

Contents in DWORD2 are passed one-way; the OS will disregard the corresponding bits of<br />

DWORD2 in the Return Code.<br />

10.2.2.4 _BMA (Battery Measurement Averaging Interval)<br />

This object is used to set the averaging interval of the battery capacity measurement, in milliseconds.<br />

The Battery Measurement Averaging Interval is the length of time within which the battery averages<br />

the capacity measurements specified in _BST, such as remaining capacity <strong>and</strong> present rate.<br />

The OSPM may read the Max Average Interval <strong>and</strong> Min Average Interval with _BIX during boot<br />

time, <strong>and</strong> set a specific average interval within the range with _BMA.<br />

Arguments: (1)<br />

Arg0 – AveragingInterval (Integer(DWORD)) the averaging interval of battery capacity<br />

measurement:<br />

0x00000001 – 0xFFFFFFFF (in units of millisecond)<br />

Return Value:<br />

An Integer (DWORD) containing a result code as follows:<br />

0x00000000 – Success.<br />

0x00000001 – Failure to set Battery Measurement Averaging Interval because it is out of the<br />

battery’s measurement capability.<br />

0x00000002 – 0xFFFFFFFF – Reserved.<br />

10.2.2.5 _BMS (Battery Measurement Sampling Time)<br />

This object is used to set the sampling time of the battery capacity measurement, in milliseconds.<br />

The Sampling Time is the duration between two consecutive measurements of the battery’s<br />

capacities specified in _BST, such as present rate <strong>and</strong> remaining capacity. If the OSPM makes two<br />

succeeding readings through _BST beyond the duration, two different results will be returned.<br />

The OSPM may read the Max Sampling Time <strong>and</strong> Min Sampling Time with _BIX during boot time,<br />

<strong>and</strong> set a specific sampling time within the range with _BMS.<br />

Arguments: (1)<br />

Arg0 – SamplingTime (Integer(DWORD)) the sampling time of battery capacity measurement:<br />

0x00000001 – 0xFFFFFFFF (in units of millisecond)<br />

Return Value:<br />

An Integer (DWORD) containing a result code as follows:<br />

0x00000000 – Success.<br />

0x00000001 – Failure to set Battery Measurement Sampling Time because it is out of the battery’s<br />

measurement capability.<br />

0x00000002 – 0xFFFFFFFF – Reserved.<br />

576 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!