summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-09-16 23:28:19 +0100
committerMichael Wright <michaelwr@google.com>2015-09-16 23:36:12 +0100
commit147d5404f5958133c291cc26adb5a781d7ac2ea8 (patch)
tree46dab32cb03365a5ee5ad9c25eb2fa1e31eb7f2c
parent95f017990ba70ba3ed22eac4f61c4f02cfc79045 (diff)
downloadhardware_libhardware-147d5404f5958133c291cc26adb5a781d7ac2ea8.tar.gz
hardware_libhardware-147d5404f5958133c291cc26adb5a781d7ac2ea8.tar.bz2
hardware_libhardware-147d5404f5958133c291cc26adb5a781d7ac2ea8.zip
Define the data parameter for POWER_HINT_INTERACTION.
Change-Id: I86857c1ea92082de109c612080e47c9c9835726b
-rw-r--r--include/hardware/power.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/power.h b/include/hardware/power.h
index af7799e..10612f3 100644
--- a/include/hardware/power.h
+++ b/include/hardware/power.h
@@ -116,7 +116,8 @@ typedef struct power_module {
* User is interacting with the device, for example, touchscreen
* events are incoming. CPU and GPU load may be expected soon,
* and it may be appropriate to raise speeds of CPU, memory bus,
- * etc. The data parameter is unused.
+ * etc. The data parameter is the estimated length of the interaction
+ * in milliseconds, or 0 if unknown.
*
* POWER_HINT_LOW_POWER
*