mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
b1c0f99bfb
Since ACPI power resources are going to be used more extensively on new hardware platforms, it becomes necessary for user space (powertop in particular) to observe some properties of those resources for diagnostics purposes. For this reason, expose the current status of each ACPI power resource to user space via sysfs by adding a new resource_in_use attribute to the sysfs directory representing the given power resource. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 lines
471 B
Text
12 lines
471 B
Text
What: /sys/devices/.../resource_in_use
|
|
Date: January 2013
|
|
Contact: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|
Description:
|
|
The /sys/devices/.../resource_in_use attribute is only present
|
|
for device objects representing ACPI power resources.
|
|
|
|
If present, it contains a number (0 or 1) representing the
|
|
current status of the given power resource (0 means that the
|
|
resource is not in use and therefore it has been turned off).
|
|
|
|
This attribute is read-only.
|