From 06434a49350a669263b7bc45e5210b5f3e699ced Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Wed, 8 Mar 2023 12:39:51 -0500 Subject: [PATCH] init --- device_battery.sh | 186 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100755 device_battery.sh diff --git a/device_battery.sh b/device_battery.sh new file mode 100755 index 0000000..708e246 --- /dev/null +++ b/device_battery.sh @@ -0,0 +1,186 @@ +#!/bin/bash + +# parses upower -e and grabs device/battery level + +usage() { + cat <