27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACPI-Defined Devices <strong>and</strong> Device-Specific Objects<br />

Table 9-265 User Presence Detection Device<br />

Object<br />

_UPD<br />

_UPP<br />

Description<br />

The current user presence detection reading. [Required]<br />

User presence detection polling frequency in tenths of seconds. [Optional]<br />

9.16.1 _UPD (User Presence Detect)<br />

This control method returns the user presence detection reading, indicating whether or not the user is<br />

currently present from the perspective of this sensor. Three states are currently defined for UPD<br />

sensor readings: absent, present, <strong>and</strong> unknown, represented by the values 0x00, 0x01, <strong>and</strong> 0xFF<br />

respectively. The unknown state is used to convey that the sensor is currently unable to determine<br />

user presence due to some environmental or other transient factor. All other values are reserved.<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer containing the user presence code:<br />

0x00 –Absent: A user is not currently detected by this sensor.<br />

0x01 –Present: A user is currently detected by this sensor.<br />

0xFF –Unknown: The sensor is currently unable to determine if a user is present or absent.<br />

9.16.2 _UPP (User Presence Polling)<br />

This optional object evaluates to a recommended polling frequency (in tenths of seconds) for this<br />

user presence sensor. A value of zero – or the absence of this object when other UPD objects are<br />

defined – indicates that the OS does not need to poll the sensor in order to detect meaningful changes<br />

in user presence (the hardware is capable of generating asynchronous notifications).<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer containing the recommended polling frequency in tenths of seconds. A value of zero<br />

indicates that polling is not required.<br />

The use of polling is allowed but strongly discouraged by this specification. OEMs should design<br />

systems that asynchronously notify OSPM whenever a meaningful change in user presence occurs—<br />

relieving the OS of the overhead associated with polling.<br />

This value is specified as tenths of seconds. For example, a value of 10 would be used to indicate a 1<br />

second polling frequency. As this is a recommended value, OSPM will consider other factors when<br />

determining the actual polling frequency to use.<br />

Version 6.0 537

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

Saved successfully!

Ooh no, something went wrong!