This commit is contained in:
2023-11-19 20:18:20 -07:00
parent 67b50e9133
commit 407ea45346
15 changed files with 5 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
envstat -s acpibat0:charge \
| sed 1,2d \
| cut -d ':' -f 2 \
| awk '{print $1}' \
| cut -d '.' -f 1