Configurations

Asset Tracker Template

tags
Asset Tracker Template

The following Kconfig options control this module’s behavior:

  • CONFIG_APP_POWER: Enables the Power module.

  • CONFIG_APP_POWER_IDLE_CURRENT_NA: Idle current in nanoamperes used by the fuel gauge for battery life estimation when the modem is in sleep and the module is in STATE_IDLE.

  • CONFIG_APP_POWER_SAMPLE_INTERVAL_MS: Interval in milliseconds between periodic fuel gauge samples while in STATE_ACTIVE.

  • CONFIG_APP_POWER_THREAD_STACK_SIZE: Size of the Power module’s thread stack.

  • CONFIG_APP_POWER_WATCHDOG_TIMEOUT_SECONDS: Defines the watchdog timeout for the module. Must be larger than the message processing timeout.

  • CONFIG_APP_POWER_MSG_PROCESSING_TIMEOUT_SECONDS: Maximum time spent processing a single message.

See the Kconfig.power file in the module's directory for more details on the available Kconfig options.