summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware_legacy/power.h')
-rw-r--r--include/hardware_legacy/power.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/hardware_legacy/power.h b/include/hardware_legacy/power.h
index 993bca5..b7cee43 100644
--- a/include/hardware_legacy/power.h
+++ b/include/hardware_legacy/power.h
@@ -33,19 +33,6 @@ enum {
int acquire_wake_lock(int lock, const char* id);
int release_wake_lock(const char* id);
-
-enum {
- KEYBOARD_LIGHT = 0x00000001,
- SCREEN_LIGHT = 0x00000002,
- BUTTON_LIGHT = 0x00000004,
-};
-
-// set the lights identified in mask to the brightness specified
-// in value. for example
-// set_light_brightness(SCREEN_LIGHT | KEYBOARD_LIGHT, 200);
-// sets the screen and keyboard lights to brightness 200
-int set_light_brightness(unsigned int mask, unsigned int brightness);
-
// true if you want the screen on, false if you want it off
int set_screen_state(int on);