summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-09-22 18:21:00 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-22 18:21:00 +0000
commit7009760593d457902fed7d90fe924cf20f3d0604 (patch)
treef5ca82cd4e75e5d0e98ab9defb1387b828525d9b
parent5cdefc7b6fedac0b84bf78aa8d695a7d34c042b1 (diff)
parent147d5404f5958133c291cc26adb5a781d7ac2ea8 (diff)
downloadhardware_libhardware-7009760593d457902fed7d90fe924cf20f3d0604.zip
hardware_libhardware-7009760593d457902fed7d90fe924cf20f3d0604.tar.gz
hardware_libhardware-7009760593d457902fed7d90fe924cf20f3d0604.tar.bz2
am 147d5404: Define the data parameter for POWER_HINT_INTERACTION.
* commit '147d5404f5958133c291cc26adb5a781d7ac2ea8': Define the data parameter for POWER_HINT_INTERACTION.
-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
*