#!/bin/bash # batt-led - change power button light depending on battery # blink on $WARN% capacity WARN=7 led() { # 0 = big power button light echo 0 $1 >/proc/acpi/ibm/led } while sleep 3; do if [[ $(