summaryrefslogtreecommitdiff
path: root/app/drivers/sensor/battery/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/sensor/battery/Kconfig')
-rw-r--r--app/drivers/sensor/battery/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/drivers/sensor/battery/Kconfig b/app/drivers/sensor/battery/Kconfig
new file mode 100644
index 0000000..fd8cd26
--- /dev/null
+++ b/app/drivers/sensor/battery/Kconfig
@@ -0,0 +1,21 @@
+# Copyright (c) 2020-2021 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+config ZMK_BATTERY
+ bool "ZMK battery monitoring"
+ help
+ Enable battery monitoring
+
+config ZMK_BATTERY_NRF_VDDH
+ bool "ZMK nRF VDDH battery monitoring"
+ select ADC
+ select ZMK_BATTERY
+ help
+ Enable ZMK nRF VDDH voltage driver for battery monitoring.
+
+config ZMK_BATTERY_VOLTAGE_DIVIDER
+ bool "ZMK battery voltage divider"
+ select ADC
+ select ZMK_BATTERY
+ help
+ Enable ZMK battery voltage divider driver for battery monitoring.