Acustic 'empty battery warning' ?

Timo Juhani Lindfors timo.lindfors at iki.fi
Wed Dec 17 13:16:25 CET 2008


Lothar Behrens <lothar.behrens at lollisoft.de> writes:
> Is there a way to do this ?

while true; do
  if [ `capacity` -lt 10 ]; then
      alert
  fi
  sleep 120
done

> Is there also a way when the device is in suspend mode, to wakeup and
> do this warning ?

I'm guessing yes but I do not know the PMU stuff well.





More information about the community mailing list