summaryrefslogtreecommitdiffstats
path: root/include/hardware/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/power.h')
-rw-r--r--include/hardware/power.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/hardware/power.h b/include/hardware/power.h
index d6a84ed..6c55061 100644
--- a/include/hardware/power.h
+++ b/include/hardware/power.h
@@ -39,10 +39,8 @@ __BEGIN_DECLS
*/
typedef enum {
- /*
- * VSYNC pulse request from SurfaceFlinger started or stopped.
- */
POWER_HINT_VSYNC = 0x00000001,
+ POWER_HINT_INTERACTION = 0x00000002,
} power_hint_t;
/**
@@ -103,6 +101,13 @@ typedef struct power_module {
* non-zero to indicate VSYNC pulse is now requested, or zero for
* VSYNC pulse no longer requested.
*
+ * POWER_HINT_INTERACTION
+ *
+ * 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.
+ *
* A particular platform may choose to ignore any hint.
*
* availability: version 0.2