#define LOCK_CPU_TIMEOUT_MAX (60*60*1000) /* milliseconds */
#define LOCK_CPU_PADDING_TIMEOUT (20*1000) /* milliseconds */
+#ifdef TIZEN_FEATURE_TRACKER
static guint off_lock_timeout;
static guint padding_timeout;
static int prev_count;
+#endif
static char *get_state_str(display_state_e state)
{
if (type == POWER_LOCK_CPU) {
ret = unlock_state(DISPLAY_STATE_SCREEN_OFF, PM_SLEEP_MARGIN);
- if (ret == 0 && off_lock_timeout > 0) {
+ if (ret == 0) {
remove_off_lock_timeout();
remove_padding_timeout();
}