diff options
author | Patrick Simianer <p@simianer.de> | 2015-01-24 15:29:54 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-01-24 15:29:54 +0100 |
commit | b0878f91c4ab2a8a61c524084ac6db702971b426 (patch) | |
tree | 747b70537e0a000fbbe649d4e993693db81a6ff8 /avg_batt | |
parent | c60daeb4f53ab0f73991851d65dd51454c8fb064 (diff) |
average battery
Diffstat (limited to 'avg_batt')
-rwxr-xr-x | avg_batt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/avg_batt b/avg_batt new file mode 100755 index 0000000..e7afeee --- /dev/null +++ b/avg_batt @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "$(acpi | cut -d' ' -f4|sed 's|%||'|avg|round 0)%" + |