]> git.armaanb.net Git - bin.git/commitdiff
add time to full
authorArmaan Bhojwani <code@armaanb.net>
Fri, 18 Dec 2020 16:36:58 +0000 (11:36 -0500)
committerArmaan Bhojwani <code@armaanb.net>
Fri, 18 Dec 2020 16:36:58 +0000 (11:36 -0500)
status

diff --git a/status b/status
index bfc4ba341897beed83a522a2d1c643afc2cee113..9154162fd7b27ef8e2a218ec4c5e60fd92715023 100755 (executable)
--- a/status
+++ b/status
@@ -11,7 +11,8 @@ function power_set() {
     echo " battery,"
     echo "$(upower -d | grep "time to empty" | tail -c 15) remaining"
   else
-    echo " battery"
+    echo " battery,"
+    echo "$(upower -d | grep "time to full" | tail -c 15) until charged"
   fi
 }