Regenerated
This commit is contained in:
+361
-361
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -3493,7 +3493,7 @@ Providing an media
|
||||
capacity=$(cat /sys/class/power_supply/BAT*/capacity)
|
||||
status=$(cat /sys/class/power_supply/BAT*/status)
|
||||
|
||||
if [ "$status" != "Charging" ] && [ "$capacity" -lt 85 ]; then
|
||||
if [ "$status" != "Charging" ] && [ "$capacity" -lt 15 ]; then
|
||||
echo " $capacity%"
|
||||
else
|
||||
echo ""
|
||||
|
||||
@@ -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 85 ]; then
|
||||
if [ "$status" != "Charging" ] && [ "$capacity" -lt 15 ]; then
|
||||
echo " $capacity%"
|
||||
else
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user