1
Solved

phone.setSimPowerStateForSlot causing issues

Hi,

Don't know if it has been reported or not.
And i do hope i can explain the issue for you guys to understand.

I have a task where i disable my 2nd sim when i have a day off according a certain calendar entry.
I use the ADB Wifi command phone.setSimPowerStateForSlot (1.0) to disable it.
It does work well and my 2nd sim is disabled.
But here comes the issue, after i think aprox 12hr while the sim is disabled i can't reenable it anymore.
My phone (Samsung s20 fe 5g - non rooted) doesn't see any available 2nd sim anymore.
The setting in settings->connections->sim-card settings is greyed out and saying "No available sim card"

There isn't a issue before the 12hr expires.
Within those 12hr i can disable and enable the sim card as much as i like.
Don't know if it's Phone or a Tasker issues.
There for i wanted to report it and see if it's a common problem or new one.

I do think but haven't been paying attension to it it happens when the clock hits 0:00hr (midnight)
To see if thats true i will temporally create a task to enable the sim card 1 minute before midnight and then enable it again 1 minute after midnight.

Regards

Siewert

1 reply

Hi. It's not a Tasker issue because Tasker is simply using system functions to do that. How the phone reacts to them is not up to Tasker. Sorry!

Topic is closed for comments