meshtastic/website/docs/software/settings/power.md

111 lines
3.8 KiB
Markdown
Raw Normal View History

2021-04-27 14:12:18 -07:00
---
id: power
title: Power Settings
sidebar_label: Power
---
2021-05-05 09:18:44 -07:00
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2021-04-27 14:12:18 -07:00
## Overview
## Settings
2021-05-03 13:24:31 -07:00
| Setting | Acceptable Values | Default |
| :-----: | :---------------: | :-----: |
| charge_current | `MAUnset`, `MA100`, `MA190`, `MA280`, `MA360`, `MA450`, `MA550`, `MA630`, `MA700`, `MA780`, `MA880`, `MA960`, `MA1000`, `MA1080`, `MA1160`, `MA1240`, `MA1320`: | `MAUnset` |
2021-04-27 14:12:18 -07:00
| is_low_power | `true`, `false` | `false` | 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. YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case). |
2021-05-03 13:24:31 -07:00
| is_router | `true`, `false` | `false` |
| ls_secs | `integer` (seconds) | `0` (see note) |
| mesh_sds_timeout_secs | `integer` (seconds) | `0` |
| min_wake_secs | `integer` (seconds) | `0` |
2021-05-05 09:22:59 -07:00
| phone_sds_timeout_sec | `integer` (seconds) | `0` | Power management state machine option. See the [power page](other/power) for details. 0 for default of two hours, MAXUINT for disabled |
2021-05-03 13:24:31 -07:00
| phone_timeout_secs | `integer` (seconds) | `0` |
| screen_on_secs | `integer` (seconds) | `0` |
| sds_secs | `integer` (seconds) | `0` |
| send_owner_interval | `integer` (seconds) | `4` |
| wait_bluetooth_secs | `integer` (seconds) | `0` |
2021-04-27 14:12:18 -07:00
2021-05-03 13:15:01 -07:00
:::note
When you the following settings to `0` they assume the following defaults:
- `ls_secs`: 1 hour
- `mesh_sds_timeout_secs`: 2 hours
- `min_wake_secs`: 10 seconds
- `phone_sds_timeout_sec`: 2 hours
- `phone_timeout_secs`: 15 minutes
- `screen_on_secs`: 1 minute
- `sds_secs`: 1 year
- `wait_bluetooth_secs`: 1 minute
:::
### charge_current
Sets the current of the battery charger
### is_low_power
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. YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
### is_router
Are we operating as a router. Changes behavior in the following ways: The device will only sleep for critically low battery level (i.e. always tries to stay alive for the mesh) In the future routing decisions will preferentially route packets through nodes with this attribute (because assumed good line of sight)
### ls_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of 3600
2021-05-03 13:15:01 -07:00
### mesh_sds_timeout_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, MAXUINT for disabled
2021-05-03 13:15:01 -07:00
### min_wake_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power)for details. 0 for default of 10 seconds
2021-05-03 13:15:01 -07:00
### phone_sds_timeout_sec
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of two hours, MAXUINT for disabled
2021-05-03 13:15:01 -07:00
### phone_timeout_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of 15 minutes
2021-05-03 13:15:01 -07:00
### screen_on_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of one minute.
2021-05-03 13:15:01 -07:00
### sds_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of one year
2021-05-03 13:15:01 -07:00
### send_owner_interval
2021-05-03 13:24:31 -07:00
Send our owner info at least this often (also we always send once at boot - to rejoin the mesh)
2021-05-03 13:15:01 -07:00
### wait_bluetooth_secs
2021-05-05 09:22:59 -07:00
Power management state machine option. See the [power page](../other/power) for details. 0 for default of 1 minute
2021-05-03 13:15:01 -07:00
2021-05-05 09:18:44 -07:00
## Examples
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
<TabItem value="cli">
TODO
</TabItem>
<TabItem value="android">
TODO
</TabItem>
</Tabs>