:orphan: .. title:: SENSOR_SHELL_BATTERY .. option:: CONFIG_SENSOR_SHELL_BATTERY *Enable sensor shell 'battery' command* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :option:`SHELL ` && \ :option:`SENSOR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/sensor/Kconfig:31`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``/Kconfig:62`` Menu path: (Top) → Device Drivers → Sensor Drivers .. code-block:: kconfig 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.)*