I agree with @jpetso.The state check should be handled within m_batteryController and let it send the signal storing the m_acAdapterState itself.
Akin to what BatteryController::onPropertiesChanged does.
I agree with @jpetso.The state check should be handled within m_batteryController and let it send the signal storing the m_acAdapterState itself.
Akin to what BatteryController::onPropertiesChanged does.