Skip to content

Commit db27151

Browse files
committed
fs/install: tell user the battery capacity
1 parent 4ee4974 commit db27151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ else
8888
BATCAPACITY="$(cat $BAT/capacity)"
8989

9090
if [ "$BATCAPACITY" -le 30 ]; then
91-
echo "Looks like your device is about to discharge"
91+
echo "Looks like your device is about to discharge, currently it sits at $BATCAPACITY %"
9292
echo "Bailing out for safety reasons"
9393
exit 1
9494
fi

0 commit comments

Comments
 (0)