git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
+bin/psu
[nethome.git]
/
bin
/
psu
diff --git a/bin/psu
b/bin/psu
new file mode 100755
(executable)
index 0000000..
f5dc004
--- /dev/null
+++ b/
bin/psu
@@ -0,0
+1,2
@@
+#! /bin/bash
+acpi|&grep -Eq 'Battery 0: Not charging|Battery 0: Charging|No support for device type: power_supply'