android-rcs / rcsjta

RCS-e stack for Android with GSMA API
180 stars 74 forks source link

De-register not performed when battery reaches critical threshold #182

Closed MurthyVadapalli closed 8 years ago

MurthyVadapalli commented 8 years ago

When a battery level reaches to critical threshold, stack should perform a controlled de-register , with current implementation this is not inline with GSMA IOT test scope, test case id ID_RCS_2_2_1 Steps :

  1. Make sure RCS is connected and you can send chat messages when battery level is >5%
  2. Get the Battery to be <= 5% (Critical limit)
  3. Take logcat and pcap logs when battery level reaches 5% Expected: Controlled de-registration is performed Actual: Service goes from IMS_CONNECTED -> SERVICE_CONNECTED. It is still possible to send chat messages, but they will be queued due to IMS disconnection.

Ref : GSMA IOT test scope, test case id ID_RCS_2_2_1

MurthyVadapalli commented 8 years ago

Fix now part of tapi_1.5.1 branch . Link : https://github.com/android-rcs/rcsjta/commit/1fef840653d7c61e38785763eac9d1fcdda355a2