Regenerated
This commit is contained in:
1 parent
6cd1ae50d1
commit
efc4be85ed
3 files changed
+363
-363
No files matched your search
@@ -3,7 +3,7 @@
|
||||
capacity=$(cat /sys/class/power_supply/BAT*/capacity)
|
||||
status=$(cat /sys/class/power_supply/BAT*/status)
|
||||
|
||||
if [ "$status" != "Charging" ] && [ "$capacity" -lt 15 ]; then
|
||||
if [ "$status" != "Charging" ] && [ "$capacity" -lt 85 ]; then
|
||||
echo " $capacity%"
|
||||
else
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user