Returns the imp’s current WiFi power-save setting
Device
Bool — true
if WiFi power-save mode is active, otherwise false
WiFi power-save mode is set by calling:
imp.setpowersave(true);
Power-save mode is off by default; this method will return false
.
For more information on power-save mode, see imp.setpowersave().
The impC001 does not currently implement imp.getpowersave().
This snippet uses imp.getpowersave() to confirm that the imp has indeed been set to power-save mode.