Merge "power: Modify power HAL hint for Interactive governor"
This commit is contained in:
commit
215e2ef021
|
@ -115,6 +115,8 @@ enum ONDEMAND_SAMPLING_DOWN_FACTOR_LVL {
|
|||
|
||||
enum INTERACTIVE_TIMER_RATE_LVL {
|
||||
TR_MS_500 = 0xECD,
|
||||
TR_MS_100 = 0xEF5,
|
||||
TR_MS_50 = 0xEFA,
|
||||
TR_MS_30 = 0xEFC,
|
||||
TR_MS_20 = 0xEFD,
|
||||
};
|
||||
|
|
|
@ -260,7 +260,7 @@ void set_interactive(struct power_module *module, int on)
|
|||
}
|
||||
} else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
|
||||
(strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
|
||||
int resource_values[] = {TR_MS_500, THREAD_MIGRATION_SYNC_OFF};
|
||||
int resource_values[] = {TR_MS_50, THREAD_MIGRATION_SYNC_OFF};
|
||||
|
||||
if (!display_hint_sent) {
|
||||
perform_hint_action(DISPLAY_STATE_HINT_ID,
|
||||
|
|
Loading…
Reference in New Issue