Change-Id: Ic542d21e51bbd4f1ec73c96f4185ac68538958f1
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
if (latency != m_attributes_int.end())
set_max_batch_latency(m_attributes_int[SENSORD_ATTRIBUTE_MAX_BATCH_LATENCY]);
+ auto power = m_attributes_int.find(SENSORD_ATTRIBUTE_PAUSE_POLICY);
+ if (power != m_attributes_int.end())
+ set_attribute(SENSORD_ATTRIBUTE_PAUSE_POLICY, m_attributes_int[SENSORD_ATTRIBUTE_PAUSE_POLICY]);
+
_D("Restored listener[%d]", get_id());
}