OSDN Git Service

Define the data parameter for POWER_HINT_INTERACTION.
authorMichael Wright <michaelwr@google.com>
Wed, 16 Sep 2015 22:28:19 +0000 (23:28 +0100)
committerMichael Wright <michaelwr@google.com>
Wed, 16 Sep 2015 22:36:12 +0000 (23:36 +0100)
Change-Id: I86857c1ea92082de109c612080e47c9c9835726b

include/hardware/power.h

index af7799e..10612f3 100644 (file)
@@ -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
      *