CONFIG_SENSOR_SHELL_BATTERY

Enable sensor shell ‘battery’ command

Type: bool

Help

This enables the ‘battery’ command which reports charging information in a convenient format. It makes use of a fuel gauge to read its information.

Direct dependencies

SHELL && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/drivers/sensor/Kconfig:31

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:62

Menu path: (Top) → Device Drivers → Sensor Drivers

config SENSOR_SHELL_BATTERY
    bool "Enable sensor shell 'battery' command"
    depends on SHELL && SENSOR
    help
      This enables the 'battery' command which reports charging information
      in a convenient format. It makes use of a fuel gauge to read its
      information.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)