From 404b41cbd4f26325c1b344beeb60c6b54b53aca5 Mon Sep 17 00:00:00 2001 From: Stricted Date: Fri, 7 Sep 2018 01:16:30 +0200 Subject: [PATCH] power: Add Lineage power hints Change-Id: I3365592d4c54444dcff3b6daa1c383273f2aa3c9 --- power/power.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/power/power.c b/power/power.c index 85aa284d..f9b268c1 100644 --- a/power/power.c +++ b/power/power.c @@ -72,6 +72,10 @@ enum power_profile_e { static enum power_profile_e current_power_profile = PROFILE_BALANCED; +// Custom Lineage hints +const static power_hint_t POWER_HINT_CPU_BOOST = (power_hint_t)0x00000110; +const static power_hint_t POWER_HINT_SET_PROFILE = (power_hint_t)0x00000111; + /********************************************************** *** HELPER FUNCTIONS **********************************************************/