Lothar Behrens <lothar.behr...@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.


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to