summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--power/power.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/power/power.c b/power/power.c
index 54edcf2..ce78be5 100644
--- a/power/power.c
+++ b/power/power.c
@@ -427,7 +427,8 @@ static void samsung_power_hint(struct power_module *module,
int len;
/* Bail out if low-power mode is active */
- if (current_power_profile == PROFILE_POWER_SAVE && hint != POWER_HINT_SET_PROFILE) {
+ if (current_power_profile == PROFILE_POWER_SAVE && hint != POWER_HINT_LOW_POWER
+ && hint != POWER_HINT_SET_PROFILE) {
ALOGW("%s: PROFILE_POWER_SAVE active, ignoring hint %d", __func__, hint);
return;
}