summaryrefslogtreecommitdiff
path: root/app/include/zmk/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/battery.h')
-rw-r--r--app/include/zmk/battery.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/include/zmk/battery.h b/app/include/zmk/battery.h
new file mode 100644
index 0000000..f62219c
--- /dev/null
+++ b/app/include/zmk/battery.h
@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2021 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#pragma once
+
+uint8_t zmk_battery_state_of_charge();