SolarOS 4.6.8 manual · job
batmon
Battery monitor. It periodically samples battery voltage, maintains a smoothed trend, estimates power state, and can request light sleep when the configured minimum voltage is reached.
Usage:
job start batmon [interval-sec]
job stop batmon
job status batmon
Defaults:
| Setting | Value |
|---|---|
| Interval | 60 seconds |
Battery limits are configured with the battery shell command:
battery capacity <mAh>
battery min_voltage <volts>
battery max_voltage <volts>
Notes:
- Discharging trend means battery power.
- Charging trend means external power.
- Voltage above
max_voltageis a fast external-power shortcut. - Three consecutive samples at or below
min_voltagewhile on battery request
light sleep.
Example:
job start batmon 60