SolarOS

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:

SettingValue
Interval60 seconds

Battery limits are configured with the battery shell command:

battery capacity <mAh>
battery min_voltage <volts>
battery max_voltage <volts>

Notes:

Example:

job start batmon 60