you could try the Activity Starter Extension by pepemont, which additionally is able to pass boolean and long values
try to set the Action to WIRELESS_POWER_SHARING_ENABLED
and set the parameter Extras to a list of lists with only one sublist having the tag enabled and the value B.true
My main problem is that I couldn't find any action command for Wireless PowerShare of S10.
Therefore, I tried to find it from log cat, but it was hard to infer exact action from log.