Power Configuration
The power config options are: Power Saving, Shutdown after losing power, ADC Multiplier Override Wait Bluetooth Interval, Mesh Super Deep Sleep Timeout, Super Deep Sleep Interval, Light Sleep Interval and Minimum Wake Interval. Power config uses an admin message sending a Config.Power
protobuf.
Power settings are advanced configuration, most users should choose a role under Device Config to manage power for their device and should never need to touch any of these settings.
Power Config Valuesโ
Power Savingโ
If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in we should try to minimize power consumption as much as possible.
Shutdown after losing powerโ
Automatically shut down a device after a defined time period if power is lost.
ADC Multiplier Override Fixes issues on Heltec v2
โ
Ratio of voltage divider for battery pin e.g. 3.20 (R1=100k, R2=220k)
Overrides the ADC_MULTIPLIER defined in the firmware device variant file for battery voltage calculation.
Should be set to floating point value between 2 and 4
Wait Bluetooth Intervalโ
How long wait before turning off BLE in no Bluetooth states
0
for default of 1 minute
Mesh Super Deep Sleep Timeoutโ
While in Light Sleep if this value is exceeded we will lower into super deep sleep
or Super Deep Sleep Interval (default 1 year) or a button press
0
for default of two hours, MAXUINT for disabled
Super Deep Sleep Intervalโ
While in Light Sleep if Mesh Super Deep Sleep Timeout Seconds is exceeded we will lower into super deep sleep or this value (default 1 year) or a button press
0
for default of one year
Light Sleep Interval ESP32 Only Setting
โ
In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
0
for default of five minutes
Minimum Wake Intervalโ
While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no Bluetooth mode for this interval
0
for default of 10 seconds
Power Config Client Availabilityโ
- Android
- Apple
- CLI
- Web
Power Config options are available for Android.
- Open the Meshtastic App
- Navigate to: Vertical Ellipsis (3 dots top right) > Device Settings > Power Config
Power config is not available on Apple OS's.
All Power config options are available in the python CLI.
Setting | Acceptable Values | Default |
---|---|---|
power.is_power_saving | true , false | false |
power.on_battery_shutdown_after_secs | integer (seconds) | Default of 0 is off |
power.adc_multiplier_override | 2-4 (floating point value) | Default of 0 uses firmware values |
power.wait_bluetooth_secs | integer (seconds) | Default of 0 is 1 minute |
power.mesh_sds_timeout_secs | integer (seconds) | Default of 0 is 2 hours |
power.sds_secs | integer (seconds) | Default of 0 is 1 year |
power.ls_secs | integer (seconds) | Default of 0 is 1 hour |
power.min_wake_secs | integer (seconds) | Default of 0 is 10 seconds |
Because the device will reboot after each command is sent via CLI, it is recommended when setting multiple values in a config section that commands be chained together as one.
meshtastic --set power.is_power_saving true --set power.on_battery_shutdown_after_secs 120
meshtastic --set power.is_power_saving true
meshtastic --set power.is_power_saving false
meshtastic --set power.on_battery_shutdown_after_secs 120
meshtastic --set power.on_battery_shutdown_after_secs 0
meshtastic --set power.wait_bluetooth_secs 0
meshtastic --set power.wait_bluetooth_secs 120
meshtastic --set power.mesh_sds_timeout_secs 0
meshtastic --set power.mesh_sds_timeout_secs 120
// Disable using MAXUINT
meshtastic --set power.mesh_sds_timeout_secs 4294967295
meshtastic --set power.sds_secs 0
meshtastic --set power.sds_secs 120
meshtastic --set power.ls_secs 0
meshtastic --set power.ls_secs 120
meshtastic --set power.min_wake_secs 0
meshtastic --set power.min_wake_secs 120
All power config options are available in the Web UI.