Power Management
This application note demonstrates how to optimize power consumption.
See System, Power Management for an overview of power management options.
Setting Powersave Mode
The main variables that control power usage are:
- MCU powersave: system.powersave.mode
- Wi-Fi powersave: wlan.powersave.mode
For apps that require moderate throughput use:
set system.powersave.mode 1
set wlan.powersave.mode 2
This reduces WLAN power consumption to near minimum for WLAN clients.
For a module using the WLAN softap, there are no powersave options, since the AP must be awake at all times.
Other Power Management Options
Disable WLAN RSSI Averaging
set wlan.rssi_average 0
See the wlan.rssi_average variable.
Disable Periodic Broadcasting
set broadcast.interval 0
See the broadcast.interval variable.
Disable LED Indicators
set system.indicator.gpio softap -1
set system.indicator.gpio wlan -1
set system.indicator.gpio network -1
See the system.indicator.gpio variable.
Reduce RF Transmit Power
This strategy lowers the radio range of the module, but may save considerable power for transmit intensive applications.
set wlan.tx_power 10
See wlan.tx_power
Adjust Bus Stream Buffering
Keep the bus.stream.flush_count set to the default of 1460.
Other settings depend on whether, in your application, data is streamed continuously, or there are delays between packets.
If data is continuously streaming, set the
bus.stream.flush_time
to
0
.
set bus.stream.flush_time 0
If there are delays between packets, set the bus.stream.flush_time_reset to true.
set bus.stream.flush_time_reset 1
See the bus.stream.flush_time_reset variable.
Supporting Gecko OS Versions
- Gecko OS 4
Change Log
Modified | Changes |
---|---|
2019-01-01 | Created |