diff --git a/waybar/scripts/razer-battery.sh b/waybar/scripts/razer-battery.sh
new file mode 100755
index 0000000..92bc65f
--- /dev/null
+++ b/waybar/scripts/razer-battery.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+output=$(razer-cli --battery print 2>/dev/null)
+charge=$(echo "$output" | grep -oP 'charge:\s*\K\d+')
+charging=$(echo "$output" | grep -oP 'charging:\s*\K\w+')
+mouse_icon=""
+bolt_icon=""
+if [[ -z "$charge" ]]; then
+ echo '{"text": "'"$mouse_icon"'", "tooltip": "", "class": ""}'
+ exit 0
+fi
+if [[ "$charging" == "True" ]]; then
+ text="${mouse_icon} ${bolt_icon}"
+ class="charging"
+else
+ text="${mouse_icon}"
+ class="idle"
+fi
+echo "{\"text\": \"${text}\", \"tooltip\": \"\", \"percentage\": ${charge}, \"class\": \"${class}\"}"