How to Disable WiFi

Federico, many thanks for the Hint, I tried it and works like a charm!

p.runShellCommand("wifi down"); //disconnect wifi to save energy

When I want to use the WiFi again is just a matter of sending:

p.runShellCommand("wifi up"); //connect wifi before transmitting

Savings of 30 mA !!!