summaryrefslogtreecommitdiff
path: root/hosts/iroha/scripts/xbox-controller-battery
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-05-28 14:24:58 -0400
committerAndrew Opalach <andrew@akon.city> 2025-05-28 14:24:58 -0400
commita28487fe6fbac72c7b1a752acab42dcc6ab46476 (patch)
treec3b1b9b751dd5e96b4afc835decf14ce38fd35f8 /hosts/iroha/scripts/xbox-controller-battery
parent75ad6c3fcad1f19c4f4f5c345fbb43ce80d9c461 (diff)
downloaddotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.tar.gz
dotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.tar.bz2
dotfiles-a28487fe6fbac72c7b1a752acab42dcc6ab46476.zip
Post server fs corruption
Diffstat (limited to 'hosts/iroha/scripts/xbox-controller-battery')
-rwxr-xr-xhosts/iroha/scripts/xbox-controller-battery2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/iroha/scripts/xbox-controller-battery b/hosts/iroha/scripts/xbox-controller-battery
new file mode 100755
index 0000000..84913cc
--- /dev/null
+++ b/hosts/iroha/scripts/xbox-controller-battery
@@ -0,0 +1,2 @@
+#! /usr/bin/env sh
+cat /sys/class/power_supply/gip0.0/capacity_level