So, unfortunately what you're seeing is a bug in the monitor-ofono script, as it doesn't appear to listen for and output a message when the SimManager 'Present' property changes.
That said, I just verified that on Krillin ( rtm #30 ), the 'Present' property does change from 1 to 0, if the SIM associated with the particular modem instance ( /ril_0 == SIM1/top slot, /ril_1 == SIM2/bottom slot ).
I'll try to fix monitor-ofono, and will attach a new version to the bug that you can try.
Thanks for the details Jussi.
So, unfortunately what you're seeing is a bug in the monitor-ofono script, as it doesn't appear to listen for and output a message when the SimManager 'Present' property changes.
That said, I just verified that on Krillin ( rtm #30 ), the 'Present' property does change from 1 to 0, if the SIM associated with the particular modem instance ( /ril_0 == SIM1/top slot, /ril_1 == SIM2/bottom slot ).
I'll try to fix monitor-ofono, and will attach a new version to the bug that you can try.