2023-04-14 22:39:52 +02:00
|
|
|
# Copyright 2023 Google LLC
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Keep this Kconfig separate from the fuel_gauge/sbs_gauge Kconfig so it may be shared with the
|
|
|
|
# sensor/sbs_gauge Kconfig.
|
|
|
|
|
|
|
|
config EMUL_SBS_GAUGE
|
|
|
|
bool "Emulate an SBS 1.1 compliant smart battery fuel gauge"
|
2023-04-14 23:38:56 +02:00
|
|
|
default y
|
2023-04-14 22:39:52 +02:00
|
|
|
depends on EMUL
|
2023-04-14 23:38:56 +02:00
|
|
|
depends on SBS_GAUGE_NEW_API || SBS_GAUGE
|
2023-04-14 22:39:52 +02:00
|
|
|
help
|
|
|
|
It provides readings which follow a simple sequence, thus allowing
|
|
|
|
test code to check that things are working as expected.
|