I am using the following intent filters for detecting power off for a device
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<action android:name="android.intent.action.QUICKBOOT_POWEROFF" />
</intent-filter>
I intend to send an sms through the receiver of the filters. The filter works well for some devices but in case of certain devices, the receiver does not receive a broadcast and in some other devices sms is not sent. How can this be possibly solved ?