summaryrefslogtreecommitdiff
path: root/app/include/zmk/battery.h
diff options
context:
space:
mode:
authorJP Bonn <jp-keyword-bitbucket.d58644@jpbonn.com>2021-03-06 22:45:51 -0700
committerPete Johanson <peter@peterjohanson.com>2021-03-10 18:07:18 -0500
commitc643f1cd961307490a7edee29e4a68da85967a42 (patch)
treed32c8c41389cd4ce75c474aa314413d943796e86 /app/include/zmk/battery.h
parentb8a8ecd59daa9575ff027bd3afe379d04cd82d66 (diff)
added battery.h, last_state_of_charge to uint8_t
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();